View Single Post
Old 06-29-06, 02:20 PM   #7
Nexus7
Commander
 
Join Date: Jun 2004
Location: Switzerland
Posts: 469
Downloads: 2
Uploads: 0
Default

In the meanwhile I got an answer on how it goes. Here a simple to follow receipt.

Hello,

to put the model in the game you need to modify the database.
To do that there is DWDBEdit by JSteed (you can download it at subguru.com in the download section).
This program contains an executable file called ReadWriteDWDB.exe ore something like that. Put this executable in the Database folder of DW (/program files/sonalyst/dangerous zaters/database).
This file allows you to 'translate' the database in normal text files and to translate back the text files into database files.
To do that :
1) open dos prompt;
2) with the dos prompt go in the DW database directory (/program files/sonalyst/dangerous zaters/database);
3) type ' ReadWriteDWDB.exe export object.eod' then press enter. This command will generate some txt files that are the 'translation' of the database.
4) the models for each unit are specified in 3dobject.txt file. You can either modify one existing unit model by editing the name of the j3d file specified in that file or create new units. New units cannot be made drivable so if you want to drive with your new model you have to edit the j3d file name of one of the drivable units (i.e. Kilo, SW etc).
5) at this point, once you have edited the 3dobject.txt file inserting your j3d, you have to type (from dos prompt, DW database directory) ReadWriteDWDB.exe import object.eod'. This command will put your modifications in the database files read by the game.

Now you have just specified in the database that a certain unit is linked to a certain j3d file. You have to insert the j3d in the game. To do that you need cmputil.exe which can be downloaded on the Orionwarrior web site. Once you get that file do the following:

1) copy the file in the Graphics folder of the game (program files/sonalyst/dangerous waters/graphics)
2) copy your j3d model in the same directory
2) open dos prompt
3) with the dos prompt go to the above mentioned graphics folder
4) type 'cmputil.exe 3d "name of your j3d model" ' then press enter.
Now you have introduced the model in the game. If everything is done correctly you will see in the game the model you created for the unit you modified in the 3dobject.txt file.

This is just the basics. You can create nations, classes of ships, sensors, weapons by changing the database. For these kind of changes it's maybe better to use Ludger Styra's DWDBEditor (which you can find on subguru webpage). It's a quite easy tool that allows you to modify the database via an easy-to-use interface.
__________________
If you are going through hell... keep going (Winston Churchill)
Nexus7 is offline   Reply With Quote