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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 09-03-15, 01:47 PM   #21
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

Quote:
Originally Posted by gap View Post
Sorry: many questions in a row
Gap

How do you switch convoy/hunter group leaders in GroupTypeDefs.cfg?

This is the example of one convoy from mentioned file...Note that convoy leader is always first unit in convoy section (marked in red) and it controls tactics for both escorts and merchants...If leader merchant is damaged all tactics comes to a halt and the game CTD's some time after...If leader dies instantly , convoy leaderships is instantly transferred to 2nd unit in convoy section (marked in green) and so on....

Code:
[KX_]
Role=1
Doctrine=0
EscortPosition=1
EscortSpacing=900.000000
ConvoyRowSpacing=900.000000
ConvoyColSpacing=900.000000
Columns=0
IsWolfPack=false

[KX_.EscortUnit 1]
Type=4
CountryName=British
ExternalCargo=-1
InternalCargo=-1
CrewRating=2
Weapons=0
Sensors=0
Tactics=0
Camouflage=0
Required=false
No=4
SpawnProbability=100
GroupLinkId=0

[KX_.EscortUnit 2]
Type=4
CountryName=British
ExternalCargo=-1
InternalCargo=-1
CrewRating=3
Weapons=0
Sensors=0
Tactics=0
Camouflage=0
Required=false
No=2
SpawnProbability=50
GroupLinkId=0

[KX_.EscortUnit 3]
Type=6
CountryName=British
ExternalCargo=-1
InternalCargo=-1
CrewRating=3
Weapons=0
Sensors=0
Tactics=0
Camouflage=0
Required=false
No=1
SpawnProbability=50
GroupLinkId=0

[KX_.EscortUnit 4]
Type=4
CountryName=British
ExternalCargo=-1
InternalCargo=-1
CrewRating=2
Weapons=0
Sensors=0
Tactics=0
Camouflage=0
Required=false
No=2
SpawnProbability=20
GroupLinkId=0

[KX_.EscortUnit 5]
Type=4
CountryName=American
ExternalCargo=-1
InternalCargo=-1
CrewRating=2
Weapons=0
Sensors=0
Tactics=0
Camouflage=0
Required=false
No=4
SpawnProbability=50
GroupLinkId=0

[KX_.ConvoyUnit 1]
Type=102
CountryName=British
ExternalCargo=9
InternalCargo=1
CrewRating=2
Weapons=0
Sensors=0
Tactics=0
Camouflage=0
Required=false
No=3
SpawnProbability=100
GroupLinkId=0

[KX_.ConvoyUnit 2]
Type=102
CountryName=British
ExternalCargo=8
InternalCargo=0
CrewRating=2
Weapons=0
Sensors=0
Tactics=0
Camouflage=0
Required=false
No=6
SpawnProbability=100
GroupLinkId=0

[KX_.ConvoyUnit 3]
Type=102
CountryName=British
ExternalCargo=8
InternalCargo=-1
CrewRating=2
Weapons=0
Sensors=0
Tactics=0
Camouflage=0
Required=false
No=3
SpawnProbability=50
GroupLinkId=0
It is the same for HK groups, the only difference is that in convoy section you'll find only warships there, instead of merchants like in regular convoy.

Aren't some side effects to be expected? I.e. all the escorts starting to chase any attacking enemy, and leaving capital ships totally unescorted, or even whorse capital ships behaving like escorts and exposing themselves to unnecessary risks?
Capital ships will act like that even now most of the time, maybe they are trying to ram submerged contact or something...Only TDW knows...To be honest, IRAI is so complex that sometimes is really hard to distinguish is AI really smart or really stupid...

I did recently an extensive search of TDW's posts from last few years regarding convoy leaders issue and I could't find anything to suggest that this shouldn't work . He even said in one post something about a "problem in campaign files which is responsible why is group leader in HK groups spawned in campaign always large capital ship"...

EDIT:
Oh yes, and one more thing...CTD will only occur if leading unit has warship/escorts under her control. If warship is alone or if there's only merchants in the group, CTD wont occur...

Last edited by vdr1981; 09-03-15 at 02:36 PM.
vdr1981 is offline   Reply With Quote
 


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 04:58 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.