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 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 04-07-18, 07:23 PM   #1
schlechter pfennig
Commander
 
Join Date: Mar 2010
Posts: 457
Downloads: 52
Uploads: 7
Default aircraft loadout help

It's been years; I've lost my notes (and my mind). I forget how to adjust/create loadouts for aircraft; how to utilize linknames, types, etc.
schlechter pfennig is offline   Reply With Quote
Old 04-08-18, 06:00 AM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

The way aircraft loadouts are set is not too dissimilar from the setting of sea unit equipments, except that we can have more than one loadout for the same aircraft. The key is plane's cfg file, where the loadouts themselves are defined:

[Loadout #]
a sequential number. Different loadouts have different numbers.

Name=*
this is the name assigned to any given loadout. The same name must be used in aircraft eqp file.

Type=#
this is a number indicating what type of bombs any loadout is composed of. If memory serves me well, 1, 2 and 3 are used for heavy, medium and light bombs respectively, whereas 4 means torpedoes and 5 is used for depth charges.

Let's see aircraft .eqp file structure now.

At the beginning we usually find the so called "Basic Loadout definition". This loadout has no name/type and subsequently, unlike other loadouts, it is not set in unit's cfg file the way we have seen above.

IIRC in stock game this type of loadout is used for aircraft outfits which don't include bombs, but due to a bag (or a feature?) in game code, aircraft with no bombs just fly over their potential targets, not using their guns against enemies, nor reporting them to the nearest friendly base/unit. Seeing that, and seeing that aircraft with basic loadouts are the ones most commonly spawned by airbases in game, many mods and super mods feature bombs also for this basic loadout. Settings for basic loadouts:

[Equipment #]
replace the # with a sequantial number. The numbering must be kept from the beginning to the end of the .eqp file, 1 being the number of the first equipment definitions on the top of the file, and the last equipment at the bottom of the file having the highest number.

NodeName=*
this the name of each node on aircraft model that armaments get attached to. Usually they are used for attaching bombs to them, in which case they are numbered B01, B02, etc, but there can also be nodes used for light guns (in which case they are named A01, A02, ...), cannons (M01, M02...), search lights (L01, L02...), etc

LinkName=*
this is the name of the equipment/armament that we want to be attached to any given equipment node on the aircraft model. The equiments must be stored in a file in the library folder. If no equipment is desired for a specific node, you can set this property to NULL instead of specifying an equipment name.

Repeat the three rows above for each node on the aircraft model. After you have finished with the basic loadout, you can keep on with subsequent loadous (the ones set in aircaft cfg file). The settings are the entries are the same as above:

[Equipment #]
NodeName=*
LinkName=*

...bu add to them:

Loadout=*
this is the loadout name (as set in unit's cfg file) that any equipment definition subsequent to 'basic loadout definitions' applies to.

Ideally, you should have one equipment definition for each node and for each loadout. If, for instance, you have an aircraft with 8 equipment nodes and 3 loadouts defined in its cfg file, you should have 8 x (3+1) = 32 equipment definitions in its eqp file (the +1 coming from the basic loadout).

One last note. It is my understanding that we have no much control over the type of bomb loadouts among the ones set for each aircraft, that we will actually meet in game. I think the game picks up one of them based on the types of available loadouts and on game circumstances. I also seem to remember having read that airbase veterancy level might play a role in this logic, but that's all I can say on this topic. Maybe others can shed some light on it.

That should be all from my part. I hope I have been clear enough but don't hesitate asking in case you need some extra clarification
__________________
_____________________
|May the Force be with you!|
...\/

Last edited by gap; 04-08-18 at 10:44 AM.
gap is offline   Reply With Quote
Old 04-08-18, 09:07 PM   #3
schlechter pfennig
Commander
 
Join Date: Mar 2010
Posts: 457
Downloads: 52
Uploads: 7
Default

Quote:
Originally Posted by gap View Post
The way aircraft loadouts are set is not too dissimilar from the setting of sea unit equipments, except that we can have more than one loadout for the same aircraft. The key is plane's cfg file, where the loadouts themselves are defined:

. . .

That should be all from my part. I hope I have been clear enough but don't hesitate asking in case you need some extra clarification
Wow! Thanks! This was incredibly detailed. I really appreciate the time and effort you put into explaining this. That was far more than I expected, and so doubly --even triply-- appreciated!

Danke!

schlechter pfennig is offline   Reply With Quote
Old 04-09-18, 02:58 AM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Mit Vergnügen, Sir
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 04-09-18, 04:40 PM   #5
padi
Officer
 
Join Date: Sep 2012
Posts: 249
Downloads: 126
Uploads: 0
Default

Quote:
Originally Posted by gap View Post
The way aircraft loadouts are set is not too dissimilar from the setting of sea unit equipments, except that we can have more than one loadout for the same aircraft.
You can also have more than one loadout for ships.
Look into my mod and search for the "Grom" or the "Hunt" to see how this works...
I use it to have a corresponding loadout for ships which have served in multiple nations...
__________________
My Mediafire Page

Join the Real ASW Mod Discord-Server:
https://discord.gg/Yg5ZE25
padi is offline   Reply With Quote
Old 04-09-18, 05:13 PM   #6
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by padi View Post
You can also have more than one loadout for ships.
Look into my mod and search for the "Grom" or the "Hunt" to see how this works...
I use it to have a corresponding loadout for ships which have served in multiple nations...
Yes, of course we can change ship armaments by date if that's what you meant, but unlike aircraft we can't set the same ship class to display more than one armament outfit at any given time. Well, we can actually, but for doing that we need to create a proxy clone of that ship first
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 04-09-18, 05:19 PM   #7
padi
Officer
 
Join Date: Sep 2012
Posts: 249
Downloads: 126
Uploads: 0
Default

Quote:
Originally Posted by gap View Post
Yes, of course we can change ship armaments by date if that's what you meant, but unlike aircraft we can't set the same ship class to display more than one armament outfit at any given time. Well, we can actually, but for doing that we need to create a proxy clone of that ship first


No, we can do it!
For example we can have one Grom class with Mark VII and one with BH 200s right next to each other and the only difference is the different loadout which is assigned via the mission editor, the .cfg and .eqp...
__________________
My Mediafire Page

Join the Real ASW Mod Discord-Server:
https://discord.gg/Yg5ZE25
padi is offline   Reply With Quote
Old 04-09-18, 05:31 PM   #8
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by padi View Post
No, we can do it!
For example we can have one Grom class with Mark VII and one with BH 200s right next to each other and the only difference is the different loadout which is assigned via the mission editor, the .cfg and .eqp...
Good

Do you set in mission editor which loadout is to be used?
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 04-10-18, 03:50 AM   #9
padi
Officer
 
Join Date: Sep 2012
Posts: 249
Downloads: 126
Uploads: 0
Default

Quote:
Originally Posted by gap View Post
Do you set in mission editor which loadout is to be used?

Yes
__________________
My Mediafire Page

Join the Real ASW Mod Discord-Server:
https://discord.gg/Yg5ZE25
padi 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 06:03 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.