cnc classic helis rearm at hpad and repair at fix

don't crash due to missing sequences for GDI/NOD hpads
This commit is contained in:
Matthias Mailänder
2013-03-07 22:13:29 +01:00
parent 804729deac
commit b16b171b1e
3 changed files with 14 additions and 10 deletions

View File

@@ -56,6 +56,7 @@ HELI:
Helicopter:
ROT: 4
Speed: 20
RearmBuildings: hpad.nod
Health:
HP: 125
Armor:
@@ -70,9 +71,7 @@ HELI:
LimitedAmmo:
Ammo: 10
PipCount: 5
Reloads:
Count: 10
Period: 200
ReloadTicks: 10
RenderUnit:
WithRotor:
Offset: 0,0,0,-2
@@ -99,6 +98,7 @@ ORCA:
Helicopter:
ROT: 4
Speed: 20
RearmBuildings: hpad.gdi
Health:
HP: 100
Armor:
@@ -113,9 +113,7 @@ ORCA:
LimitedAmmo:
Ammo: 10
PipCount: 5
Reloads:
Count: 2
Period: 100
ReloadTicks: 10
RenderUnit:
WithShadow:
FallsToEarth:

View File

@@ -74,8 +74,8 @@
Selectable:
Voice: VehicleVoice
Helicopter:
RepairBuildings: hpad
RearmBuildings:
RepairBuildings: fix
RearmBuildings: hpad
LandWhenIdle: false
Buildable:
Queue: Aircraft

View File

@@ -304,7 +304,7 @@ WEAP:
Produces: Vehicle
ProductionBar:
HPADGDI:
HPAD.GDI:
Inherits: ^Building
Valued:
Cost: 1500
@@ -316,6 +316,8 @@ HPADGDI:
Description: Produces and reloads helicopters
ProvidesCustomPrerequisite:
Prerequisite: hpad
RenderBuilding:
Image: hpad
Buildable:
BuildPaletteOrder: 60
Prerequisites: barracks
@@ -333,6 +335,7 @@ HPADGDI:
FreeActor:
Actor: ORCA
Facing: 3
SpawnOffset: 1,2
Exit@1:
# SpawnOffset: 0,0
SpawnOffset: 0,-6
@@ -345,7 +348,7 @@ HPADGDI:
ProductionBar:
Bib:
HPADNOD:
HPAD.NOD:
Inherits: ^Building
Valued:
Cost: 1500
@@ -357,6 +360,8 @@ HPADNOD:
Description: Produces and reloads helicopters
ProvidesCustomPrerequisite:
Prerequisite: hpad
RenderBuilding:
Image: hpad
Buildable:
BuildPaletteOrder: 60
Prerequisites: barracks
@@ -373,6 +378,7 @@ HPADNOD:
# In practice, it seems that OpenRA renders vision range differently. Will set at +2 from what we want for now, to properly emulate
FreeActor:
Actor: HELI
SpawnOffset: 1,1
Exit@1:
SpawnOffset: 0,0
# SpawnOffset: 0,-6