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 01-24-12, 12:06 AM   #1
Darkhunter
Watch
 
Join Date: Jul 2006
Posts: 29
Downloads: 4
Uploads: 0
Default Misplaced Weapons? Incorrect Meshes?

Another topic about modding DW. Trying to make this short and sweet.

Question: How do I place weapons/armaments on the model's hardpoints correctly? Specifically, can someone indicate what programs are needed?

Here are some images:




The above weapons are placed as if on a P-3 Orion air frame, since that's the base model I used.

I've searched the forums for a while but I'm not quite sure what to call the above. Is it a mesh problem? Model problem? Something in the data? Searches haven't been too handy. Looked all through DWedit, nothing there. Cmputil and decompressed just about everything in the DW folder, still nothing.

From what I gather it seems a hex editor may be needed or some altering with the model through 3dmax. I have neither, although I'm willing to at least check out a hex editor.

Could anyone steer me in the right direction to absolve this problem?

As always, I appreciate any responses

Regards,
Dark
Darkhunter is offline   Reply With Quote
Old 01-24-12, 02:01 AM   #2
Molon Labe
Silent Hunter
 
Join Date: Jun 2004
Location: Along the Watchtower
Posts: 3,810
Downloads: 27
Uploads: 5
Default

DWEdit, Launcher dialog. Look for the sets of coordinates.

The first set is for the center point.
The second set is for a puff of smoke where the weapon launches (so you can put it at the muzzle of a gun, for example).
The third is used for an array of launchers, to designate a corner. If this is used, the second set also designates a corner.
__________________
Molon Labe is offline   Reply With Quote
Old 01-25-12, 12:52 AM   #3
Darkhunter
Watch
 
Join Date: Jul 2006
Posts: 29
Downloads: 4
Uploads: 0
Default

Gah! I missed it beforehand. Either way, anything doable in the database editor makes me happy. Haven't been able to try the weapon relocation yet but I'll surely do this tomorrow and post back if I failed or succeeded (for all of my many fans who are eagerly awaiting details on this thread, you know who you are don't hide it).

Thanks again ML. Two thumbs up in your direction!
Darkhunter is offline   Reply With Quote
Old 01-25-12, 07:04 PM   #4
Fleet Command CC
Engineer
 
Join Date: Sep 2008
Location: UK
Posts: 219
Downloads: 15
Uploads: 3
Default

Hey Darkhunter.

Looks like you've started a nice little project here, the Tomcat looks like the one a friend gave me for Fleet Command & DW.

I did something like this before, but got board with having to mess around with interface files with the Hex editor, its just to much work.

If you need any help with models let me know.
__________________
Britannia Rule Waves (Yet right not now ) and Who Dares Wins

ASrock 4Core1600P35-Wifi, Intel Core 2 Extreme X6800 2.93GHz, 4GB OCZ PC2-6400 ATI CrossFire Edition, Sapphire 2600XT 256MB GDDR4 PCI-E, 500GB Sansumg SATAII HDD 16MB Cache, XP
Fleet Command CC is offline   Reply With Quote
Old 01-25-12, 10:05 PM   #5
Darkhunter
Watch
 
Join Date: Jul 2006
Posts: 29
Downloads: 4
Uploads: 0
Default

Quote:
Originally Posted by Fleet Command CC View Post
Hey Darkhunter.

Looks like you've started a nice little project here, the Tomcat looks like the one a friend gave me for Fleet Command & DW.

I did something like this before, but got board with having to mess around with interface files with the Hex editor, its just to much work.

If you need any help with models let me know.
Hey FCCC!

Thanks very much for the offer, I will likely take you up on that. I just typed in "Tomcat" in the database editor and that's the model that appeared, but I think this may have been created from you or a friend of yours. Hope it's okay that I'm using it! If not...well I'll just use it in secret hehe.

I'm working on repositioning the weapons but I have no other method than formulating a guess for the coordinates and then fine tuning from there. Blast cartesian coordinate planes!
Darkhunter is offline   Reply With Quote
Old 01-26-12, 12:42 AM   #6
Darkhunter
Watch
 
Join Date: Jul 2006
Posts: 29
Downloads: 4
Uploads: 0
Default

EDIT 1: SOLUTION FOUND. Finally figured out it was "Ship class ID" under the "Ship Class Dialog" in DWedit. It was just my luck that the object ID/Index number was coincidentally the same as the ship class ID/Index number. Unfortunately, this doesn't solve the incorrect weapon placements for *cloned* objects. Changing the launchers location changes the location for all platforms associated.

Hmmm, I've run into more problems.

In controllers.ini, the name of the platform is followed by a number; I.E. for P-3 Orion it's: [Interface] "P3" 25. However, the number "25" seems arbitrary and does not match the DWEdit's index number of "35." Out of shear coincidence DWedit's index of "21" for the F-14 Tomcat coincides with the controllers.ini of "21." In my controllers.ini I have the following:

[Interface] "F-14" 21

I copied the P-3 interface, changed the name and number to the above, and when I go in-game the P-3 model is replaced with the F-14. Great, right? Not really. Any time I make changes to the launchers it affects all platforms associated. I figured that would happen so I tried making my own launchers but I have to tie the launchers to an object/platform. I cloned a P-3 Orion and changed its model and stats, but the controllers.ini cannot recognize this clone since it can't recognize the index number. The index number is 1157 and I get a CTD when I click quick mission, mission, etc.

My question is how do I find the "correct" platform/index/whatever number?


Again, grateful for any help thrown my way.

Last edited by Darkhunter; 01-30-12 at 01:27 PM.
Darkhunter 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 01:02 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.