XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sat Dec 16, 2017 12:41 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Order & Chaos 2: Redemption terrains
PostPosted: Fri Nov 17, 2017 11:54 pm 
Offline
n00b

Joined: Wed Nov 18, 2015 4:59 pm
Posts: 16
Has thanked: 3 times
Have thanks: 0 time














You can make the ads go away by registering

Recently I've been trying to RE a terrain format from O&C2 game. While there are other file types associated with a single world chunk, the terrain file itself seem to contain such info as:
- heightmap;
- textures list;
- texture mapping;
- water level;
- water type (normal, lava, tar, etc).
For now I've only been able to determine heightmaps.

Format template as what I do know by now can be found here.

So far, terrain is a 64x64 chunk. The format consists of 6 sections:
- header;
- section one (starts at 0x10, consists of 8b marker + 64 structures of 12 values (2 byte each);
- section two - heightmap (starts at 0x618, consists of 65x65 2 byte values);
- section three - possibly water level (starts at 0x271A, consists of 65x65 2 byte values);
- section four (starts at 0x481C, consists of 65x65x3 bytes);
- strings - textures used by chunk.

My main question is: can someone help me determine at least how do textrues are used in this format? I lack general understanding of concept of how do textures applied to terrain.

In the attached archive you can find .obj and .h2o files to view terrain model in hex2obj, original .trn file which to be used by 010 Editor template and screenshot from hex2obj showing terrain.


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 8 guests


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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group