SUBSIM Radio Room Forums



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

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 06-15-19, 06:15 PM   #1
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,245
Downloads: 466
Uploads: 4


Default

s7rikeback has some info on loadouts and setting them up on his web site. Let me see if I can find those... He'll probably beat me to it though, since it is storming in the area, thunder and lightning, and power outages... sigh...

Edit: I don't know if you'll find these useful or not:

Loadout Descriptions.pdf (download link)
Loadouts.pdf (download link)

The first one is CapnScurvy, the second one, I do not know who the author is, but I do remember it...
__________________

"...and bollocks to the naysayers" - Jimbuna

Last edited by propbeanie; 06-15-19 at 07:14 PM. Reason: Linkie linkie
propbeanie is offline   Reply With Quote
Old 06-15-19, 07:14 PM   #2
s7rikeback
I break things
 
s7rikeback's Avatar
 
Join Date: Jan 2013
Location: Merry Old England
Posts: 770
Downloads: 1179
Uploads: 10


Default

Quote:
Originally Posted by propbeanie View Post
s7rikeback has some info on loadouts and setting them up on his web site. Let me see if I can find those... He'll probably beat me to it though, since it is storming in the area, thunder and lightning, and power outages... sigh...
Just checking in...

From a team member with FotrsU
Loadout Description by CapnScurvy

Loadouts are a way of having a unit carry different things, at different times.... determined by the units "Properties" page of the Mission Editor. By having the Mission files use a certain "loadout", you can have a plane carry 2, 500 lb bombs one time, and on another mission, have the same plane carry a torpedo, or carry 6, 200 pounders. The loadout has to be pre setup in both the units .eqp file, and defined in its .cfg file.

Let's take a look at the ATBS_Swordfish plane as an example....open up its .cfg file. You'll find three different loadouts "Named":

[Loadout 1] Name=Torpedo Type=4
[Loadout 2] Name=3x100Kg Bombs Type=2
[Loadout 3] Name=1x250Kg 2x100 Bombs Type=2

These names need to be exact for the three different "Named" loadouts that are found in the planes .eqp file. BUT, first you have to define the "Basic" planes equipment before getting to the extra loadout equipment that's "optional" to be used. Here's the "Basic" equipment that will be carried by the plane if no other optional "loadout" is used:

[Equipment 1] NodeName=B02 LinkName=NULL
[Equipment 2] NodeName=T01 LinkName=SH_Torpedo_Mk13
[Equipment 3] NodeName=B01 LinkName=NULL
[Equipment 4] NodeName=A01 LinkName=20mmSingleAir
[Equipment 5] NodeName=P01 LinkName=Pilot_Plane
[Equipment 6] NodeName=P02 LinkName=Pilot_Plane

All of the above goes into the units basic equipment inventory if no other loadout is used. This is important, because MANY of the stock game planes did not have a "basic" inventory of equipment. No bombs, no bombing! No Machine Gun to fire, the plane just fly's around without a care.

The above has two pilots (P01, P02), linked to their 3D model "Pilot_Plane". It has a machine gun linked to the A01 node, "20mmSingleAir". It has a torpedo in the T01 node position, linked to the 3D model "SH_Torpedo_Mk13". AND, no bombs (NULL) at the two B01, B02 node positions of the .dat model.

Notice the above does not have a "Loadout=" line as the following does. This tells you this is the "Basic" equipment loadout for the plane. It will always have this inventory whenever the plane is called on to appear in-game. ========

In contrast to the "Basic" inventory found in the planes .eqp file, there are three others.....Torpedo; 3x100Kg Bomb; 1x250Kg 2x100 Bombs. Notice the addition of the line "Loadout=Torpedo" below. This is the group of equipment that goes with the "Named" Torpedo loadout group: ;

Torpedo Loadout definition
[Equipment 7] NodeName=B02 LinkName=NULL Loadout=Torpedo
[Equipment 8] NodeName=T01 LinkName=SH_Torpedo_Mk13 Loadout=Torpedo
[Equipment 9] NodeName=B01 LinkName=NULL Loadout=Torpedo
[Equipment 10] NodeName=A01 LinkName=20mmSingleAir Loadout=Torpedo
[Equipment 11] NodeName=P01 LinkName=Pilot_Plane Loadout=Torpedo
[Equipment 12] NodeName=P02 LinkName=Pilot_Plane Loadout=Torpedo

Now you may ask, Why does the Torpedo group look exactly like the "Basic" group? What's the reason for having two?


I'm guessing that the reason was initially the "Basic" didn't carry anything. And since many of the mission files had the "Basic" inventory as the planes equipment "Loadout" already, by having the "Basic" actually have a torpedo, gave the plane one to use without going through the entire Campaign Mission files.

This loadout feature can be used for more than just plane armaments. Look into the Fotrs NDD_Shiratsuyu ship unit .cfg file. You'll find this:
[Loadout 1] Name=Flakversion Type=1

Go to the ships .eqp file and you'll see what the "Flakversion" named group of equipment inventory is. It changes several of the guns to AA Flak guns making it a more defensive ship unit than the "Basic" version. As a mission builder, you decide which version you wish to use, for the situation at hand. So, by having a couple of different "Loadout" groups for those landing craft, you can decide when making your mission to have them load soldiers, trucks, crates, whatever. As long as the group is specifically "Named", and its "linked" to a good 3D model, you can have many different pieces of inventory displayed.

hope this helps.
__________________

Last edited by s7rikeback; 06-15-19 at 07:26 PM.
s7rikeback is offline   Reply With Quote
Old 06-16-19, 04:41 AM   #3
JapLance
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Thank you both. I've downloaded them and will look at them when I'm finished with the 3D editing.
  Reply With Quote
Old 06-17-19, 07:48 AM   #4
JapLance
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Well, the loadout worked fine and a couple of midget subs can be selected through the mission editor.


Sorry for the dark tone, the mission I'm using to test the ship is at night.

But I'd like to know how to add simple cargo like you can with the merchant ships: crates, tanks, trucks etc. Apparently they're not loaded through the .eqp file. The cargo ships don't have any nodes or loadout entries in their .eqp and .cfg files, yet loadouts can be added through the mission editor. Is it a special feature of merchant ships? If so, how does the game know where to place them?

Another question:

Code:
[Loadout 1]
Name=MidgetSub
Type=1
What does the type do? I put 1 and it worked so I left it, but I've also noted Type=2 entries in other ships.



EDIT: Just as a test, I changed the Nisshin ship type to cargo and the ME now lets me add internal and external cargoes (that was the right term, not loadout). But visually there's no difference: they don't show up.

EDIT2: after a PM by s7rikeback I understood how to set up an external cargo. Unfortunately it seems to work only in merchant ships.

Last edited by JapLance; 06-17-19 at 03:58 PM.
  Reply With Quote
Old 06-18-19, 03:58 AM   #5
JapLance
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Option 1 Midget Subs version


Option 2 Tokyo Express version
  Reply With Quote
Old 06-18-19, 05:24 PM   #6
cdrsubron7
Sink'em All
 
cdrsubron7's Avatar
 
Join Date: Mar 2001
Location: Naperville, IL
Posts: 2,239
Downloads: 305
Uploads: 1


Default

__________________



Head Deep and Keep'em Astern" - LtCDR Samuel D Dealy
SHIV Guide | Imperial Japanese Navy | US Submarines



cdrsubron7 is offline   Reply With Quote
Old 06-19-19, 02:57 AM   #7
JapLance
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I just received the from ZUIKAKU1944 to use his 140 mm gun turret library for the Katori in this mod, so unless I find something really weird while testing I will release the Nisshin soon.
  Reply With Quote
Old 06-19-19, 11:13 AM   #8
s7rikeback
I break things
 
s7rikeback's Avatar
 
Join Date: Jan 2013
Location: Merry Old England
Posts: 770
Downloads: 1179
Uploads: 10


Default

Quote:
Originally Posted by propbeanie View Post
s7rikeback has some info on loadouts and setting them up on his web site. Let me see if I can find those... He'll probably beat me to it though, since it is storming in the area, thunder and lightning, and power outages... sigh...

Edit: I don't know if you'll find these useful or not:

Loadout Descriptions.pdf (download link)
Loadouts.pdf (download link)

The first one is CapnScurvy, the second one, I do not know who the author is, but I do remember it...
I think it was GAP!
__________________
s7rikeback is offline   Reply With Quote
Reply

Tags
request

Thread Tools
Display Modes

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 12:26 AM.


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