Register    Login    Forum    Search    FAQ

Board index » Spellforce 1 » Mods » Gamedata offsets




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: 4. unit stats
 Post Posted: Thu Oct 08, 2015 10:40 am 
Offline
Site Admin
User avatar

Joined: Sun Nov 13, 2011 2:57 pm
Posts: 536
D5 07 00 00 00 00 98 D1 01 00 09 00
98 D1 01 = 1D198 length

0004421D - 000613B4

example:

19 00 1E 00 7E 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 00 00
1E 00 1E 00 1E 00 1E 00 78 00 78 00 78 00 64 00 00 00 00 00 00 00 02 05 00 01

1. 19 00 - unit stats ID
2. 1E 00 - unit lvl
3. 7E - unit race ID

00 - player (for heroes to be controllable)
01 - human
02 - dwarf
03 - elf
04 - troll
05 - orc
06 - darkelf
99 - grim reaper (hostile to all units, including neutral and animals)

4. 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 - attribute stats

in order:
3C 00 - agility
3C 00 - charisma
3C 00 - dexterity
3C 00 - intelligence
3C 00 - stamina
3C 00 - strength
3C 00 - wisdom

5. 00 00 - unknown
6. 1E 00 1E 00 1E 00 1E 00 - resistance stats

in order:
1E 00 - fire resist
1E 00 - ice resist
1E 00 - black resist
1E 00 - mind resist

7. 78 00 78 00 78 00 - speed stats

in order:
78 00 - walk speed
78 00 - fight speed
78 00 - cast speed

8. 64 00 - unit size (64 00 is normal)
9. 00 00 - unknown
10. 00 00 00 00 - spawning base time (ms)

for heroes/workers at monument; for scripted units (campaign spawned and spell spawned)

11. 02 - head gender; vulnerability ID

00 - male; can be killed
01 - female; can be killed
02 - male; can't be killed, only reduce HP to 1 (campaign companions, such as Urias, etc.)
03 - female; can't be killed, only reduce HP to 1 (campaign companions, such as Lena, etc.)

12. 05 00 - head ID
13. 01 - equipment slots ID

01 - all slots available
02 - only hands and rings available
03 - no slots available

_________________
Tempus et vita, tempus et mortis


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

Board index » Spellforce 1 » Mods » Gamedata offsets


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
www.000webhost.com