SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Modern-Era Subsims > Dangerous Waters > DW Mod Workshop
Forget password? Reset here

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:52 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.