Staredit Newtork
Community
StarCraft
Games
Site
Favourites
EUD help

Pages: < 1 2 3 4 >
Creator: I)eathBringer
Time: Mar 23 2008, 9:56 pm

Post #41     O)FaRTy1billion[MM] Mar 27 2008, 11:35 pm

[Avatar]
Remember the game! P.s.: Feldspar.
 offline contact
It is just a table of 12 ints that contain pointers to the select unit node(s). I think it was in the Maplantis topic that I posted all the addresses... (No where do you actually see a specific 0-1699 number that I am aware. It is always a pointer)

Found it:
http://www.staredit.net/maplantis/index.php?post=63271
And Doodle told me that they indeed are always 336 bytes.
This post was edited 1 time, last edit by FaRTy1billion: Mar 27 2008, 11:41 pm.
>The Game!<
>Taking SCD4 Suggestions!<
Clicky, Clicky!
Top

Post #42     I)eathBringer Mar 28 2008, 12:16 pm

[Avatar]
 offline contact
but if i want to know what I have to write in the trigger, what operations I have to do????
Top

Post #43     O)FaRTy1billion[MM] Mar 28 2008, 5:29 pm

[Avatar]
Remember the game! P.s.: Feldspar.
 offline contact
For units you want Exactly, unless you want a group of units to trigger it... It's the same as any other trigger.
>The Game!<
>Taking SCD4 Suggestions!<
Clicky, Clicky!
Top

Post #44     rockz Mar 28 2008, 8:43 pm

[Avatar]
We are not amused
 offline contact
Quote from I)eathBringerI have patched the data folder of starforge
however I've made it with uberation2 :P


Quote from DT_Battlekruser
Starforge is the only complete editor that can, in fact, be used to trigger EUDs. Please don't spread mistruths about it.

Never knew that, ty for correcting me. The fact remains that MY starforge can't handle EUDs. Care to elaborate how? I don't feel like looking, and it'd be nice to have in a relevant thread.

On a sidenote, I knew there was something starforge did better than SCMDraft...
Of the sparkling wines, the most famous is Perth Pink. This is a bottle with a message in, and the message is 'beware'. This is not a wine for drinking, this is a wine for laying down and avoiding.

Another good fighting wine is Melbourne Old-and-Yellow, which is particularly heavy and should be used only for hand-to-hand combat.
Top

Post #45     O)FaRTy1billion[MM] Mar 28 2008, 10:23 pm

[Avatar]
Remember the game! P.s.: Feldspar.
 offline contact
Go into data files and edit Conditions.lst...
find the line:

Code

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

and make it:

Code

Condition Deaths(Player Player, Comparison Comparison, Number Number, Number Unit)
>The Game!<
>Taking SCD4 Suggestions!<
Clicky, Clicky!
Top

Post #46     DT_Battlekruser Mar 29 2008, 1:00 am

[Avatar]
I paid eleven minerals for THIS?
 offline contact
Quote(No where do you actually see a specific 0-1699 number that I am aware.


Then how does Starcraft get unit-specific data, such as current health percentage or kill count?
"Three can keep a secret, if two are dead." -Benjamin Franklin

"Had, having, and in quest to have, extreme;
A bliss in proof, and proved, a very woe;
Before, a joy proposed; behind, a dream.
All this the world well knows; yet none knows well
To shun the heaven that leads men to this hell."
-William Shakespeare
Top

Post #47     O)FaRTy1billion[MM] Mar 29 2008, 1:15 am

[Avatar]
Remember the game! P.s.: Feldspar.
 offline contact
Pointers. You may be able to find a specific ID by subtracting the pointer from the top of the pointer table and then dividing that by 366... but SC uses pointers all over the place. (You even have pointers that point to even more pointers!)
>The Game!<
>Taking SCD4 Suggestions!<
Clicky, Clicky!
Top

Post #48     DT_Battlekruser Mar 29 2008, 1:18 am

[Avatar]
I paid eleven minerals for THIS?
 offline contact
If the pointer is to the units table (DAT data), how do you get the local ID reference? You just said that the local ID is not the pointer..
"Three can keep a secret, if two are dead." -Benjamin Franklin

"Had, having, and in quest to have, extreme;
A bliss in proof, and proved, a very woe;
Before, a joy proposed; behind, a dream.
All this the world well knows; yet none knows well
To shun the heaven that leads men to this hell."
-William Shakespeare
Top

Post #49     O)FaRTy1billion[MM] Mar 29 2008, 2:54 am

[Avatar]
Remember the game! P.s.: Feldspar.
 offline contact
I said there is no real 0-1699 number... "DAT data"? You mean .dat files? I am talking about the unitnode where all the unit information is stored.
And doing that math stuff I posted is useless, I was just saying if you REALLY wanted a 0-1699 pointer. :P
If you want to find a pointer to a unit, find its current HP and then subtract 9 from that address. If you want to explore it first hand, you can play with the selection addresses I linked to a few posts back... You can look at what it uses for unit references.
>The Game!<
>Taking SCD4 Suggestions!<
Clicky, Clicky!
Top

Post #50     DT_Battlekruser Mar 29 2008, 4:26 am

[Avatar]
I paid eleven minerals for THIS?
 offline contact
So it points to the ith index of the local-ID table, where i is the localID of the selected unit, no?
"Three can keep a secret, if two are dead." -Benjamin Franklin

"Had, having, and in quest to have, extreme;
A bliss in proof, and proved, a very woe;
Before, a joy proposed; behind, a dream.
All this the world well knows; yet none knows well
To shun the heaven that leads men to this hell."
-William Shakespeare
Top

Post #51     O)FaRTy1billion[MM] Mar 30 2008, 8:00 pm

[Avatar]
Remember the game! P.s.: Feldspar.
 offline contact
I suppose... as long as i is in increments of 336... It points to the atual unit node (which contains all the unit information).
This post was edited 4 times, last edit by FaRTy1billion: Mar 30 2008, 8:35 pm.
>The Game!<
>Taking SCD4 Suggestions!<
Clicky, Clicky!
Top

Post #52     DT_Battlekruser Mar 31 2008, 3:49 am

[Avatar]
I paid eleven minerals for THIS?
 offline contact
The indexes of the local-ID table can be whatever memory offsets - but my point is the pointer is to the local, not unit ID table.
"Three can keep a secret, if two are dead." -Benjamin Franklin

"Had, having, and in quest to have, extreme;
A bliss in proof, and proved, a very woe;
Before, a joy proposed; behind, a dream.
All this the world well knows; yet none knows well
To shun the heaven that leads men to this hell."
-William Shakespeare
Top

Post #53     Syphon[MM] Mar 31 2008, 6:03 am

[Avatar]
 offline contact
EDIT -Nevermind.
Top

Post #54     I)eathBringer Mar 31 2008, 12:54 pm

[Avatar]
 offline contact
I have always the smae problem: how to detect selected units
I have memory offset, unit ID and player but how can I find the value for a specific unit like a firebat(ID=32)?
Top

Post #55     rockz Mar 31 2008, 1:11 pm

[Avatar]
We are not amused
 offline contact
Where are the red 0s when you put it into eudtrig?
Of the sparkling wines, the most famous is Perth Pink. This is a bottle with a message in, and the message is 'beware'. This is not a wine for drinking, this is a wine for laying down and avoiding.

Another good fighting wine is Melbourne Old-and-Yellow, which is particularly heavy and should be used only for hand-to-hand combat.
Top

Post #56     I)eathBringer Mar 31 2008, 5:27 pm

[Avatar]
 offline contact
There are 4 series of red 0s (4 bytes)
Top

Post #57     rockz Mar 31 2008, 7:09 pm

[Avatar]
We are not amused
 offline contact
Oh jesus, this just got harder. Read the page again, you'll note that farty and DT are talking about what number you need to use (the local ID). Study Doodle77's map some more.
Of the sparkling wines, the most famous is Perth Pink. This is a bottle with a message in, and the message is 'beware'. This is not a wine for drinking, this is a wine for laying down and avoiding.

Another good fighting wine is Melbourne Old-and-Yellow, which is particularly heavy and should be used only for hand-to-hand combat.
Top

Post #58     O)FaRTy1billion[MM] Mar 31 2008, 8:32 pm

[Avatar]
Remember the game! P.s.: Feldspar.
 offline contact
Quote from DT_BattlekruserThe indexes of the local-ID table can be whatever memory offsets - but my point is the pointer is to the local, not unit ID table.
I'm getting really confused now... what the hell is a local-ID table or a unit ID table?

Quote from I)eathBringerI have always the smae problem: how to detect selected units
I have memory offset, unit ID and player but how can I find the value for a specific unit like a firebat(ID=32)?
You can check to see what unit ID is selected, but if you have a mixed group it will show 244. I can't remember the offset off the top of my head, but it is not shared (go look in the changing unit portrait topic for the map that I have it in.)

Also the number of red 00s in EUDTrig is for when you use Object ID/Len. It shows you how the bytes appear in the int.
>The Game!<
>Taking SCD4 Suggestions!<
Clicky, Clicky!
Top

Post #59     rockz Apr 1 2008, 1:09 am

[Avatar]
We are not amused
 offline contact
Alls I know is that in Doodle's map, he's got 5885072 deaths for the marine, 6455936 deaths for the firebat, 6455600 for the ghost, 6455264 for the zealot, and 6454928 for the civilian. Considering the ghost is unitid 1, marine is unitid 0, and firebat is unitid 32, it wouldn't make much sense to go specifically by unitid. The ghost/bat/zeal are all off by 336, but the civ and rine are way off, and I think it's because of the way they were placed on the map. I know that when I was checking unit hp, there was also a huge difference in the units' EUD.
Of the sparkling wines, the most famous is Perth Pink. This is a bottle with a message in, and the message is 'beware'. This is not a wine for drinking, this is a wine for laying down and avoiding.

Another good fighting wine is Melbourne Old-and-Yellow, which is particularly heavy and should be used only for hand-to-hand combat.
Top

Post #60     DT_Battlekruser Apr 1 2008, 2:31 am

[Avatar]
I paid eleven minerals for THIS?
 offline contact
Quote
I'm getting really confused now... what the hell is a local-ID table or a unit ID table?


A local-ID table will contain up to 1700 entries pertaining to individual instances of a unit. The data local to a unit's instance includes such things as its current HP percentage, current shield percentage, and so on.

The Unit ID table holds all the data loaded from the units.dat file, and essentially contains unit data (think static fields of a class). Unit data would include total HP count, weapon ID, and such.

I don't actually know the bit-structure of Starcraft's RAM, but all of that data must be stored somewhere, and I know from the offsets I have seen that there exists a table solely of unit (static) data, because that was what everyone was editing with EUD actions.
Quote
Considering the ghost is unitid 1, marine is unitid 0, and firebat is unitid 32, it wouldn't make much sense to go specifically by unitid. The ghost/bat/zeal are all off by 336, but the civ and rine are way off


Anything you are finding should be in the local ID table, which has no relation to the unit's Unit ID. The position of a instantiated unit within the local ID table will depend on its Local ID, assigned at creation based on when the unit is created.
"Three can keep a secret, if two are dead." -Benjamin Franklin

"Had, having, and in quest to have, extreme;
A bliss in proof, and proved, a very woe;
Before, a joy proposed; behind, a dream.
All this the world well knows; yet none knows well
To shun the heaven that leads men to this hell."
-William Shakespeare
Top
0 members in this topic: None
+ 0 guest(s)


[02:31 pm]
DeVouReR -- lol
[02:04 pm]
[Dark_Marine]:] -- Resident Evil: *Insert Generic Title* My new map! Try the demo with your friends ;D
[01:41 pm]
[lil-Inferno]:] -- SAVE THE WHALES!
[01:16 pm]
[Dark_Marine]:] -- Thats nerdys color ;o
[12:29 pm]
DeVouReR -- this is better
[12:25 pm]
FlyingHat -- Oh no, I seem to have soiled my shoes.
[11:01 am]
You must log in to shout.

©2003-2008 Staredit Network.
Starcraft & Starcraft II are trademarks of Blizzard Entertainment.
Site Index   |   Terms of Service   |   Privacy Policy   |   Contributions