SOLDIER.DAT (TFTD)

From UFOpaedia
Revision as of 17:10, 10 November 2008 by Zombie (talk | contribs) (Working breakdown of TFTD's Soldier.dat file. I'll try to figure out what the rest of the unknowns are today. This is a start at least.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

General Notes

Page Currently Under Construction!

SOLDIER.DAT has a fixed structure of 250 entries of 70 bytes each. (Only a maximum of 250 soldiers can be had). Thus it is always 17,500 bytes long (250x70).

Values are presented according to byte count (0 to 69) followed by the equivalent hex offset (00 to 43) in bold, followed by the normal (non-hacked) range of values in italics. Most fields can be hacked up to FF, but sometimes it can make for weirdness!

Unfortunately, this file is not conveniently ordered like Enemy Unknown's file so everything is just jumbled together.

Structure

0 Molecular Control Skill Improvement

1 Time Unit Improvement

2 In Molecular Control Lab?

3 Unknown

4 Health Improvement

5 Strength Improvement

6-7 Base Reference? Not sure yet.

8-9 Craft Reference

10-11 Rank

12-13 Unknown

14-15 Kills

16-17 Wound Recovery

18-19 Missions

20-21 Soldier Value

22 Unknown

23 Stamina Improvement

24 Reaction Improvement

25 Firing Accuracy Improvement

26 Initial Time Units

27 Initial Health

28 Initial Stamina

29 Initial Throwing Accuracy

30 Armor

31 Gender

32 Race

33 Initial Firing Accuracy

34 Initial Strength

35-59 Name (Not sure how long it extends, 25 bytes is a guess from EU).

60 Unknown

61 Unknown

62 Bravery Improvement

63 Throwing Accuracy Improvement

64 Initial Bravery

65 Molecular Control Skill Improvement?

66 Unknown

67 Molecular Control Strength

68 Initial Melee Accuracy

69 Initial Reactions