Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Triggering in EUD's on Starforge?
Triggering in EUD's on Starforge?
Mar 14 2009, 3:30 am
By: Oo.DaMeiN.oO  

Mar 14 2009, 3:30 am Oo.DaMeiN.oO Post #1



I was told that to trigger in a EUD you have to use Starforge, if so how do you do it?

This is what the trigger looks like without me trying to add it to another map ( Which it works for this map )

Deaths(P208097, AtLeast, 3, Red);

KillUnit(Sniper, P1);
Defeat();

But when I click to save it says "alias unrecognized" I assume this is speaking about the player name.

Thanks.



None.

Mar 14 2009, 3:39 am Falkoner Post #2



There's something you have to toggle in StarForge for it to work properly..

Ah, found it:
[quote Wiki]Now that you have established the triggers and what not you can now go ahead and input the correct UnitID value for each of the unit input values in the editor. Before you can make EUD triggers in StarForge, you need to change the Conditions file in your StarForge folder. ~"C:\Program Files\Star Forge\Data" You simply need to go to your Data folder in your StarForge folder then right click on the Conditions file. You can't directly modify this file so you will need to click Open with or Edit with. I used Notepad ++ but I'm sure you can use regular Notepad. To find out what you need to change, refer to the Odds And Ends sectioin of this tutorial.[/quote]



None.

Mar 14 2009, 3:50 am Oo.DaMeiN.oO Post #3



Eh, that didn't work either. Thanks anyways, I'll try some other things.

Maybe my problem is that I can't install Starforge, just use it. Anyone know where a working installer is? Thanks.



None.

Mar 14 2009, 10:43 am NudeRaider Post #4

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
Deaths(P208097, AtLeast, 3, Red);
That doesn't look right. "Red" is supposed to be a number. Are you sure you got your trigger right?




Mar 15 2009, 3:23 am rockz Post #5

ᴄʜᴇᴇsᴇ ɪᴛ!

red is the unit, which i assume is a unit under 228 to be renamed as such.

I thought player number was 1 byte too, but I suppose since it can be negative it doesn't have to be. from the wiki: "4 byte long: Group (0 based) that the condition applies to".

I don't know how you got that player number, but if you got it, just hex edit the map. You'll learn a lot more about euds that way. Also, did this not work:

Quote
Now, you have the offsets! How do you get them into your map? Well you have a few choices. One, EUD Trig lets you export .trg files and import them into a map. Another is to use starforge. Change your starforge/data/Conditions.lst to have the following line for the "Deaths();" condition.

Condition Deaths(Player Player, Comparison Comparison, Number Number, Number Unit)

Make sure you change Conditions.lst in your starforge/data folder to allow for a number for units instead of the name (you want "Number Unit" rather than "Unit Unit").

Do number player, and remember it's zero based.



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

Mar 15 2009, 3:32 am O)FaRTy1billion[MM] Post #6

👻 👾 👽 💪

Player was found to be 4 bytes (and can thus read ANY memory address.)



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!

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:15 am]
DarkenedFantasies -- you eat lots of beans
[03:46 am]
IskatuMesk -- how do i get gas
[11:43 pm]
Moose -- you don't
[10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
Please log in to shout.


Members Online: Ultraviolet