View Single Post
Old 05-24-16, 06:53 AM   #5817
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by vdr1981 View Post
Trev, how do you control French harbor air raids ? Which files are responsible and can we affect type and number of the planes involved in air raid?
Hi Vecko

There is a way to prevent AI attacks by using threat zones. They have their own layer in the campaign. I have never been able to verify if they actually work - I suspect that they don't.

Another option is to restrict the airbases. Here we can replace some large air bases (South UK and Northern Ireland) with smaller ones. The smaller bases have no long range bombers.

Next option is to control what is in each air base. This is done within the air base .cfg (found under "Land" unit.
Here is one example (\Silent Hunter 5\data\Land\LAB_LargeAirBaseGB)

Code:
[Unit]
ClassName=LargeAirBaseGB
3DModelFileName=data/Land/LAB_LargeAirBaseGB/LAB_LargeAirBaseGB
UnitType=406
MaxSpeed=0.000000
MinSpeed=0.000000
Length=1
Width=1

[AirGroup 1]
StartDate=19380101
EndDate=19410601
Squadron1Class=FHurricaneMkI
Squadron1No=48
Squadron2Class=TBBeaufort
Squadron2No=24
Squadron3Class=FBBeaufighter
Squadron3No=24
Squadron4Class=LBSAnson
Squadron4No=12
Squadron5Class=SSunderland
Squadron5No=6
Squadron6Class=LBWellington
Squadron6No=8
Squadron7Class=FBSpitfireMkVc
Squadron7No=36

[AirGroup 2]
StartDate=19410602
EndDate=19430601
Squadron1Class=FHurricaneMkI
Squadron1No=48
Squadron2Class=TBBeaufort
Squadron2No=12
Squadron3Class=FBMosquitoMkVI
Squadron3No=12
Squadron4Class=FBBeaufighter
Squadron4No=12
Squadron5Class=LBSUSMedWar
Squadron5No=6
Squadron6Class=SSunderland
Squadron6No=4
Squadron7Class=LBWellington
Squadron7No=6
Squadron8Class=FBSpitfireMkVc
Squadron8No=36
Squadron9Class=LBMkVIHalifax
Squadron9No=5
Squadron10Class=LBLancaster
Squadron10No=5

[AirGroup 3]
StartDate=19430602
EndDate=19451231
Squadron1Class=FHurricaneMkI
Squadron1No=48
Squadron2Class=FBMosquitoMkVI
Squadron2No=12
Squadron3Class=FBMosquitoMkXVIII
Squadron3No=12
Squadron4Class=LBSUSLateWar
Squadron4No=12
Squadron5Class=SSunderland
Squadron5No=10
Squadron6Class=SUSFloatEarlyWar
Squadron6No=6
Squadron7Class=SUSHeavyBomberVLR
Squadron7No=10
Squadron8Class=LBB17Fortress
Squadron8No=8
Squadron9Class=FBSpitfireMkVc
Squadron9No=36
Squadron10Class=LBMkVIHalifax
Squadron10No=5
Squadron11Class=LBLancaster
Squadron11No=5
You can see that this is split into 3 by date.
Each one sets the aeroplane type and number.
removing or reducing the long range bombers could give the result of less or smaller raids.
If you remove the longest range bomber - you will see that the radius in the air layer for that base type change to match.

Next would be to adjust the actual range of the unit in the air units files.

__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote