Add unit guarding

This commit is contained in:
Scott_NZ
2013-05-16 21:23:58 +12:00
parent 942946f1b1
commit 6e5d58379f
9 changed files with 154 additions and 8 deletions

View File

@@ -31,6 +31,8 @@
AcceptsCloakCrate:
WithSmoke:
DebugMuzzlePositions:
Guard:
Guardable:
^Tank:
AppearsOnRadar:
@@ -68,6 +70,8 @@
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
DebugMuzzlePositions:
Guard:
Guardable:
^Helicopter:
AppearsOnRadar:
@@ -145,6 +149,8 @@
Buildings: hosp
CloseEnough: 1
DebugMuzzlePositions:
Guard:
Guardable:
^CivInfantry:
Inherits: ^Infantry
@@ -176,7 +182,7 @@
Notification: CivilianKilled
NotifyAll: true
ScaredyCat:
RenderInfantryPanic:
RenderInfantryPanic:
AttackMove:
JustMove: yes
CrushableInfantry:
@@ -214,6 +220,8 @@
ActorLostNotification:
AttackMove:
DebugMuzzlePositions:
Guard:
Guardable:
^Building:
AppearsOnRadar:
@@ -260,6 +268,8 @@
Capturable:
CapturableBar:
DebugMuzzlePositions:
Guardable:
Range: 3
^CivBuilding:
Inherits: ^Building
@@ -347,6 +357,7 @@
RelativeToTopLeft: yes
AutoTargetIgnore:
Sellable:
Guardable:
^Tree:
Tooltip:

View File

@@ -31,6 +31,8 @@
Repairable:
RepairBuildings: repair
DebugMuzzlePositions:
Guard:
Guardable:
^Tank:
AppearsOnRadar:
@@ -65,6 +67,8 @@
Repairable:
RepairBuildings: repair
DebugMuzzlePositions:
Guard:
Guardable:
^Husk:
Health:
@@ -145,6 +149,8 @@
Buildings: barra, barro
CloseEnough: 1
DebugMuzzlePositions:
Guard:
Guardable:
^Plane:
AppearsOnRadar:
@@ -200,7 +206,6 @@
ActorTypes: rifle,rifle,rifle,rifle,rifle,bazooka,bazooka,bazooka,engineer
MustBeDestroyed:
GivesExperience:
FrozenUnderFog:
CaptureNotification:
ActorLostNotification:
@@ -215,3 +220,5 @@
GivesBounty:
DebugMuzzlePositions:
Bib:
Guardable:
Range: 3

View File

@@ -371,6 +371,7 @@ WALL:
ProximityCaptor:
Types:Wall
Sellable:
Guardable:
GUNTOWER:
Inherits: ^Building

View File

@@ -34,6 +34,8 @@
WithSmoke:
UpdatesPlayerStatistics:
DebugMuzzlePositions:
Guard:
Guardable:
^Tank:
AppearsOnRadar:
@@ -71,6 +73,8 @@
WithSmoke:
UpdatesPlayerStatistics:
DebugMuzzlePositions:
Guard:
Guardable:
^Infantry:
AppearsOnRadar:
@@ -122,6 +126,8 @@
CloseEnough: 1
UpdatesPlayerStatistics:
DebugMuzzlePositions:
Guard:
Guardable:
^Ship:
AppearsOnRadar:
@@ -151,6 +157,8 @@
WithSmoke:
UpdatesPlayerStatistics:
DebugMuzzlePositions:
Guard:
Guardable:
^Plane:
AppearsOnRadar:
@@ -224,6 +232,8 @@
GivesBounty:
UpdatesPlayerStatistics:
DebugMuzzlePositions:
Guardable:
Range: 3
^Wall:
AppearsOnRadar:
@@ -257,6 +267,7 @@
Types:Wall
Sellable:
UpdatesPlayerStatistics:
Guardable:
^TechBuilding:
Inherits: ^Building