Register    Login    Forum    Search    FAQ

Board index » Spellforce 1 » Mods » Gamedata offsets




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: 25. building stats 2
 Post Posted: Fri Feb 17, 2017 5:19 pm 
Offline
Site Admin
User avatar

Joined: Sun Nov 13, 2011 2:57 pm
Posts: 539
EE 07 00 00 00 00 A4 2C 00 00 02 00
A4 2C = 2CA4 length

03F82F0E - 03F85BB1

example:

30 00 04 01 04 87 FF 52 02 63 FF E3 01 7E 00 D5 01 68 00 46 02

Byte 01-02 - building ID
Byte 03 - data instance for given building (one buildig can be referred more than once in this file)
Byte 04 - unknown (all entries have byte 04 set to 1)
Byte 05 - number of points (N)
The remaining bytes are divided into groups of four. These four bytes correspond to two signed short integers. That is, coordinate X and Y of a shape vertex. Shape contains N points.

Each shape is assigned to one building. The number of shapes each building consists of is equal to the value of byte 0E in "24. building stats".

Credits to leszekd25

_________________
Tempus et vita, tempus et mortis


Top 
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 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:  
cron
www.000webhost.com