Use AttackOrderPower for EMP support power

This commit is contained in:
teees
2016-04-20 08:11:18 +02:00
committed by abcdefg30
parent 86eabeea3f
commit ea4f33123e
4 changed files with 22 additions and 4 deletions

View File

@@ -152,6 +152,12 @@ Cursors:
nuke:
Start: 319
Length: 9
emp:
Start: 357
Length: 19
emp-blocked:
Start: 377
Length: 1
sell:
Start: 129
Length: 10

View File

@@ -3,8 +3,8 @@ NAPULS:
Valued:
Cost: 1000
Tooltip:
Name: EMP Cannon
Description: Disables vehicles.\nRequires power to operate.\n Strong vs Vehicles\n Weak vs Infantry, Aircraft
Name: E.M. Pulse Cannon
Description: Disables mechanical units in an area.\nRequires power to operate.
Buildable:
Queue: Defense
BuildPaletteOrder: 90
@@ -22,12 +22,15 @@ NAPULS:
Type: Heavy
RevealsShroud:
Range: 8c0
-AutoTarget:
Turreted:
TurnSpeed: 10
InitialFacing: 224
AttackTurreted:
Armament:
Weapon: EMPulseCannon
LocalOffset: 150,0,1250
LocalYaw: 0,100
WithSpriteTurret:
Sequence: turret
Power:
@@ -39,3 +42,11 @@ NAPULS:
FactionImages:
gdi: napuls.gdi
nod: napuls.nod
AttackOrderPower:
Cursor: emp
Icon: emp
ChargeTime: 135
Description: E.M. Pulse
LongDesc: Fires a pulse blast which disables\nall mechanical units in the area.
EndChargeSound: 00-i158.aud
SelectTargetSound: 00-i042.aud

View File

@@ -368,6 +368,7 @@ icon:
clustermissile: mltiicon
ioncannon: ioncicon
hunterseeker: detnicon
emp: pulsicon
clustermissile:
up: null # TODO

View File

@@ -79,7 +79,7 @@ IonCannon:
EMPulseCannon:
ReloadDelay: 100
Range: 10c0
Range: 40c0
Report: plsecan2.aud
Projectile: Bullet
Speed: 425
@@ -90,7 +90,7 @@ EMPulseCannon:
Warhead@1Eff: CreateEffect
Explosions: pulse_explosion
Warhead@emp: GrantUpgrade
Range: 3c0
Range: 4c0
Duration: 250
Upgrades: empdisable, notmobile