Staredit Network

Staredit Network -> StarForge -> UNKNOWN PROPERTIES
Report, edit, etc...Posted by Frozen-rpg on 2005-07-26 at 21:05:35
in starforge when u select a unit and open up the unit properties screan anyone know what the following entries do?

under valid data (stuff like HP, sheilds, and hanger count)
data 7-16

under unit properties (cloaked, burrowed, and such)
properties 6-16

and under valid properties (cloak, burrow, they are the same as the unit properties except without an ed)
flags 6-16

i am assuming the difference between the 2 are a unit's valid properties are what it can do and the unit's properties are... well... yeah its properties that u want it 2 have, please correct me if im wrong

Diablo 1 RPG
[progress]80[/progress][80]
Report, edit, etc...Posted by evolipel on 2005-07-27 at 02:30:12
QUOTE(Frozen-rpg @ Jul 26 2005, 08:05 PM)
in starforge when u select a unit and open up the unit properties screan anyone know what the following entries do?

under valid data (stuff like HP, sheilds, and hanger count)
data 7-16

under unit properties (cloaked, burrowed, and such)
properties 6-16

and under valid properties (cloak, burrow, they are the same as the unit properties except without an ed)
flags 6-16

i am assuming the difference between the 2 are a unit's valid properties are what it can do and the unit's properties are... well... yeah its properties that u want it 2 have, please correct me if im wrong

Diablo 1 RPG
[progress]80[/progress][80]
[right][snapback]271260[/snapback][/right]

StarForge follows these chk format specs very closely. As such it also follows the mistakes therein.

So, some things SF labels as unknown or doesn't manipulate such as the unit links between terran addons and nydus canals.

The most glaring example of this can be seen by the way SF handles added sounds... The CC.org specs (linked above) say that each sound in the WAV section of the .chk gets a short for the string number of the path where the sound file is stored. However, each sound actually gets a long, and that's what causes SF to break the added sounds of a map.

As far as the specs say, you assume correctly (about the difference between the two values). However, that may not be the case.
Report, edit, etc...Posted by Heimdal on 2005-07-27 at 12:11:17
The flags marked as unknown are still unknown (they probably don't actually do anything). The Valid flags don't have any effect in Starcraft, but they do affect which checkboxes/number boxes show up in Staredit when you edit that unit's properties.

Now there are a few unknowns that Clokr and I have discovered the use of. The 4 small unknown boxes at the top of the unit properties window is actually 1 long integer, which is the serial ID of the unit. This is used for nydus canal and addon linking. The other unknown box is for linking flags. I don't remember the specifics but I think 512 is nydus linked and 1024 is addon linked. Finally, there are 4 bytes at the end of the unit structure that SF doesn't let you edit because I assumed they were padding. This is the serial ID of the unit that it's linked to.
Report, edit, etc...Posted by SI on 2005-07-28 at 20:46:37
the serial ID is actually the units class instance.
Report, edit, etc...Posted by Heimdal on 2005-07-28 at 23:40:00
I figured as much. Not that it has much meaning after being written to the file, eh?
Next Page (1)