Ok first head over to the superweapons list and add
xx=EMPulseSpecial
Now go to the Superweapons section and at the end add this:
Code:
[EMPulseSpecial]
UIName=Name:EMPSpecial
Name=E.M.P. Special
RechargeTime=.1; I put this very low for testing purposes.
Type=Fire; This is the fire at superweapon type
Range=7; this is the range displayed when about to launch superweapon.
LineMultiplier=3
Action=TibSunBug;gives you a 'stop' icon; check out Adding custom mouse pointers (Actions) tutorial at http://rtb.strategy-x.com/hlp/actions.htm
;P.S. do not use actions that are used by other weapons or superweapons, thanks goes out to Allied General for pointing out that this should be here.
SidebarImage=EMPICON;the icon in the sidebar
ShowTimer=yes; can everyone see the timer?
DisableableFromShell=yes; does the superweapon option in the Skirmish menu affect this superweapon?
UIName=Name:EMPSpecial
Name=E.M.P. Special
RechargeTime=.1; I put this very low for testing purposes.
Type=Fire; This is the fire at superweapon type
Range=7; this is the range displayed when about to launch superweapon.
LineMultiplier=3
Action=TibSunBug;gives you a 'stop' icon; check out Adding custom mouse pointers (Actions) tutorial at http://rtb.strategy-x.com/hlp/actions.htm
;P.S. do not use actions that are used by other weapons or superweapons, thanks goes out to Allied General for pointing out that this should be here.
SidebarImage=EMPICON;the icon in the sidebar
ShowTimer=yes; can everyone see the timer?
DisableableFromShell=yes; does the superweapon option in the Skirmish menu affect this superweapon?
Now head over to the weapons section and find EMPulseWeapon, uncomment it and change it to look like this:
Code:
[EMPulseWeapon]
Damage=99999; Damage is duration for EM Pulse; 99999 makes it last over half an hour idk the exact time but its a long time
ROF=10; Doesnt matter, just kept it for no reason
Speed=100;needed to make it instant, you may want to lower this if you change the projectile so that it is not invo.
Warhead=EMPuls; this is the warhead that will be used.
Projectile=PulsPr; this is the projectile that will be used.
Damage=99999; Damage is duration for EM Pulse; 99999 makes it last over half an hour idk the exact time but its a long time
ROF=10; Doesnt matter, just kept it for no reason
Speed=100;needed to make it instant, you may want to lower this if you change the projectile so that it is not invo.
Warhead=EMPuls; this is the warhead that will be used.
Projectile=PulsPr; this is the projectile that will be used.
Now go to the warheads section and find EMPuls uncomment it and change it to look like this:
Code:
; EM Pulse cannon warhead.
[EMPuls]
CellSpread=7 ; Cell Spread is radius of EM pulse effect.
EMEffect=yes; This states weather or not this warhead disables vehicles
AnimList=PDFXLOC,PDFXLOC2; the animations that will be created when this warhead makes contact with the target
[EMPuls]
CellSpread=7 ; Cell Spread is radius of EM pulse effect.
EMEffect=yes; This states weather or not this warhead disables vehicles
AnimList=PDFXLOC,PDFXLOC2; the animations that will be created when this warhead makes contact with the target
Now go to the projectiles, find PulsPR, uncomment it and make it look like this:
Code:
[PulsPr]
Inviso=yes; this makes the projectile invisible
Image=none; this does the same as above
AG=yes; this makes the projectile able to shoot at the ground
SubjectToCliffs=no; is it affected by cliffs,
SubjectToElevation=no; height
SubjectToWalls=no; and walls?
Inviso=yes; this makes the projectile invisible
Image=none; this does the same as above
AG=yes; this makes the projectile able to shoot at the ground
SubjectToCliffs=no; is it affected by cliffs,
SubjectToElevation=no; height
SubjectToWalls=no; and walls?
Now find the building you want to use this and add these tags:
Code:
SuperWeapon=EMPulseSpecial; states the superweapon attached to this building
Primary=EMPulseWeapon; states the weapon that the superweapon will fire
EMPulseCannon=yes; states that the superweapon will fire the Primary at the target chosen
Primary=EMPulseWeapon; states the weapon that the superweapon will fire
EMPulseCannon=yes; states that the superweapon will fire the Primary at the target chosen
Next insert the attached animations in the appropiate mix, they were converted by me (Vincent93) you may use them with or without crediting me they are just conversions.
Ok so there are some bugs that are not identical to the TS EMPulse Superweapon, thanks goes to Allied General for pointing these out.
- This does not affect aircraft.
- I have not set it up with the same projectile from TS (not really a bug just something i didnt bother doing)
- Does not work with turrets.
- Does not affect Cyborg=yes infantry.