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

Reply
 
Thread Tools Display Modes
Old 05-20-13, 05:09 PM   #1
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Trevally. View Post
Yes - convoys/traffic/taskforce etc that are spawned by the node gen within a campaign layer are controlled by country.

...

Here is unit 12

[AX3_.ConvoyUnit 12]
Type=102
CountryName=German
ExternalCargo=-1
InternalCargo=-1
CrewRating=2
Weapons=0
Sensors=0
Tactics=0
Camouflage=0
Required=false
No=1
SpawnProbability=100
GroupLinkId=0

As you can see there are some areas where it will follow rules - it will be German and a type 102 - cargo and rcrew rating are set.
Spawn prob will ensure that the convoys change if they are used more than once.
Thank you for your detailed answer Trevally. Everything is more or less clear here. Something drew my attenction though: it is the Camouflage setting. Does it mean that additional skins need to be activated for the game to use them in campaign? can this be the reason that only the first skin set in roster cfg files is applied duing test missions?

Quote:
Originally Posted by Trevally. View Post
Here is the gen node :-

[LanesGraph.Node 63.NodeGroup 2]
Type=AX3_
Name=AX3
Country=German
Speed=9.000000
StartDate=19380101
EndDate=19451231
ReportPosTime=-1
ReportPosProbability=0

[LanesGraph.Node 63.NodeGroup 2.NGMission 1]
Name=Tobruk
ObjectiveType=0
TargetNode=Tobruk
PathNodes=
UsePath=false
CooldownMonths=0
CooldownDays=16.000000
CrtCooldownHours=12.000000
CooldownHours=1
Priority=0
RewardPoints=0
StartDate=19420622
EndDate=19420901

So - add new ships and the type will suck them into the convoy system if the country roster has them
One more question: how cooldown settings are used? I know you explained them many times in OH's forum, but I was inattentive and I can't find your explainations anymore

Quote:
Originally Posted by Trevally. View Post
The planes are set by country and class name - here is an airfield and how it uses planes:-

[Unit]
ClassName=CapeMayNAS_US
3DModelFileName=data/Land/LAB_LargeAirBaseUS/LAB_LargeAirBaseUS
UnitType=406
MaxSpeed=0.000000
MinSpeed=0.000000
Length=1
Width=1

[AirGroup 1]
StartDate=19380101
EndDate=19451231
Squadron1Class=LBSUSMedWar
Squadron1No=3
Squadron2Class=SUSFloatEarlyWar
Squadron2No=20

So here we can add new air groups by date to bring in new planes or we can use the campaign layers to add new airfields
One last

You said "planes are set by country and class name", but I cannot see any mention to nationality in the above code...
gap is offline   Reply With Quote
Old 05-21-13, 01:14 PM   #2
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by gap View Post
Does it mean that additional skins need to be activated for the game to use them in campaign? can this be the reason that only the first skin set in roster cfg files is applied duing test missions?
The skins are controlled by the grouptypedef files in the same way as senors and crew etc (early, mid and late war) - this does work


Quote:
One more question: how cooldown settings are used? I know you explained them many times in OH's forum, but I was inattentive and I can't find your explainations anymore
Cooldown is used where units are told to move from a to b from date to date. It sets how often this should happen (ie every day etc)



Quote:
One last



Quote:
You said "planes are set by country and class name", but I cannot see any mention to nationality in the above code...
The country is from the roster where the airfields are controlled.
So only the USA has the one I posted
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 05-21-13, 02:21 PM   #3
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Trevally. View Post
The skins are controlled by the grouptypedef files in the same way as senors and crew etc (early, mid and late war) - this does work
Does it mean that start/end dates are ignored? I remember having been told by Uekel that only the first three skins set in an unit cfg file are used; three like the categories you are listing: early, mid and late. Is this a cohincidence?

Quote:
Originally Posted by Trevally. View Post
The country is from the roster where the airfields are controlled.
So only the USA has the one I posted
So, an US airfield can spawn only US planes?
gap is offline   Reply With Quote
Old 05-21-13, 02:35 PM   #4
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by gap View Post
Does it mean that start/end dates are ignored? I remember having been told by Uekel that only the first three skins set in an unit cfg file are used; three like the categories you are listing: early, mid and late. Is this a cohincidence?
Without having tested this fully - I am not sure.
I have checked using this in convoys and for the escorts. The skins did change. Nice camo on ecsorts etc



Quote:
So, an US airfield can spawn only US planes?
No - only those planes defined in the airfield cfg
These are from the land folder within the roster. So only Germany has the "LargeAirBaseGe"
When you then check the data/land - you will see the folder "LAB_LargeAirBaseGe" and within -


[Unit]
ClassName=LargeAirBaseGe
3DModelFileName=data/Land/LAB_LargeAirBaseGe/LAB_LargeAirBaseGe
UnitType=406
MaxSpeed=0.000000
MinSpeed=0.000000
Length=1
Width=1

[AirGroup 1]
StartDate=19380101
EndDate=19451225
Squadron1Class=FBf109
Squadron1No=48
Squadron2Class=DBJu87Stuka
Squadron2No=24
Squadron3Class=LBJu88
Squadron3No=12
Squadron4Class=LBSFW200
Squadron4No=4

So here we see that there is only one air group to cover the whole war, what planes it will use and how many they have.
New air groups can be added to evolve this by date
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 05-21-13, 04:36 PM   #5
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Trevally. View Post
No - only those planes defined in the airfield cfg
These are from the land folder within the roster. So only Germany has the "LargeAirBaseGe"
When you then check the data/land - you will see the folder "LAB_LargeAirBaseGe" and within -

...

So here we see that there is only one air group to cover the whole war, what planes it will use and how many they have.
New air groups can be added to evolve this by date
I see, but what should I do if I wanted an Italian airfield to spawn German planes? As far as I can see Squadron/Groups are set by classes and number of units composing them, but I don't see any nation setting
gap is offline   Reply With Quote
Old 05-22-13, 07:27 AM   #6
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by gap View Post
I see, but what should I do if I wanted an Italian airfield to spawn German planes? As far as I can see Squadron/Groups are set by classes and number of units composing them, but I don't see any nation setting
For this - you would place an Italian airfield ontop of the German one.
Or you could make a new airfield that lists the German and Italian planes you want.
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 05-22-13, 07:43 AM   #7
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Trevally. View Post
For this - you would place an Italian airfield ontop of the German one.
This is clear

Quote:
Originally Posted by Trevally. View Post
Or you could make a new airfield that lists the German and Italian planes you want.
German and Italian planes?

This contradicts what I have (mis)understood from your previous explainations. Let's make an example:

I want a British airfield to spawn both British and American P-51 Mustang (same unit, different nationality and skins). Is it possible? And if yes, where do I set aircraft nationality.

Going by what I have understood so far, your answer should be "no, a British airfield can only deploy British planes", but again, your second statement seems to contradict the previous sentence
gap is offline   Reply With Quote
Reply

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 10:19 PM.


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.