View Single Post
Old 02-22-13, 08:51 AM   #3
fitzcarraldo
Argentinian Skipper
 
fitzcarraldo's Avatar
 
Join Date: Jul 2009
Location: Somewhere between Buenos Aires and the Bungo Suido
Posts: 5,128
Downloads: 3215
Uploads: 0


Default

Quote:
Originally Posted by peabody View Post
For merchants, if the random group has a "Generic Cargo" in the group then it may select the ones you add, provided they are the same "UnitType". At least it is suppose to choose one at random. But if the ships in the group are specific ships such as "Liberty Cargo" then NO it will not replace them with the ships you add.
So if you check the groups with the mission editor and they have "Generic" ship in them then it can select any from that type.
Many thanks for the fast answer!

This is from SH4\Data\Campaigns\Campaign\41a_Japs_Convoys.mis (RFB RSRDC campaign) (only an example):

..............................
[RndGroup 1]
GroupName=41a_Jap_Convoys_001
Category=0
CommandEntry=0
Long=16947500.000000
Lat=5195000.000000
Height=0.000000
DelayMin=60
DelayMinInterv=4260
SpawnProbability=70
RandStartRadius=0.000000
ReportPosMin=1440
ReportPosProbability=75
Heading=315.404999
Speed=9.000000
ColumnsNo=4
Spacing=700
DeleteOnLastWaypoint=true
CurrentInstanceID=0
GameEntryDate=19411201
GameEntryTime=0
GameExitDate=19420228
GameExitTime=0
MaxInst=10000
MaxUnitsCreated=100
DockedShip=false
NextWP=0

[RndGroup 1.RndUnit 1]
Type=102
Origin=Japan
Side=0
CargoExt=1
CargoInt=0
CfgDate=19420301
No=1
Escort=false
SpawnProbability=100
CrewRating=1

[RndGroup 1.RndUnit 2]
Type=102
Origin=Japan
Side=0
CargoExt=5
CargoInt=0
CfgDate=19420301
No=1
Escort=false
SpawnProbability=100
CrewRating=1

..............................................

I see the "type 102" ship, but where is the designation for a "Generic Cargo"? Is it explicit or implicit? Please, see the example below, from another mis file:



[RndGroup 1.RndUnit 3]
Class=KSCSTaihosan
Type=102

Origin=Japan
Side=0
CargoExt=3
CargoInt=0
CfgDate=19420101
No=1
Escort=false
SpawnProbability=100
CrewRating=3

There is a determined ship class. I think this is not a "Generic Cargo", true? Then, the ausence of a "class" entry in the first example is a signal of a "Generic cargo"?

Best regards.

Fitzcarraldo
__________________



My subject is War, and the pity of War. The Poetry is in the pity - Wilfred Owen.
fitzcarraldo is offline   Reply With Quote