Some errors in _transport and _event scripts?
Posted: Tue Feb 18, 2020 6:38 am
Some of the scripts in _transports.txt puzzle me:
//USA Transfer units to Antwerp
$Transport
if_Date=6/1/1943
if_Country=3
//Allies control the 3 Western ports in France
//Panzermike: this comment makes no sense, should be "Allies control Antwerpen" I think since hex 143,57 is Antwerp?
xyControl=143,57,Allies
if_Alliance=Allies
lifespan=continuous
actionCountry=3
range=30
landAssets=1
airAssets=1
hqAsset
xyArea=143,57
xyArea=7,21
$End
//UK Transfer units to Rotterdam
$Transport
if_Date=6/1/1943
if_Country=3
if_Alliance=Allies
// Panzermike: it says the Allies must control 143,57 (which is Antwerp). Should this not be 143,58 (Rotterdam)?
xyControl=143,57,Allies
lifespan=continuous
actionCountry=1
range=30
landAssets=3
hqAsset
xyArea=143,58
xyArea=134,57
$End
//UK Transfer units to Amsterdamn
$Transport
if_Date=6/1/1943
if_Country=3
if_Alliance=Allies
xyControl=143,57,Allies
// Panzermike: it says the Allies must control 143,57 (which is Antwerp). Should this not be 144,60 (Amsterdam)?
lifespan=continuous
actionCountry=1
range=30
landAssets=3
hqAsset
xyArea=144,60
xyArea=134,57
$End
Some of the Atlantic Wall events from the _events.txt are also not quite right I think.
As far as I know the Coastal Defense unit adds 20% defense to an attack FROM a beach hex. The Coastal Defense should thus not be ON a beach hex, but NEXT to it. Also, If there is NO adjacent beach hex, the Coastal Defense does nothing.
So here they are:
//Atlantic Wall
$GiveResource
if_Date=1/1/1943
lifespan=tillTrigger
actionCountry=6
//West France (plains hex)
xyArea=131,51,22
//Normandy (beach) - This is a beach hex!
xyArea=133,48,22
//Lille (plains)
xyArea=140,56,22
//Netherlands (ocean) - This is an ocean hex!
xyArea=141,61,22
AIOnlyEvent=Axis
$End
//Atlantic Wall
$GiveResource
if_Date=6/1/1943
lifespan=tillTrigger
actionCountry=6
//West France (land sea plains) - There is no adjacent beach hex, so what is the purpose?
xyArea=134,46,22
//Lille (land sea plains) - There is no adjacent beach, so what is the purpose?
xyArea=141,57,22
//Netherlands (ocean) - This is an ocean hex! Also this one is already in the Atlantic Wall event for 1/1/1943
xyArea=141,61,22
AIOnlyEvent=Axis
$End
//Atlantic Wall
$GiveResource
if_Date=1/1/1944
lifespan=tillTrigger
actionCountry=6
//West France (land sea woods) - There is no adjacent beach hex, so what is the purpose?
xyArea=134,41,22
//Normandy (beach) - This is a beach hex!
xyArea=135,53,22
//Lille (land plains) - There is no adjacent beach, so what is the purpose?
xyArea=142,57,22
//Netherlands
xyArea=147,62,22
AIOnlyEvent=Axis
$End
//USA Transfer units to Antwerp
$Transport
if_Date=6/1/1943
if_Country=3
//Allies control the 3 Western ports in France
//Panzermike: this comment makes no sense, should be "Allies control Antwerpen" I think since hex 143,57 is Antwerp?
xyControl=143,57,Allies
if_Alliance=Allies
lifespan=continuous
actionCountry=3
range=30
landAssets=1
airAssets=1
hqAsset
xyArea=143,57
xyArea=7,21
$End
//UK Transfer units to Rotterdam
$Transport
if_Date=6/1/1943
if_Country=3
if_Alliance=Allies
// Panzermike: it says the Allies must control 143,57 (which is Antwerp). Should this not be 143,58 (Rotterdam)?
xyControl=143,57,Allies
lifespan=continuous
actionCountry=1
range=30
landAssets=3
hqAsset
xyArea=143,58
xyArea=134,57
$End
//UK Transfer units to Amsterdamn
$Transport
if_Date=6/1/1943
if_Country=3
if_Alliance=Allies
xyControl=143,57,Allies
// Panzermike: it says the Allies must control 143,57 (which is Antwerp). Should this not be 144,60 (Amsterdam)?
lifespan=continuous
actionCountry=1
range=30
landAssets=3
hqAsset
xyArea=144,60
xyArea=134,57
$End
Some of the Atlantic Wall events from the _events.txt are also not quite right I think.
As far as I know the Coastal Defense unit adds 20% defense to an attack FROM a beach hex. The Coastal Defense should thus not be ON a beach hex, but NEXT to it. Also, If there is NO adjacent beach hex, the Coastal Defense does nothing.
So here they are:
//Atlantic Wall
$GiveResource
if_Date=1/1/1943
lifespan=tillTrigger
actionCountry=6
//West France (plains hex)
xyArea=131,51,22
//Normandy (beach) - This is a beach hex!
xyArea=133,48,22
//Lille (plains)
xyArea=140,56,22
//Netherlands (ocean) - This is an ocean hex!
xyArea=141,61,22
AIOnlyEvent=Axis
$End
//Atlantic Wall
$GiveResource
if_Date=6/1/1943
lifespan=tillTrigger
actionCountry=6
//West France (land sea plains) - There is no adjacent beach hex, so what is the purpose?
xyArea=134,46,22
//Lille (land sea plains) - There is no adjacent beach, so what is the purpose?
xyArea=141,57,22
//Netherlands (ocean) - This is an ocean hex! Also this one is already in the Atlantic Wall event for 1/1/1943
xyArea=141,61,22
AIOnlyEvent=Axis
$End
//Atlantic Wall
$GiveResource
if_Date=1/1/1944
lifespan=tillTrigger
actionCountry=6
//West France (land sea woods) - There is no adjacent beach hex, so what is the purpose?
xyArea=134,41,22
//Normandy (beach) - This is a beach hex!
xyArea=135,53,22
//Lille (land plains) - There is no adjacent beach, so what is the purpose?
xyArea=142,57,22
//Netherlands
xyArea=147,62,22
AIOnlyEvent=Axis
$End
