Can someone
simply if it is possible to detect a units energy, and if it is possible, state it as
simply as you can please.
Post has been edited 1 time(s), last time on Aug 15 2008, 11:45 pm by Epoch.
None.
Yes, yes you can, but I don't know how.
None.
+0xA0 - WORD wQueue5
+0xA2 - WORD wEnergy
Means yes. Unless your unit is a factory with energy, wQueue5 should always be 0. I don't know if Energy does the thing where the regen timer is the first byte. If it is, then you just have to read a range.
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!
...stat it as simply as you can please...
>.> Can you explain it a little more? I lost my thought after the first word >.>
None.
If you don't have the faintest clue about what euds are, then I wouldn't suggest learning them. The answer is no.
I understand what EUD's are, I don't get what he is trying to say though.
None.
Yes, many times, without success, using artmoney.
None.
+0xA2 - WORD wEnergy
Search the unit node table at those adresses for the energy you want. If you don't understand that, then I'm sorry.
Defiler's Mana All 2 Byte Values
Player 1 / 0x0059CD33 - Player 10 - UnitID:1588 - 00 00 00
00 00 00 00 00
Player 2 / 0x00628323 - Player 10 - UnitID:13481 - 00 00 00
00 00 00 00 00
Player 3 / 0x006281D3 - Player 10 - UnitID:13474 - 00 00 00
00 00 00 00 00
Player 4 / 0x00628083 - Player 10 - UnitID:13467 - 00 00 00
00 00 00 00 00
Player 5 / 0x00627F33 - Player 10 - UnitID:13460 - 00 00 00
00 00 00 00 00
Player 6 / 0x00627DE3 - Player 10 - UnitID:13453 - 00 00 00
00 00 00 00 00
Post has been edited 1 time(s), last time on Aug 16 2008, 2:02 am by Brontobyte.
None.
+0xA2 - WORD wEnergy
Search the unit node table at those adresses for the energy you want. If you don't understand that, then I'm sorry.
To search the unit node table, where would I do that? Is there a program for that, or is it a table that someone created?
None.
+0xA2 - WORD wEnergy
Search the unit node table at those adresses for the energy you want. If you don't understand that, then I'm sorry.
To search the unit node table, where would I do that? Is there a program for that, or is it a table that someone created?
My research did not work for you?
None.
Follow my guide (2nd post). Maybe I should just stick it on a tutorial...
http://www.staredit.net/topic/2757/If you don't get it, say so, and I/someone will walk you through it. When making your test map, use hyper triggers and have a couple locations which always set energy to full or none, or some other %, and detect that number instead. That's also how I did the zerg units in the map in that tutorial.
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"
+0xA2 - WORD wEnergy
Search the unit node table at those adresses for the energy you want. If you don't understand that, then I'm sorry.
To search the unit node table, where would I do that? Is there a program for that, or is it a table that someone created?
My research did not work for you?
That would only work for that
specific defiler. But you did answer my question's uncertainty.
If you ever figure out how to read unitnode data (or if someone viewing this topic knows what they are doing and are wondering the same thing), you want to read +0xA0 (+0xA2, what is listed, falls within that int.) A value of 16777216 will equal 1 energy.
You should read from (EnergyVal-1)*16777216+1 to (EnergyVal+1)*16777216-1, where EnergyVal is the exact number you want to read. It doesn't matter if wQueue5 is anything, actually.
Post has been edited 1 time(s), last time on Aug 16 2008, 3:04 am by FaRTy1billion.
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!
+0xA2 - WORD wEnergy
Search the unit node table at those adresses for the energy you want. If you don't understand that, then I'm sorry.
To search the unit node table, where would I do that? Is there a program for that, or is it a table that someone created?
My research did not work for you?
That would only work for that
specific defiler. But you did answer my question's uncertainty.
If you ever figure out how to read unitnode data (or if someone viewing this topic knows what they are doing and are wondering the same thing), you want to read +0xA0 (+0xA2, what is listed, falls within that int.) A value of 16777216 will equal 1 energy.
You should read from (EnergyVal-1)*16777216+1 to (EnergyVal+1)*16777216-1, where EnergyVal is the exact number you want to read. It doesn't matter if wQueue5 is anything, actually.
I'm glad I am not working on this. I didn't understand anything you said besides not searching for specific defilers mana values.
None.
+0xA2 - WORD wEnergy
Search the unit node table at those adresses for the energy you want. If you don't understand that, then I'm sorry.
To search the unit node table, where would I do that? Is there a program for that, or is it a table that someone created?
My research did not work for you?
That would only work for that
specific defiler. But you did answer my question's uncertainty.
If you ever figure out how to read unitnode data (or if someone viewing this topic knows what they are doing and are wondering the same thing), you want to read +0xA0 (+0xA2, what is listed, falls within that int.) A value of 16777216 will equal 1 energy.
You should read from (EnergyVal-1)*16777216+1 to (EnergyVal+1)*16777216-1, where EnergyVal is the exact number you want to read. It doesn't matter if wQueue5 is anything, actually.
I'm glad I am not working on this. I didn't understand anything you said besides not searching for specific defilers mana values.
no, I was saying that the values you gave only work or a specific instance. There wont be a specific value for ANY defiler owned by player X, it is based on the unitnode data.
+0xA0 - WORD wQueue5
+0xA2 - WORD wEnergy
Means yes. Unless your unit is a factory with energy, wQueue5 should always be 0. I don't know if Energy does the thing where the regen timer is the first byte. If it is, then you just have to read a range.
Is what I was talking about, from the unitnode struct.
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!
Follow my guide (2nd post). Maybe I should just stick it on a tutorial...
http://www.staredit.net/topic/2757/If you don't get it, say so, and I/someone will walk you through it. When making your test map, use hyper triggers and have a couple locations which always set energy to full or none, or some other %, and detect that number instead. That's also how I did the zerg units in the map in that tutorial.
I did this. When I put the addresses into EUDTrig, and placed them in a map, it did not work.
None.