![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 | |||||
Ocean Warrior
![]() Join Date: Dec 2007
Location: Between test depth and periscope depth
Posts: 3,021
Downloads: 175
Uploads: 16
|
![]()
The purpose of this thread is to show you how to add gun mounts to playable units.
Tools required: S3D Notepad The first step is to choose what unit you want to work with. For the purpose of this tutorial I have chosen the Ohio Class Submarine. Now what we want to do is open up the .dat file using S3D. Open up the main node for our unit. Now right click that node and highlight "Append New Child Chunk", then select Nodes and then Node. This should insert a new Node at the end of the other nodes. Just like the previous step select this node, right click and highlight "Append New Child Chunk", then add a Label. So your new node with its label should look like this: XXX:Node- <New Label> XXX:<New Label>XXX= the number for those entries. Now we want to name our new node. To do this select our label sub-entry. On the right side you should get a text box that you can type in. Currently <New Label> is in that box. Enter "slot_M01_NSS_S18" into that box. Remember how we added the new node to the unit in the beginning? Now we have to do that again in the node you just created. This time enter "cfg#M01_NSS_S18" into the our new <New Label> box. Let's break this down so you understand what you are entering. cfg#M01_NSS_S18 M=Main Armament Variants of this are: A= Anti Aircraft S= Secondary Armament 01=Mount Number NSS_S18=Unit Name Armed with that knowledge you can now change the label to suit your needs. Should look like this: Playable Unit Now we want to position the node where we want our gun at. Select the first node we created and use this menu to position it. A red dot in the model preview represents where you node is at at that moment. Once you get your node positioned where you want save it. That's it for the .dat file. Next is the sim file so go ahead and open that up. First thing you want to do here is right click and "Append New Chunk," select the Controllers then the Controller option. Select this new entry and a text box will show up on the right. Enter obj_Turret in that field. Now right click on our new entry and select "Append New Child Chunk", Properties, SH4, SHSim, obj_Turret. So we should now have the following: XXX: obj_Turret XXX: obj_TurretNow select the sub-entry and a menu appears on the right. What we are interested in in this menu is Traverse and Elevation. Under each are the tree things we are primarily interested in; min, max, and speed. For traverse min is how far left the mount can rotate, and max is how far right. Speed is the speed the mount rotates in º/sec. The same settings for Elevation should be self explanatory. That does it for the sim file! Next we open the units UPC file found in the Submarine/NSS_Unit Name folder. Our first stop here is the compartments listing. We want to add a new compartment to our unit. For Ohio I added this compartment: Quote:
Quote:
Quote:
Quote:
Quote:
__________________
USS Kentucky SSBN 737 (G) Comms Div 2003-2006 Qualified 19 November 03 Yes I was really on a submarine. |
|||||
![]() |
![]() |
|
|