EUD Know how...
May 1 2008, 6:49 pm
By: Brontobyte
Pages: < 1 2 3 4 5 >
 

May 5 2008, 10:59 am Brontobyte Post #41



Ok, so which one would I use? 128, or 256 = 1 HP? I just want it to be out of 240. Do I need to make the triggers go up to 240? Like instead of it displaying 100, I want it to be 240. 256x240=61440. Should this be my highest point? Is the EUD's only out of 100% or the actual HP of the given unit?



None.

May 5 2008, 4:04 pm rockz Post #42

ᴄʜᴇᴇsᴇ ɪᴛ!

128 = .5 hp, aka 256 = 1 hp

If you use zerg, it won't detect properly, you'll need to detect ranges. If you don't want to use .5 hp or anything like that, you'll need ranges as well.

Yes if the unit has 240, your max EUD will detect 256x240=61440. Why not just say that you have 240 life though? You could say 100%, and i suppose at (least) 60825 say 99%, or something like that.

The EUDs actually detect the life, not the % life. That's why you actually searched for the life value, no the percent life value. In my map, all the units had 100 life (to make it easy). If they had 1000, the EUDs would detect up until they had 100 life, then the triggers wouldn't work, since I don't have any triggers which detect over 100 life. Go ahead and try it in my map by setting the units to more than 100 life, then hurt them down into the double digits.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

May 5 2008, 4:05 pm Impeached Post #43



One o set of 00 red = you multiply the value you want by 1.
Two set of 00 red = you multiply the value you want (say 100) by 256.
And keep going by multples of 256.

EDIT: Rockz and I posted at same time. :stfu:

Post has been edited 1 time(s), last time on May 5 2008, 7:23 pm by Impeached.



None.

May 5 2008, 6:59 pm Brontobyte Post #44



I will try it later tonight, but I'm not entirely familiar with StarForge's trigger editor. Do I just save the text (from EUD trigg) into a .txt file and open it in StarForge or should I just write my own?



None.

May 5 2008, 7:56 pm rockz Post #45

ᴄʜᴇᴇsᴇ ɪᴛ!

So have you actually opened starforge's trigger editor? It's painfully obvious how you use it. Something like this goes in the condition:
Deaths(P1, AtLeast, 1, 1502);
It's almost identical to Trigedit, but has an auto-complete feature.

If you're not sure how to use it, make some triggers in staredit, open it up on starforge, and see how it works. If need be, you can just make all the triggers in staredit, open it up in starforge, and change the unit numbers from whatever you put into staredit to the correct extended unit.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

May 5 2008, 8:48 pm O)FaRTy1billion[MM] Post #46

👻 👾 👽 💪

You can copy+paste the text from EUDTrig into StarForge. They are in the proper format.



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!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

May 5 2008, 10:36 pm Brontobyte Post #47



Quote from O)FaRTy1billion[MM]
You can copy+paste the text from EUDTrig into StarForge. They are in the proper format.

Orly? No U? :bleh:

UPDATE: *Realizes that StarForge is way harder then ScmDraft2 0.8.0 :-( ScmDraft would be the best if it could handle EUD (UnitID Inputs) in the text editor. :)*

Post has been edited 1 time(s), last time on May 5 2008, 11:05 pm by Brontobyte.



None.

May 5 2008, 11:28 pm O)FaRTy1billion[MM] Post #48

👻 👾 👽 💪

How is SF hard at all? O.o It's triggers are a lot simpler than SCMD, in my opinion. Autocomplete helps, too.



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!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

May 5 2008, 11:29 pm Falkoner Post #49



Yeah, it is easier to write triggers in, if you're doing many different triggers, but if you are doing a lot of the same basic trigger, SCM is better.



None.

May 5 2008, 11:29 pm NudeRaider Post #50

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from O)FaRTy1billion[MM]
How is SF hard at all? O.o It's triggers are a lot simpler than SCMD, in my opinion. Autocomplete helps, too.
They are not. I had problems creating triggers at first too. They are more efficient however.




May 5 2008, 11:31 pm O)FaRTy1billion[MM] Post #51

👻 👾 👽 💪

Quote from NudeRaider
They are not. I had problems creating triggers at first too. They are more efficient however.
I don't even know how to use SCMD triggers. Some things are quoted, others are not, and I have no idea how it names things. In SF, you don't need to know how it names things because of autocomplete.



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!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

May 5 2008, 11:34 pm NudeRaider Post #52

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Oh you speak of the text base trigger editor? Yeah it's rather difficult to create triggers with it. You either need to learn the syntax or have templates.
I was referring to the classic editor.




May 5 2008, 11:35 pm O)FaRTy1billion[MM] Post #53

👻 👾 👽 💪

Psh. I use StarEdit mods. I don't need Classic. :P



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!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

May 5 2008, 11:47 pm Brontobyte Post #54



What I will do is make a basic template in Scmdraft. It will be something simple like Deaths of Terran Marine or what ever, and the action will be display text ( what ever ) followed by a preserve. Then I will go into StarForge and change it to the correct values and then copy and paste it. :D I will fill you in. Thanks for the help. :P



None.

May 6 2008, 4:19 am DT_Battlekruser Post #55



Quote from O)FaRTy1billion[MM]
How is SF hard at all? O.o It's triggers are a lot simpler than SCMD, in my opinion. Autocomplete helps, too.

Honestly - it's much, much faster than anything else :P Brontobyte is just lucky that the fractional HP is the leading byte. The biggest problem with EUD conditions is that if something like that is the trailing byte then you needed to check an array of 256 values that are nonconsecutive.

Quote from Falkoner
Yeah, it is easier to write triggers in, if you're doing many different triggers, but if you are doing a lot of the same basic trigger, SCM is better.

I never have the patience to do that, full-text view or not :P




None.

May 6 2008, 11:03 am Brontobyte Post #56



Quote from DT_Battlekruser
Quote from O)FaRTy1billion[MM]
How is SF hard at all? O.o It's triggers are a lot simpler than SCMD, in my opinion. Autocomplete helps, too.

Honestly - it's much, much faster than anything else :P Brontobyte is just lucky that the fractional HP is the leading byte. The biggest problem with EUD conditions is that if something like that is the trailing byte then you needed to check an array of 256 values that are nonconsecutive.

Quote from Falkoner
Yeah, it is easier to write triggers in, if you're doing many different triggers, but if you are doing a lot of the same basic trigger, SCM is better.

I never have the patience to do that, full-text view or not :P

Is their a way to make triggers faster in StarForge? Something like a text editor or a way to make triggers (text) then add them to StarForge? I don't want to have to make 100 different triggers for both Hit Points and Shields Points. :-(



None.

May 6 2008, 1:59 pm DT_Battlekruser Post #57



Not that I know of. It doesn't take that long to open each trigger and change the number manually though. You could do it in less than an hour although I admit it would not be ideal.



None.

May 6 2008, 2:57 pm rockz Post #58

ᴄʜᴇᴇsᴇ ɪᴛ!

The way I did it was make the triggers in SCMDraft, using a unit like arbiter, the vespene cubes, etc (really high UnitIDs). Then I used mapkit on the scenario.chk, and opened up the trig section in a hex editor. I searched for those particular UnitIDs, and included the stuff that went before and after it, so I would only get the 100 triggers I wanted when I searched and replaced them all. If I got more, I added more detail to the search. It took me about an hour to figure out how to do it, but I could do the whole process again in very little time, now that I know how to do it.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

May 6 2008, 6:53 pm Brontobyte Post #59



In EUD trigg their is an option for StarEdit as well as StarForge. How could I use StarEdit for EUD triggers? I thought you only had a manual (classic (Scmdraft)) editor with menus and you just select what and how you want it. Is their a plug in or something for StarEdit or even Scmdraft that will allow me to make EUD triggers?



None.

May 6 2008, 7:02 pm Demented Shaman Post #60



Quote from DT_Battlekruser
Not that I know of. It doesn't take that long to open each trigger and change the number manually though. You could do it in less than an hour although I admit it would not be ideal.
An hour editing triggers is ridiculous. Maybe once upon a time I would have settled for that, but with as the rate of triggering other things speeds up, still taking time to do such a trivial thing as this is ridiculous. That's why I asked SI if he could update SCMD2 to allow UnitID's. He said he would do it when he had time.

What I do now with EUDs is I save my map in SCMD2 as a different file just for testing the EUD. Then I just change the DC numbers in SF and test it. When I actually edit the triggers I don't actually have the actual EUD values, I just have placeholder DC's. I only go to SF at the very end.



None.

Options
Pages: < 1 2 3 4 5 >
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[05:41 am]
Ultraviolet -- 🤔 so inf is in you?
[04:57 am]
O)FaRTy1billion[MM] -- my name is mud
[04:35 am]
Ultraviolet -- mud, meet my friend, the stick
[10:07 pm]
lil-Inferno -- nah
[08:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
[05:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
[05:24 pm]
lil-Inferno -- poopoo
[05:14 pm]
UndeadStar -- I wonder if that's what happened to me. A returned product (screen) was "officially lost" for a while before being found and refunded. Maybe it would have remained "lost" if I didn't communicate?
[03:36 pm]
NudeRaider -- :lol:
Please log in to shout.


Members Online: IlyaSnopchenko, 1taylorc781eL2