Add TS mobile EMP

This commit is contained in:
Gustas
2023-04-24 11:56:09 +03:00
committed by Matthias Mailänder
parent 9d7feb176a
commit 4eb683ab46
7 changed files with 150 additions and 0 deletions

View File

@@ -425,3 +425,37 @@ JUGG:
ArmamentNames: deployed
Selectable:
DecorationBounds: 1448, 2413, 0, -482
MOBILEMP:
Inherits: ^Tank
Inherits@VOXELS: ^VoxelActor
Inherits@selection: ^SelectableSupportUnit
Buildable:
Queue: Vehicle
BuildPaletteOrder: 130
Prerequisites: ~gaweap, napuls, ~techlevel.superweapons
Description: Fires a pulse blast which disables\nall mechanical units in the area.
Valued:
Cost: 1000
Tooltip:
Name: Mobile EMP Cannon
Health:
HP: 80000
Armor:
Type: Heavy
Mobile:
Speed: 85
WithVoxelBody:
Offset: 0,0,-256
RevealsShroud:
RequiresCondition: !inside-tunnel
Range: 6c0
MaxHeightDelta: 3
GrantConditionOnDeployWithCharge:
Voice: Move
ChargeDuration: 750
DeployedCondition: deployed
PauseOnCondition: empdisable
FireWarheads:
Weapons: MEMPulse
RequiresCondition: deployed && !empdisable

View File

@@ -42,6 +42,9 @@ NAPULS:
nod: napuls.nod
ProvidesPrerequisite@gdi:
ResetOnOwnerChange: true
ProvidesPrerequisite@gdi:
Factions: gdi
Prerequisite: napuls
AttackOrderPower:
PauseOnCondition: empdisable || disabled
Cursor: emp

View File

@@ -212,6 +212,11 @@ explosion:
BlendMode: Additive
ZRamp: 1
Tick: 80
pulse_explosion_small:
Filename: mempfx.shp
BlendMode: Additive
ZRamp: 1
Tick: 11
small_watersplash:
Filename: h2o_exp2.shp
IgnoreWorldTint: False

View File

@@ -338,6 +338,11 @@ smech:
icon:
Filename: smchicon.shp
mobilemp:
Inherits: ^VehicleOverlays
icon:
Filename: mempicon.shp
trucka:
Inherits: ^VehicleOverlays

View File

@@ -120,6 +120,9 @@ sonic:
idle:
turret: sonictur
mobilemp:
idle: m_emp
#truk: # TODO: unused
# idle:

View File

@@ -127,3 +127,14 @@ EMPulseCannon:
Duration: 250
Condition: empdisable
ValidTargets: Ground, Water, Air, Underground
MEMPulse:
Report: mobemp1.aud
Warhead@1Eff: CreateEffect
Explosions: pulse_explosion_small
ImpactActors: false
Warhead@emp: GrantExternalCondition
Range: 6c0
Duration: 250
Condition: empdisable
ValidTargets: Ground, Water, Air, Underground