Several fixes

Fixed TS building repairability to match original.
Civilian structures can now only be repaired with engineers.

Removed ProximityCaptor.

Various other fixes.
This commit is contained in:
reaperrr
2015-06-24 22:01:36 +02:00
parent 1389a4e414
commit 97d760cd8c

View File

@@ -2,7 +2,6 @@
AppearsOnRadar: AppearsOnRadar:
UpdatesPlayerStatistics: UpdatesPlayerStatistics:
CombatDebugOverlay: CombatDebugOverlay:
DrawLineToTarget:
GivesExperience: GivesExperience:
BodyOrientation: BodyOrientation:
ScriptTriggers: ScriptTriggers:
@@ -57,11 +56,8 @@
DestroyedSounds: crmble2.aud DestroyedSounds: crmble2.aud
RenderBuilding: RenderBuilding:
WithBuildingExplosion: WithBuildingExplosion:
RepairableBuilding: EngineerRepairable:
IndicatorPalette: mouse
ShakeOnDeath: ShakeOnDeath:
ProximityCaptor:
Types: Building
AcceptsSupplies: AcceptsSupplies:
Guardable: Guardable:
Range: 3 Range: 3
@@ -76,10 +72,11 @@
Inherits: ^BasicBuilding Inherits: ^BasicBuilding
GivesBuildableArea: GivesBuildableArea:
Capturable: Capturable:
RepairableBuilding:
IndicatorPalette: mouse
WithDeathAnimation: WithDeathAnimation:
DeathSequence: dead DeathSequence: dead
UseDeathTypeSuffix: false UseDeathTypeSuffix: false
EngineerRepairable:
EmitInfantryOnSell@gdi: EmitInfantryOnSell@gdi:
ActorTypes: e1, e1, e2, medic ActorTypes: e1, e1, e2, medic
Races: gdi Races: gdi
@@ -160,8 +157,6 @@
Type: wall Type: wall
GivesExperience: GivesExperience:
AutoTargetIgnore: AutoTargetIgnore:
ProximityCaptor:
Types: Wall
Sellable: Sellable:
SellSounds: cashturn.aud SellSounds: cashturn.aud
UpdatesPlayerStatistics: UpdatesPlayerStatistics:
@@ -187,6 +182,7 @@
^Infantry: ^Infantry:
Inherits@1: ^GainsExperience Inherits@1: ^GainsExperience
Inherits@2: ^ExistsInWorld Inherits@2: ^ExistsInWorld
DrawLineToTarget:
Health: Health:
Radius: 128 Radius: 128
HP: 50 HP: 50
@@ -236,8 +232,6 @@
Voice: Move Voice: Move
HiddenUnderFog: HiddenUnderFog:
ActorLostNotification: ActorLostNotification:
ProximityCaptor:
Types: Infantry
GivesBounty: GivesBounty:
Crushable: Crushable:
CrushSound: squish6.aud CrushSound: squish6.aud
@@ -299,8 +293,6 @@
VoiceSet: Civilian VoiceSet: Civilian
Tooltip: Tooltip:
Name: Civilian Name: Civilian
ProximityCaptor:
Types: CivilianInfantry
ScaredyCat: ScaredyCat:
WithDeathAnimation: WithDeathAnimation:
CrushedSequence: die-crushed CrushedSequence: die-crushed
@@ -308,6 +300,7 @@
^Vehicle: ^Vehicle:
Inherits@1: ^GainsExperience Inherits@1: ^GainsExperience
Inherits@2: ^ExistsInWorld Inherits@2: ^ExistsInWorld
DrawLineToTarget:
Mobile: Mobile:
Crushes: crate Crushes: crate
TerrainSpeeds: TerrainSpeeds:
@@ -339,8 +332,6 @@
Voice: Move Voice: Move
HiddenUnderFog: HiddenUnderFog:
ActorLostNotification: ActorLostNotification:
ProximityCaptor:
Types: Vehicle
Capturable: Capturable:
Type: Vehicle Type: Vehicle
CaptureThreshold: 1 CaptureThreshold: 1
@@ -401,12 +392,13 @@
^CivilianVoxelVehicle: ^CivilianVoxelVehicle:
Inherits: ^VoxelVehicle Inherits: ^VoxelVehicle
-RenderSprites: # They don't have icons so this is needed to satisfy --check-yaml -RenderSprites:
-MustBeDestroyed: -MustBeDestroyed:
^Helicopter: ^Aircraft:
Inherits@1: ^GainsExperience Inherits@1: ^GainsExperience
Inherits@2: ^ExistsInWorld Inherits@2: ^ExistsInWorld
DrawLineToTarget:
AppearsOnRadar: AppearsOnRadar:
UseLocation: yes UseLocation: yes
TargetableAircraft: TargetableAircraft:
@@ -417,12 +409,6 @@
Palette: pips Palette: pips
Voiced: Voiced:
VoiceSet: Heli VoiceSet: Heli
Helicopter:
RepairBuildings: gadept
RearmBuildings:
LandWhenIdle: no
CruiseAltitude: 2048
Voice: Move
HiddenUnderFog: HiddenUnderFog:
AttackMove: AttackMove:
Voice: Move Voice: Move
@@ -436,9 +422,17 @@
RenderVoxels: RenderVoxels:
WithVoxelBody: WithVoxelBody:
^Helicopter:
Inherits: ^Aircraft
Helicopter:
RepairBuildings: gadept
RearmBuildings:
LandWhenIdle: no
CruiseAltitude: 2048
Voice: Move
^Plane: ^Plane:
Inherits: ^Helicopter Inherits: ^Aircraft
-Helicopter:
Plane: Plane:
RepairBuildings: gadept RepairBuildings: gadept
RearmBuildings: gahpad, nahpad RearmBuildings: gahpad, nahpad
@@ -449,7 +443,7 @@
^Viceroid: ^Viceroid:
Inherits: ^ExistsInWorld Inherits: ^ExistsInWorld
RenderUnit: DrawLineToTarget:
Health: Health:
Radius: 256 Radius: 256
Armor: Armor: