|
Omg got a title!
|
Meh forget about searching that value, it's actually easier this way:
- Open BW load your map and select the unit that you wish. - Open artmoney and choose SC Broodwar from the processes list. - Click on the menu Process, the option Memory Editor. - In the cell view part select "Integer 4 bytes". - In the table click on the first cell under "Address" and write 005971F0. - The value next to it (the one under "01") is the value you're searching for. That's the address to the unitnode of the selected unit. Note it down somewhere. - If you want you can get into BW, select another unit, then alt+tab, wait until the value refreshes and note the new value down (in case you want to search the addresses for more units). This post was edited 2 times, last edit by Clokr_: Jul 6 2008, 1:03 am.
![]() ![]() ![]() ![]() ![]() ![]() _______________
G T C A A G T C \__________________________ C A G U···/ŻŻŻŻ\ A G T C G A G A T C A G T ··········\____/ T C A G C T C T A G T C A C A G T T C A G /ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ Was anyone missing my DNA signature? |
|
So what exactly effects the outcome of the address?
I'm pretty sure it is: -Units position -Unit creation number -Who selects the unit (duh) -Who owns the unit (duh) -MOAR? ![]() ![]() ![]() ![]() ![]() ![]() ╔═══╦═══╦═══╦══╦═╦═══╦═══╦═══╦═╦═╦═══╦═══╗
╠═══╣....═╣..═..║........╠╗..╔╣..═..╠═══╬╗..╔╩╗..╔╬═══╣ ╚═══╩═╩═╩═══╩═╩══╩╩═╩╩═══╩═══╩╩═╩═╩═╩╩═══╝ |
|
Omg got a title!
|
Download farty's program (he posted a link in this thread). Then use it to convert the address doodle posted (also in this thread) into a DC. The you have to compare that DC to 0x60CC20 or 0x617420 to check if the unit is selected. I think farty's program can automatically export the triggers for you with the comparisons already done.
![]() ![]() ![]() ![]() ![]() ![]() _______________
G T C A A G T C \__________________________ C A G U···/ŻŻŻŻ\ A G T C G A G A T C A G T ··········\____/ T C A G C T C T A G T C A C A G T T C A G /ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ Was anyone missing my DNA signature? |
|
I wasn't calling anyone a retard... I was simply implying that I already knew that the two facts with the (duh) stamp were things that I already knew, thats all. ![]() ![]() ![]() ![]() ![]() ![]() ╔═══╦═══╦═══╦══╦═╦═══╦═══╦═══╦═╦═╦═══╦═══╗
╠═══╣....═╣..═..║........╠╗..╔╣..═..╠═══╬╗..╔╩╗..╔╬═══╣ ╚═══╩═╩═╩═══╩═╩══╩╩═╩╩═══╩═══╩╩═╩═╩═╩╩═══╝ |
|
Truth isn't defined by opinions or numbers of them..
|
Download farty's program (he posted a link in this thread). Then use it to convert the address doodle posted (also in this thread) into a DC. The you have to compare that DC to 0x60CC20 or 0x617420 to check if the unit is selected. I think farty's program can automatically export the triggers for you with the comparisons already done. I've had farty's program for a few days now, but I don't know what to do with my 2 addresses, or how to convert doodle's address into a DC, or how to compare the 2 addresses. But yes, EUD trig does that for you and exprts it to a .trg or shows you the trig in a starforge text line. I just don't know how to use EUD trig to do any of this D: ![]() ![]() ![]() ![]() ![]() ![]() -Clan Orig Map Maker-
|
|
How To Do It:
-First download both of the editors with the links provided below. -Open up Scmdraft 2 and then open your map followed by opening up the trigger editor. (Classic/Text) -Make fake triggers (below) -Now save the map. -Then open up your StarForge folder ~"C:\Program Files\Star Forge\Data" -Next open up the "Conditions" file by right clicking on it and modify it with a text editor. (Notepad++) -Then modify the Deaths Condition triggers so that you can input a number instead of a units name. (Text underneath links) -Now save the text file and open up StarForge. -Then open up the triggers and go to the EUD triggers section -Replace the "0" 's with the number that follows the UnitID:"xxxxx" (the "x"'s only) -Now once all of the conditions are replaced save the map and ENJOY! Downloads: Scmdraft 2 StarForge Fake Triggers: When I make EUD triggers I get all of the information into a trigger that I need to without inputing the Extended Unit. This means that I input the correct player, correct value, and correct comparison to which I want to have an EUD trigger function on. After this is done, I simply open up the unit box for the Death Condition and then choose a Terran Marine. I do this because in StarForge, a Terran Marine is a "0" (UnitID: 0) and its easy to copy and paste the number over top of it. Text: This is what it should look like when you open it. ~Line 76-78 Condition Deaths(Player Player, Comparison Comparison, Number Number, Unit Unit) { Condition(0, Player, Number, Unit, Comparison, 15, 0, 0); This is what you need it to look like for it to work properly. Condition Deaths(Player Player, Comparison Comparison, Number Number, Number Unit) { Condition(0, Player, Number, Unit, Comparison, 15, 0, 0); Please note: Condition Deaths(Player Player, Comparison Comparison, Number Number, Number Unit) { Condition(0, Player, Number, Unit, Comparison, 15, 0, 0); The bold underlined text is what you need to have. It went from "Unit Unit)" to "Number Unit) ![]() ![]() ![]() ![]() ![]() ![]() ╔═══╦═══╦═══╦══╦═╦═══╦═══╦═══╦═╦═╦═══╦═══╗
╠═══╣....═╣..═..║........╠╗..╔╣..═..╠═══╬╗..╔╩╗..╔╬═══╣ ╚═══╩═╩═╩═══╩═╩══╩╩═╩╩═══╩═══╩╩═╩═╩═╩╩═══╝ |
|
Remember the game! P.s.: Feldspar.
|
So what exactly effects the outcome of the address? -Unit creation number - There really isn't a number, but unit creation definitely does. -MOAR? = When SC loads the unit (including trigger creation.) ![]() ![]() ![]() ![]() ![]() ![]() Badlands 128 Minimap Colors I like
Platform 95 Minimap Colors Install 85 Minimap Colors What is this table, you ask? Ashworld 92 Minimap Colors I made images that list all the Jungle 105 Minimap Colors tiles' minimap colors arranged Desert 109 Minimap Colors by tileset groups (i.e. tileset Ice 94 Minimap Colors index.) Twilight 97 Minimap Colors I could make my own SCPM... |
|
So what exactly effects the outcome of the address? -Unit creation number - There really isn't a number, but unit creation definitely does. -MOAR? = When SC loads the unit (including trigger creation.) Well apparently I didn't know much about what I was talking about. ![]() ![]() ![]() ![]() ![]() ![]() ╔═══╦═══╦═══╦══╦═╦═══╦═══╦═══╦═╦═╦═══╦═══╗
╠═══╣....═╣..═..║........╠╗..╔╣..═..╠═══╬╗..╔╩╗..╔╬═══╣ ╚═══╩═╩═╩═══╩═╩══╩╩═╩╩═══╩═══╩╩═╩═╩═╩╩═══╝ |
|
Remember the game! P.s.: Feldspar.
|
Unitnode pointers are a mess.
![]() ![]() ![]() ![]() ![]() ![]() Badlands 128 Minimap Colors I like
Platform 95 Minimap Colors Install 85 Minimap Colors What is this table, you ask? Ashworld 92 Minimap Colors I made images that list all the Jungle 105 Minimap Colors tiles' minimap colors arranged Desert 109 Minimap Colors by tileset groups (i.e. tileset Ice 94 Minimap Colors index.) Twilight 97 Minimap Colors I could make my own SCPM... |
|
Truth isn't defined by opinions or numbers of them..
|
Allright, well I've messed around a bit and I was able to create some flawed triggers that don't do much at all with EUD's.
I think farty, or anyone else who knows how, should set up a step by step tutorial on this subject with screenshots showing how to do what, starting with downloading artmoney and ending with the finished product of a working selection detecting trigger. Then using the tutorial we could all create our own to fit our custom needs ^.^ ![]() ![]() ![]() ![]() ![]() ![]() -Clan Orig Map Maker-
|