Unit Node EUD's
Jul 4 2008, 12:43 pm
By: Brontobyte
Pages: 1 2 3 >
 

Jul 4 2008, 12:43 pm Brontobyte Post #1



I was wondering how to find out which unit you have selected. I know it could be done using EUD triggers, based off of a couple of maps I have been checking out. (Egg Ball v1.00 ; Stakness) I remember somewhere someone saying something like it goes based on the oder the units were created on the map. The first unit is 0, the second is 1649, or something like that. I would:
A) like to know how to search for the UnitID: number for players 1-6.
B) like to know how to figure out the at least, at most, exact for each death conditions.
C) like to know how to get the number that is for the the death condition. (how many deaths)

Yeah, yeah, I could just copy it right out from others maps, but what does that teach me? :sfhity:



None.

Jul 4 2008, 2:57 pm Falkoner Post #2



Actually, you really couldn't copy it from other maps, as the IDs of the units change depending on their placement, as you said, which generally changed by map.



None.

Jul 4 2008, 4:12 pm Brontobyte Post #3



How do I search for them? I have correctly searched for other addresses using Art Money, but I don't even know where to begin. How do you search for a number that equals selected, or not selected...



None.

Jul 4 2008, 4:14 pm Clokr_ Post #4



http://farty1billion.dyndns.org/EUDDB/?pg=entry&addr=5861872



?????

Jul 4 2008, 4:17 pm Brontobyte Post #5



Thanks! :D

If I select a unit as player 1 the death condition will be under one player. If I select the same unit under player 2, the death condition will be under a different player... How do I find such a player?



None.

Jul 4 2008, 4:19 pm Clokr_ Post #6



The data is not shared. So if you try to use it in a multiplayer game the rest of players will desync. So if you want to use this stick with single player.



?????

Jul 4 2008, 4:20 pm Brontobyte Post #7



Quote from Clokr_
The data is not shared. So if you try to use it in a multiplayer game the rest of players will desync. So if you want to use this stick with single player.

Orly? How come devilesks' Egg Ball can be played over b.net? I hope we are talking about the same thing...



None.

Jul 4 2008, 4:27 pm Doodle77 Post #8



Quote from Clokr_
The data is not shared. So if you try to use it in a multiplayer game the rest of players will desync. So if you want to use this stick with single player.
There are two sets of selection pointers. The ones you didn't give him are shared:
Code
006284D0     1.15.2     Win     Player 1 Selection Group     4     12     List of unit node pointers for Player 1's current grou…

00628500     1.15.2     Win     Player 2 Selection Group     4     12     List of unit node pointers for Player 2's current grou…

00628530     1.15.2     Win     Player 3 Selection Group     4     12     List of unit node pointers for Player 3's current grou…

00628560     1.15.2     Win     Player 4 Selection Group     4     12     List of unit node pointers for Player 4's current grou…

00628590     1.15.2     Win     Player 5 Selection Group     4     12     List of unit node pointers for Player 5's current grou…

006285C0     1.15.2     Win     Player 6 Selection Group     4     12     List of unit node pointers for Player 6's current grou…

006285F0     1.15.2     Win     Player 7 Group Selection     4     12     List of unit node pointers for Player 7's current grou…

00628620     1.15.2     Win     Player 8 Group Selection     4     12     List of unit node pointers for Player 8's current grou…




None.

Jul 4 2008, 4:59 pm Brontobyte Post #9



So how do I know what number to input for the death condition?

I want it to be an Zerg Egg owned by player 11 or player 9, player10.



None.

Jul 4 2008, 5:11 pm Clokr_ Post #10



Yeah I was wondering how team melee could work if it was not shared.

Bront, you'll have to check out the address of the unit node for that zerg egg. You can use artmoney, select it in game and check the number stored at 0x006284D0 (if your P1). Then all you have to do is compare the right death counter to that value in a condition (not sure what death counter should be used, didn't DTBK made a memcalc util to calculate that?).



?????

Jul 4 2008, 6:58 pm O)FaRTy1billion[MM] Post #11

👻 👾 👽 💪

Is something like this what you are looking for?



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!

Jul 4 2008, 8:09 pm Brontobyte Post #12



Quote from O)FaRTy1billion[MM]
Is something like this what you are looking for?

I already have that.

I can't seem to get his memcalc to work. Maybe its because I'm a noob... :???:



None.

Jul 4 2008, 8:11 pm O)FaRTy1billion[MM] Post #13

👻 👾 👽 💪

Oh. Are you detecting selection?
What I do is put the current player selection offset in ArtMoney, click a unit, and then write down the value in ArtMoney. That is the pointer to whichever unit you selected.



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!

Jul 4 2008, 8:13 pm Brontobyte Post #14



So I just search for the hex code offset, select a unit then filter my search?



None.

Jul 4 2008, 8:21 pm O)FaRTy1billion[MM] Post #15

👻 👾 👽 💪

Search for a 4-byte integer with value 123456 (gives 1-3 results :P) and change the result's address to "005971F0". Convert that addresses value to hex and you have a unitnode pointer.



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!

Jul 4 2008, 8:26 pm Brontobyte Post #16



Quote from O)FaRTy1billion[MM]
Search for a 4-byte integer with value 123456 (gives 1-3 results :P) and change the result's address to "005971F0". Convert that addresses value to hex and you have a unitnode pointer.

Mkay. So does it matter when the unit was created in the editor and or the game via triggers/building it?



None.

Jul 4 2008, 8:44 pm O)FaRTy1billion[MM] Post #17

👻 👾 👽 💪

It matters a lot. ><



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!

Jul 4 2008, 11:19 pm Falkoner Post #18



SCM Draft will assign the units ID based on when you placed it in the editor, other editors will simply give them their IDs left to right, and bottom to top if on the same x axis.



None.

Jul 5 2008, 2:19 am Brontobyte Post #19



Quote from Falkoner
SCM Draft will assign the units ID based on when you placed it in the editor, other editors will simply give them their IDs left to right, and bottom to top if on the same x axis.

I want it to be something like:

O

O O

O O


O = Egg :D



None.

Jul 5 2008, 1:20 pm Tera Post #20



Didn't Doodle77[MM] make an EUD map that did something similar? Hot key units (which pretty much selects them) and then change the unit?



Post has been edited 5 time(s), last time on Aug 31 2008, 11:40 pm by Tera.



None.

Options
Pages: 1 2 3 >
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[03:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[01:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
[01:52 am]
Vrael -- hah do you think I was born yesterday?
[01:08 am]
O)FaRTy1billion[MM] -- i'll trade you mineral counts
[2024-4-16. : 5:05 pm]
Vrael -- Its simple, just send all minerals to Vrael until you have 0 minerals then your account is gone
[2024-4-16. : 4:31 pm]
Zoan -- where's the option to delete my account
[2024-4-16. : 4:30 pm]
Zoan -- goodbye forever
Please log in to shout.


Members Online: Roy, jjf28, l)ark_ssj9kevin, O)FaRTy1billion[MM], lil-Inferno