Overhaul ParatroopersPower:

- Adds support for multiple drop planes.
- Adds support a beacon and camera.
- Prevents the plane from circling if it can’t unload.
This commit is contained in:
Paul Chote
2014-07-07 21:11:41 +12:00
parent fa83507a62
commit ab26d4b0ad
10 changed files with 219 additions and 66 deletions

View File

@@ -32,7 +32,7 @@
FRIGATE:
ParaDrop:
LZRange: 1
DropRange: 1c0
Inherits: ^Plane
Tooltip:
Name: Frigate
@@ -121,7 +121,7 @@ ORNI.bomber:
CARRYALL.infantry:
ParaDrop:
LZRange: 5
DropRange: 5c0
ChuteSound:
Inherits: ^Plane
Health:
@@ -152,7 +152,7 @@ CARRYALL.infantry:
BADR:
Inherits: CARRYALL.infantry
ParaDrop:
LZRange: 4
DropRange: 4c0
Tooltip:
Name: Crate Carryall
LeavesHusk:

Binary file not shown.

View File

@@ -1,6 +1,6 @@
BADR:
ParaDrop:
LZRange: 4
DropRange: 4c0
Inherits: ^Plane
Health:
HP: 300

View File

@@ -140,6 +140,17 @@ CAMERA:
DetectCloaked:
Range: 10
camera.paradrop:
Immobile:
OccupiesSpace: false
Health:
HP: 1000
RevealsShroud:
Range: 6c0
ProximityCaptor:
Types: Camera
BodyOrientation:
FLARE:
Immobile:
OccupiesSpace: false

View File

@@ -901,7 +901,7 @@ AFLD:
CameraRemoveDelay: 150
UnitType: u2
QuantizedFacings: 8
DisplayBeacon: True
DisplayBeacon: true
BeaconPoster: camicon
ParatroopersPower:
Icon: paratroopers
@@ -911,6 +911,10 @@ AFLD:
DropItems: E1,E1,E1,E3,E3
SelectTargetSound: slcttgt1.aud
AllowImpassableCells: false
QuantizedFacings: 8
CameraActor: camera.paradrop
DisplayBeacon: true
BeaconPoster: pinficon
ProductionBar:
SupportPowerChargeBar:
PrimaryBuilding:

View File

@@ -21,6 +21,7 @@ World:
Bridges: bridge1, bridge2, br1, br2, br3, sbridge1, sbridge2, sbridge3, sbridge4
CrateSpawner:
DeliveryAircraft: badr
QuantizedFacings: 16
Minimum: 1
Maximum: 3
SpawnInterval: 120

View File

@@ -137,6 +137,10 @@ beacon:
Start: 0
Length: *
Offset: 0,-42
pinficon: lores-pinficon
Start: 0
Length: *
Offset: 0,-42
clock: beaconclock
Start: 0
Length: *