Merge pull request #12782 from abcdefg30/paraCrash

Fix airstrikes and paratroopers crashing missions
This commit is contained in:
reaperrr
2017-02-19 19:32:06 +01:00
committed by GitHub
12 changed files with 34 additions and 134 deletions

View File

@@ -46,23 +46,3 @@ OLDLST:
RejectsOrders:
Cargo:
Types: disabled
airstrike.proxy:
AlwaysVisible:
AirstrikePower:
Icon: airstrike
StartFullyCharged: True
ChargeTime: 120
SquadSize: 3
QuantizedFacings: 8
Description: Air Strike
LongDesc: Deploy an aerial napalm strike.\nBurns buildings and infantry along a line.
EndChargeSpeechNotification: AirstrikeReady
SelectTargetSpeechNotification: SelectTarget
InsufficientPowerSpeechNotification: InsufficientPower
IncomingSpeechNotification: EnemyPlanesApproaching
UnitType: a10
DisplayBeacon: True
BeaconPoster: airstrike
DisplayRadarPing: True
CameraActor: camera

View File

@@ -82,23 +82,3 @@ HQ:
-AirstrikePower:
Buildable:
Description: Provides an overview of the battlefield.\n Requires power to operate.
airstrike.proxy:
AlwaysVisible:
AirstrikePower:
Icon: airstrike
StartFullyCharged: True
ChargeTime: 120
SquadSize: 3
QuantizedFacings: 8
Description: Air Strike
LongDesc: Deploy an aerial napalm strike.\nBurns buildings and infantry along a line.
EndChargeSound: airredy1.aud
SelectTargetSound: select1.aud
InsufficientPowerSound: nopower1.aud
IncomingSound: enemya.aud
UnitType: a10
DisplayBeacon: True
BeaconPoster: airstrike
DisplayRadarPing: True
CameraActor: camera

View File

@@ -156,21 +156,5 @@ MoneyCrate:
UseCashTick: yes
airstrike.proxy:
AlwaysVisible:
AirstrikePower:
Icon: airstrike
StartFullyCharged: True
ChargeTime: 120
SquadSize: 1
QuantizedFacings: 8
Description: Air Strike
LongDesc: Deploy an aerial napalm strike.\nBurns buildings and infantry along a line.
EndChargeSound: airredy1.aud
SelectTargetSound: select1.aud
InsufficientPowerSound: nopower1.aud
IncomingSound: enemya.aud
UnitType: a10
DisplayBeacon: True
BeaconPoster: airstrike
DisplayRadarPing: True
CameraActor: camera

View File

@@ -124,21 +124,5 @@ FTNK:
Prerequisites: ~disabled
airstrike.proxy:
AlwaysVisible:
AirstrikePower:
Icon: airstrike
StartFullyCharged: True
ChargeTime: 120
SquadSize: 1
QuantizedFacings: 8
Description: Air Strike
LongDesc: Deploy an aerial napalm strike.\nBurns buildings and infantry along a line.
EndChargeSound: airredy1.aud
SelectTargetSound: select1.aud
InsufficientPowerSound: nopower1.aud
IncomingSound: enemya.aud
UnitType: a10
DisplayBeacon: True
BeaconPoster: airstrike
DisplayRadarPing: True
CameraActor: camera

View File

@@ -123,23 +123,3 @@ HQ:
-AirstrikePower:
Buildable:
Description: Provides an overview of the battlefield.\n Requires power to operate.
airstrike.proxy:
AlwaysVisible:
AirstrikePower:
Icon: airstrike
StartFullyCharged: True
ChargeTime: 120
SquadSize: 3
QuantizedFacings: 8
Description: Air Strike
LongDesc: Deploy an aerial napalm strike.\nBurns buildings and infantry along a line.
EndChargeSound: airredy1.aud
SelectTargetSound: select1.aud
InsufficientPowerSound: nopower1.aud
IncomingSound: enemya.aud
UnitType: a10
DisplayBeacon: True
BeaconPoster: airstrike
DisplayRadarPing: True
CameraActor: camera

View File

@@ -139,24 +139,8 @@ A10.IN:
Weapon: Napalm.in
airstrike.proxy:
AlwaysVisible:
AirstrikePower:
Icon: airstrike
StartFullyCharged: True
ChargeTime: 120
SquadSize: 3
QuantizedFacings: 8
Description: Air Strike
LongDesc: Deploy an aerial napalm strike.\nBurns buildings and infantry along a line.
EndChargeSound: airredy1.aud
SelectTargetSound: select1.aud
InsufficientPowerSound: nopower1.aud
IncomingSound: enemya.aud
UnitType: a10.in
DisplayBeacon: True
BeaconPoster: airstrike
DisplayRadarPing: True
CameraActor: camera
FACT.IN:
Inherits: FACT

View File

@@ -156,24 +156,8 @@ A10.IN:
Weapon: Napalm.in
airstrike.proxy:
AlwaysVisible:
AirstrikePower:
Icon: airstrike
StartFullyCharged: True
ChargeTime: 120
SquadSize: 3
QuantizedFacings: 8
Description: Air Strike
LongDesc: Deploy an aerial napalm strike.\nBurns buildings and infantry along a line.
EndChargeSound: airredy1.aud
SelectTargetSound: select1.aud
InsufficientPowerSound: nopower1.aud
IncomingSound: enemya.aud
UnitType: a10.in
DisplayBeacon: True
BeaconPoster: airstrike
DisplayRadarPing: True
CameraActor: camera
BOAT:
Health:

View File

@@ -26,3 +26,26 @@ Player:
PlayerResources:
DefaultCashLocked: True
DefaultCash: 5000
airstrike.proxy:
AlwaysVisible:
AirstrikePower:
Icon: airstrike
StartFullyCharged: True
ChargeTime: 120
SquadSize: 3
QuantizedFacings: 8
Description: Air Strike
LongDesc: Deploy an aerial napalm strike.\nBurns buildings and infantry along a line.
EndChargeSpeechNotification: AirstrikeReady
SelectTargetSpeechNotification: SelectTarget
InsufficientPowerSpeechNotification: InsufficientPower
IncomingSpeechNotification: EnemyPlanesApproaching
UnitType: a10
DisplayBeacon: True
BeaconPoster: airstrike
DisplayRadarPing: True
CameraActor: camera
ArrowSequence: arrow
ClockSequence: clock
CircleSequence: circles

View File

@@ -108,14 +108,11 @@ E7:
-AnnounceOnKill:
powerproxy.paratroopers:
AlwaysVisible:
ParatroopersPower:
DisplayBeacon: false
DropItems: E1,E1,E2,E3,E4
powerproxy.parazombies:
AlwaysVisible:
Inherits: powerproxy.paratroopers
ParatroopersPower:
DropItems: ZOMBIE,ZOMBIE,ZOMBIE,ZOMBIE,ZOMBIE
QuantizedFacings: 8
DisplayBeacon: false

View File

@@ -202,11 +202,11 @@ Camera.SAM:
Range: 2c0
powerproxy.paras1:
AlwaysVisible:
Inherits: powerproxy.paratroopers
ParatroopersPower:
DropItems: E1,E1,E1,E2,3TNK
powerproxy.paras2:
AlwaysVisible:
Inherits: powerproxy.paratroopers
ParatroopersPower:
DropItems: E1,E1,E1,E2,E2

View File

@@ -9,17 +9,15 @@ World:
Briefing: INCOMING REPORT:\n\nCommander! The Soviets have rendered us useless...\nReports indicate Soviet reinforcements are coming to finish us off... The situation looks bleak...\n
SovietSquad:
AlwaysVisible:
Inherits: powerproxy.paratroopers
ParatroopersPower:
DropItems: E1,E1,E2,E4,E4
QuantizedFacings: 8
DisplayBeacon: false
SovietPlatoonUnits:
AlwaysVisible:
Inherits: powerproxy.paratroopers
ParatroopersPower:
DropItems: E1,E1,E2,E4,E4,E1,E1,E2,E4,E4
QuantizedFacings: 8
DisplayBeacon: false
MINV:

View File

@@ -290,6 +290,9 @@ powerproxy.parabombs:
DisplayBeacon: True
BeaconPoster: pbmbicon
CameraActor: camera
ArrowSequence: arrow
ClockSequence: clock
CircleSequence: circles
powerproxy.sonarpulse:
AlwaysVisible:
@@ -319,6 +322,9 @@ powerproxy.paratroopers:
CameraActor: camera.paradrop
DisplayBeacon: true
BeaconPoster: pinficon
ArrowSequence: arrow
ClockSequence: clock
CircleSequence: circles
barracks.upgraded:
AlwaysVisible: