This is a concept I've posted before somewhere, but I don't remember when or where.
Address: 0x68C12C
Player: 11
Unit: 22004
Shows the currently selected unit. Special cases exist for special state units/group selection.
What I do is check the currently selected unit (that EUD) and then display a talking portrait for <bignumber> amount of time and set a DC. When it no longer has that unit ID selected, clear the DC and display a talking portrait for 0ms to clear it.
Problems:
- Units in groups will never show modified portraits (they show an ID of 245.)
- Buildings will not show modified portraits while building (they instead show an ID of 231 (building) or 232 (factory).)
- When using ranges of unit IDs there will be no static between building selections.
Screenshots!
Attachments:
TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB -
topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig -
topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!
Nice! I'll be using this in my AoS map for Destiny Archon and Mutilator and stuff that would otherwise have a normal portrait.
None.
Ironic, or best gift ever? I was just about to ask for this. LOL
--> Farty +2707
None.
Hehe, I think he posted this because I was asking him about it. Amirite farty?
And, couldn't you use a similar technique for custom quotes? If the EUD = the ID of the unit and a DC is set to 0, then select a sound at random, play it, set the DC to 1, and Mute Unit Speech. Then, if the EUD changes to not equal the ID, set the DC to 0 and Unmute Unit Speech.
None.
I made this concept a long time ago.. you just reminded me of it.
Eh. I think that'd be more difficult.
TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB -
topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig -
topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!
Could you change the EUD script to units? Like... I select a Templar, but I get a Queen picture.
None.
He said that it doesn't work if you select more than one unit at once. As you can only multiselect units, I'd assume so. And I can't think of any reason why it wouldn't.
None.
Just here for the activity... well not really
So, eh, Farty found out how Blizzard did it in the campaigns!
Too bad it's been like, 10 years.
guy lifting weight (animated smiley):
O-IC
OI-C
"Oh, I see it"
Uhm... What? Where did Blizzard do that? And they probably have a special trigger action defined.
None.
It was probably just coded into the actual engine.
None.
SDE, BWAPI owner, hacker.
- Units in groups will never show modified portraits (they show an ID of 245.)
- Buildings will not show modified portraits while building (they instead show an ID of 231 (building) or 232 (factory).)
Looks like it could possibly be the unit buttonset.
So, eh, Farty found out how Blizzard did it in the campaigns!
Blizzard uses a trigger action called "Transmission" which combines display text message, play WAV, minimap ping, and display talking portrait. Either that, or they use something called a "Hero unit" which may have a different unit portrait than the regular unit.
Could you change the EUD script to units? Like... I select a Templar, but I get a Queen picture.
You don't need to modify the EUD portion, just the condition it is being applied with(unit ID).
So, eh, Farty found out how Blizzard did it in the campaigns!
Too bad it's been like, 10 years.
This:
It was probably just coded into the actual engine.
Quote from name:TassadarZeratul
Uhm... What? Where did Blizzard do that? And they probably have a special trigger action defined.
Campaigns. I forgot which one, I just know it is for Protoss (Aldaris is replaced with Fenix.) And there is no trigger action for it.
- Units in groups will never show modified portraits (they show an ID of 245.)
- Buildings will not show modified portraits while building (they instead show an ID of 231 (building) or 232 (factory).)
Looks like it could possibly be the unit buttonset.
DoA told me something before before like 245 was the unit ID for a group.
TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB -
topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig -
topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!
Quote from name:TassadarZeratul
Nice!.
This
FARTY ROCKS N OWNS!
Farty ftw
Please report errors in the Staredit.Network forum.
Just to clairify, this won't cause memmory leaks right?
None.
Why would it? All it does is display a portrait (or stop displaying a portrait) when certain conditions are met.
If it did, then it wouldn't be because of this but a larger problem within SC.
TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB -
topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig -
topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!
Qwick Qwestion: This detects the unit type, not the specific unit, right?
None.
SDE, BWAPI owner, hacker.
Follow Q with a U, not a W. Just FYI.
Yes it detects the unit type, not the specific unit.
It can theoretically detect a specific unit, but lets not go there.
(I went there once, it wasn't pretty)
None.
But unit selection is fun!
I've done lots with it, it was easy. I used it for unit selection in a map.
TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB -
topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig -
topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!