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

Reply
 
Thread Tools Search this Thread Display Modes
Old 05-13-06, 01:25 AM   #1
Nexus7
Commander
 
Join Date: Jun 2004
Location: Switzerland
Posts: 469
Downloads: 2
Uploads: 0
Default Bring the model into the game?

Hi all,

I did play a little with 3dsmax and built a very raw model of a generic submarine.

Have been looking around a little for some documentation on how to proceed to apply mods to DW , for example how to take my model into DW, but no success

can someone please forward me to some existing documentation on how to bring a self-made model to work into the game and what the pre-requisites are? If you explain it right here I don't mind also (of course)

Thanks, Nexus7
__________________
If you are going through hell... keep going (Winston Churchill)
Nexus7 is offline   Reply With Quote
Old 05-13-06, 07:40 AM   #2
Fish
Eternal Patrol
 
Join Date: Sep 2001
Location: Netherlands
Posts: 1,923
Downloads: 0
Uploads: 0
Default

Perhaps Xabbarus should write a manual?
Fish is offline   Reply With Quote
Old 06-28-06, 07:39 AM   #3
Nexus7
Commander
 
Join Date: Jun 2004
Location: Switzerland
Posts: 469
Downloads: 2
Uploads: 0
Default

Anyone?
__________________
If you are going through hell... keep going (Winston Churchill)
Nexus7 is offline   Reply With Quote
Old 06-28-06, 08:33 AM   #4
LuftWolf
Ocean Warrior
 
Join Date: May 2005
Location: Free New York
Posts: 3,167
Downloads: 2
Uploads: 0
Default

I specifically don't know... anything to do with graphics has to be explained to me slowly using small words...
__________________
LW
LuftWolf is offline   Reply With Quote
Old 06-28-06, 10:41 AM   #5
XabbaRus
Navy Seal
 
Join Date: Sep 2001
Posts: 5,330
Downloads: 5
Uploads: 0


Default

Don't you mean using big words?

OK, I'll write something this weekend on how to get a model into the sim.
__________________
XabbaRus is offline   Reply With Quote
Old 06-28-06, 07:01 PM   #6
Sulikate
Grey Wolf
 
Join Date: May 2004
Location: South Korea
Posts: 834
Downloads: 32
Uploads: 0


Default

Quote:
Originally Posted by XabbaRus
Don't you mean using big words?

OK, I'll write something this weekend on how to get a model into the sim.
Cool.
__________________
Se flutua e não fala quack, afunde-o!








Sulikate is offline   Reply With Quote
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
Old 06-30-06, 05:54 PM   #8
awood6535
A-ganger
 
Join Date: Jun 2005
Location: Grove City ,Ohio
Posts: 72
Downloads: 0
Uploads: 0
Default

I can't get it to work
awood6535 is offline   Reply With Quote
Old 06-30-06, 06:20 PM   #9
XabbaRus
Navy Seal
 
Join Date: Sep 2001
Posts: 5,330
Downloads: 5
Uploads: 0


Default

With model names the dbase is case sensitive.

So make sure your dbase model file name matches that of the real file.
__________________
XabbaRus is offline   Reply With Quote
Old 06-30-06, 07:16 PM   #10
awood6535
A-ganger
 
Join Date: Jun 2005
Location: Grove City ,Ohio
Posts: 72
Downloads: 0
Uploads: 0
Default

C:\Documents and Settings\Family>\program files\sonalyst combat simulations\dangerous waters\database ReadWriteDWDB.exe export object.eod

'\program' is not recognized as an internal or external command, operable program or batch file.

(The command prompt is giving me the above when I enter the information from the top line. Please help. Can you tell me what I am doing wrong, or what is going wrong?)
awood6535 is offline   Reply With Quote
Old 07-01-06, 03:18 AM   #11
aaken
Planesman
 
Join Date: May 2005
Location: Naples
Posts: 188
Downloads: 42
Uploads: 1
Default

recheck the sintax. it seems it did not like >\program files
__________________
aaken is offline   Reply With Quote
Old 07-01-06, 06:19 AM   #12
LuftWolf
Ocean Warrior
 
Join Date: May 2005
Location: Free New York
Posts: 3,167
Downloads: 2
Uploads: 0
Default

In order to use jsteed's editor you have to have MS Access 2000 installed.
__________________
LW
LuftWolf is offline   Reply With Quote
Old 07-01-06, 08:50 AM   #13
awood6535
A-ganger
 
Join Date: Jun 2005
Location: Grove City ,Ohio
Posts: 72
Downloads: 0
Uploads: 0
Default

I got it to work about 2:30 am last night I tell you I need to learn dos agian
awood6535 is offline   Reply With Quote
Reply


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 11:01 PM.


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