Thread: Adding Ships
View Single Post
Old 05-20-13, 05:09 PM   #10
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
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