Replace IDisableMove with upgradability

This commit is contained in:
atlimit8
2015-09-25 16:55:33 -05:00
parent 0fc04b7a4a
commit c827dbe183
23 changed files with 82 additions and 77 deletions

View File

@@ -47,6 +47,8 @@ LST:
BuildPaletteOrder: 1000
Prerequisites: ~disabled
Mobile:
UpgradeTypes: notmobile
UpgradeMaxEnabledLevel: 0
Crushes: crate
TerrainSpeeds:
Clear: 100
@@ -76,4 +78,5 @@ LST:
MaxWeight: 5
PipCount: 5
PassengerFacing: 0
LoadingUpgrades: notmobile

View File

@@ -89,6 +89,8 @@ APC:
Prerequisites: pyle
Queue: Vehicle.GDI
Mobile:
UpgradeTypes: notmobile
UpgradeMaxEnabledLevel: 0
ROT: 8
Speed: 128
Health:
@@ -120,6 +122,7 @@ APC:
Types: Infantry
MaxWeight: 5
PipCount: 5
LoadingUpgrades: notmobile
SpawnActorOnDeath:
Actor: APC.Husk

View File

@@ -58,6 +58,8 @@
Inherits@2: ^GainsExperience
Inherits@3: ^SpriteActor
Mobile:
UpgradeTypes: notmobile
UpgradeMaxEnabledLevel: 0
Crushes: crate, spicebloom
TerrainSpeeds:
Sand: 100
@@ -92,6 +94,7 @@
Voiced:
VoiceSet: VehicleVoice
Carryable:
CarryableUpgrades: notmobile
WithDecorationCarryable:
Image: pips
Sequence: pickup-indicator

View File

@@ -93,6 +93,8 @@ thumper:
RevealsShroud:
Range: 2c768
Mobile:
UpgradeTypes: deployed
UpgradeMaxEnabledLevel: 0
Speed: 43
DeployToUpgrade:
DeployedUpgrades: deployed
@@ -119,9 +121,6 @@ thumper:
Falloff: 0, 0, 0, 100, 100, 100, 25, 11, 6, 4, 3, 2, 1, 0
UpgradeTypes: deployed
UpgradeMinEnabledLevel: 1
DisableOnUpgrade:
UpgradeTypes: deployed
UpgradeMinEnabledLevel: 1
Passenger:
PipType: Blue
Voiced:

View File

@@ -226,6 +226,8 @@ LST:
Armor:
Type: Heavy
Mobile:
UpgradeTypes: notmobile
UpgradeMaxEnabledLevel: 0
ROT: 10
Speed: 113
RevealsShroud:
@@ -239,6 +241,7 @@ LST:
MaxWeight: 5
PipCount: 5
PassengerFacing: 0
LoadingUpgrades: notmobile
-Chronoshiftable:
PT:

View File

@@ -334,6 +334,8 @@ JEEP:
Mobile:
ROT: 10
Speed: 170
UpgradeTypes: notmobile
UpgradeMaxEnabledLevel: 0
RevealsShroud:
Range: 8c0
Turreted:
@@ -350,6 +352,7 @@ JEEP:
Types: Infantry
MaxWeight: 1
PipCount: 1
LoadingUpgrades: notmobile
ProducibleWithLevel:
Prerequisites: vehicles.upgraded
@@ -371,6 +374,8 @@ APC:
Mobile:
Speed: 142
Crushes: wall, mine, crate, infantry
UpgradeTypes: notmobile
UpgradeMaxEnabledLevel: 0
RevealsShroud:
Range: 5c0
Armament:
@@ -384,6 +389,7 @@ APC:
Types: Infantry
MaxWeight: 5
PipCount: 5
LoadingUpgrades: notmobile
ProducibleWithLevel:
Prerequisites: vehicles.upgraded
@@ -727,6 +733,8 @@ STNK:
Mobile:
Speed: 142
Crushes: wall, mine, crate, infantry
UpgradeTypes: notmobile
UpgradeMaxEnabledLevel: 0
RevealsShroud:
Range: 7c0
AutoTarget:
@@ -743,6 +751,7 @@ STNK:
Types: Infantry
MaxWeight: 4
PipCount: 4
LoadingUpgrades: notmobile
Cloak:
InitialDelay: 125
CloakDelay: 250

View File

@@ -98,6 +98,7 @@ BUS:
MaxWeight: 20
PipCount: 5
UnloadVoice: Unload
LoadingUpgrades: notmobile
PICK:
Inherits: ^CivilianVoxelVehicle
@@ -119,6 +120,7 @@ PICK:
MaxWeight: 2
PipCount: 5
UnloadVoice: Unload
LoadingUpgrades: notmobile
CAR:
Inherits: ^CivilianVoxelVehicle
@@ -140,6 +142,7 @@ CAR:
MaxWeight: 4
PipCount: 5
UnloadVoice: Unload
LoadingUpgrades: notmobile
WINI:
Inherits: ^CivilianVoxelVehicle
@@ -161,6 +164,7 @@ WINI:
MaxWeight: 5
PipCount: 5
UnloadVoice: Unload
LoadingUpgrades: notmobile
LOCOMOTIVE:
Inherits: ^Train
@@ -169,10 +173,8 @@ LOCOMOTIVE:
Tooltip:
Name: Train Locomotive
Cargo:
Types: Infantry
MaxWeight: 2
PipCount: 2
UnloadVoice: Unload
TRAINCAR:
Inherits: ^Train
@@ -181,10 +183,8 @@ TRAINCAR:
Tooltip:
Name: Passenger Car
Cargo:
Types: Infantry
MaxWeight: 10
PipCount: 5
UnloadVoice: Unload
CARGOCAR:
Inherits: ^Train
@@ -193,8 +193,6 @@ CARGOCAR:
Tooltip:
Name: Cargo Car
Cargo:
Types: Infantry
MaxWeight: 10
PipCount: 5
UnloadVoice: Unload

View File

@@ -73,6 +73,12 @@
UpgradeTypes: empdisable
Modifier: 0
^EmpDisableMobile:
Inherits: ^EmpDisable
Mobile:
UpgradeTypes: notmobile
UpgradeMaxEnabledLevel: 0
^BasicBuilding:
Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor
@@ -334,7 +340,7 @@
^Cyborg:
Inherits@1: ^Infantry
Inherits@2: ^EmpDisable
Inherits@2: ^EmpDisableMobile
RevealsShroud:
Range: 4c0
MustBeDestroyed:
@@ -361,7 +367,7 @@
^Vehicle:
Inherits@1: ^GainsExperience
Inherits@2: ^ExistsInWorld
Inherits@3: ^EmpDisable
Inherits@3: ^EmpDisableMobile
DrawLineToTarget:
Mobile:
Crushes: crate
@@ -656,7 +662,7 @@
ActorLostNotification:
^Train:
Inherits@1: ^EmpDisable
Inherits@1: ^EmpDisableMobile
Inherits@2: ^ExistsInWorld
RenderVoxels:
WithVoxelBody:
@@ -667,6 +673,10 @@
ROT: 5
Voice: Move
Speed: 113
Cargo:
Types: Infantry
UnloadVoice: Unload
LoadingUpgrades: notmobile
Health:
HP: 100
Armor:

View File

@@ -27,6 +27,7 @@ APC:
MaxWeight: 5
PipCount: 5
UnloadVoice: Unload
LoadingUpgrades: notmobile
-WithVoxelBody:
WithVoxelWaterBody:
LeavesTrails:

View File

@@ -226,6 +226,7 @@ SAPC:
MaxWeight: 5
PipCount: 5
UnloadVoice: Unload
LoadingUpgrades: notmobile
SUBTANK:
Inherits: ^VoxelTank

View File

@@ -127,7 +127,7 @@ LPST:
gdi: lpst.gdi
nod: lpst.nod
DeployToUpgrade:
DeployedUpgrades: deployed
DeployedUpgrades: deployed, notmobile
UndeployedUpgrades: undeployed
DeployAnimation: make
Facing: 160
@@ -141,9 +141,6 @@ LPST:
WithSpriteBody@deployed:
UpgradeTypes: undeployed
UpgradeMaxEnabledLevel: 0
DisableOnUpgrade:
UpgradeTypes: undeployed
UpgradeMaxEnabledLevel: 0
DetectCloaked:
UpgradeTypes: deployed
UpgradeMinEnabledLevel: 1

View File

@@ -90,7 +90,7 @@ EMPulseCannon:
Warhead@emp: GrantUpgrade
Range: 3c0
Duration: 250
Upgrades: empdisable
Upgrades: empdisable, notmobile
ClusterMissile:
ValidTargets: Ground, Water, Air