Using the new Firing SW
Minimal version: 1.06
RP 1.06 adds a new kind of superweapon, the Firing SW.
It will force the building with EMPulseCannon=yes to fire at the specified target. To use it, first head to the [SuperWeaponTypes] section and add your own SuperWeapon to the end of the list.
[SuperWeaponTypes] ... XX=FireAtSpecial
The next step is creating the section for the new SuperWeapon. Go to the place where the other SuperWeapons are defined (you don't have to, just to keep it well ordered) and add the following section:
[FireAtSpecial] UIName=Name:FireAtSpecial Name=Fire at Target RechargeTime=3 Type=Fire ;Fire is the type for the Firing SW Action=FireAtAction ;check out the Adding custom Actions page to find out more about this SidebarImage=FIREATICON ShowTimer=no DisableableFromShell=yes
The building which is supposed to fire must have EMPulseCannon=yes assigned.
It will fire with its Primary weapon, though the Range limit is not supported yet (you can fire anywhere, no matter what the Range is). EMPulseCannon