Jump to content
XCOMUFO & Xenocide

Armor Values


Pi Masta

Recommended Posts

I've been looking into the save files for the original XCOM and I haven't seen where the values for the armor (personal, powered, flying) are stored. I know the soldier is assigned a number that states what type of armor s/he is wearing (SOLDIER.DAT[63]), but I've never seen where the values for the armor (front, left, etc.) are stored for that armor. I suppose you could hack UNITREF to increase the amount of current/starting armor on a per soldier basis. But wouldn't it reset on every combat?

 

Anyone know where this is stored? Mainly a curiousity (sp?).

 

I don't think it would be stored in the executable since both Geoscape (UFOpaedia) and Tactical have the values, thus it would make more sense to put it in one of the DAT files.

Link to comment
Share on other sites

Armor values are stored in the executable. See this topic for the particulars. ;)

 

Edit: right, I'll move this to the game file editing forum.

 

- Zombie

Edited by Zombie
Link to comment
Share on other sites

Thanks!

 

I didn't know about this little subforum tucked away. (Or maybe I just forgot). I figured where I originally placed it was a bad place.

 

Somehow I knew you would have the answer Zombie. Maybe I should just harass... err PM you instead when I got a question. :D

Link to comment
Share on other sites

Sure, go ahead. I'm always happy to help. (This goes for everyone). And if I don't know the answer outright, I know where to look. :)

 

- Zombie

Link to comment
Share on other sites

In discussion, we've actually dug up a fair number of offsets that are buried in the CE executable (and finding similar values in the Dos executables) - such as the damage modifiers, the built-in turrets to the starting stats and so on an so forth. We just haven't had them documented.

 

We found them, we'll certainly be able to find them again.

 

- NKF

Edited by NKF
Link to comment
Share on other sites

well, then another question, (which might need another thread). What about the XBASES.DAT file.

 

I haven't found much information on it, other than it contains information about alien bases. I did a few searches on strategy core and a general google search but to no avail.

 

I guess I could take a look at the file myself and see what I can come up with.

 

 

EDIT:

:huh:

 

Well all of my saves and MISSDAT folders have completely blank XBASES.DAT (all values are 0). I looked into my old saves from when I was beating the game (on beginner though) and noticed that byte 16 was set to 1 on the saves when aliens were retaliating against my first base (didn't know at the time you didn't get points or stop the aliens from attacking using base defences, so I just let them come I had around 15 retals in a month).

 

Could this be a flag as to what XCom bases the aliens know about? It would surely need to be saved but I would have figured that would be put in BASE.DAT or LOC.DAT.

 

(Gonna go on a limb here and presume that is what this file is for)

The file is always 48 bytes long. Since you can only have a total of 8 bases that would leave 8 bytes per base. From what I've read its on a per race basis, but there's only 5 races right? What would the other 3 bytes be used for?

 

EDIT 2:

There any knowledge of what AKNOW.DAT does?

Edited by Pi Masta
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...