I currently fly an LX and use both PBE and HEPT.
I found that I was switching weapons a
lot and always in the same way. So I scripted it. =)
Download script v1.00
It only works for the
playership and is intended for fighters.
There is no pretty button or anything.
hww.bunny.autoswitch needs to be run (R) from the scripteditor and will be started on the Playership.
If the player leaves the ship the script keeps running on this ship but goes into a power saving / sleep mode.
If you wish to use it in another ship, you need to start it manually for the other ship, too.
You can not stop the script but it will terminate itself if you stop the Weapon Changer script.
What it does:
Select weapon configs, using Weapon Changer, depending on the target.
The script will switch configs
once if the state of the target changes. If you manually choose another config it will not override your orders until another scripted condition is met.
If
any ship is targeted while you start the script, it will operate in "cap mode".
In this mode Config C is assumed empty.
It will not switch to Config
B until the target's hull is below 81 %.
It will switch to Config
C if the target's pilot bails.
(1 = Highest Priority, 4 = Lowest)
1. Config
C if
HullMax < 6600 (means M4 and smaller, Missiles...)
. . . Something fast like PAC or PBE to smack all the little pests.
2. Config
B if
Shields < 4000 and HullMax < 20000 (unshielded M3/M3+)
. . . HEPT or other hull killers.
3. Config
B if
Shields < 15000 (unshielded M6 or bigger)
. . . HEPT or other hull killers.
4. Config
A (Ships with shields)
. . . PBE, IONS, whatever you prefer vs shields.
So I always have the right weapons loaded for Anti-Trash, Anti-Shields, and Anti-Hull. This is
exactly the kind of thing I want my board computer to do.
Joyriding an M3 in a Xenon sector is
far more relaxing that way. =)
For Config C you could also use less than a full load of (PBE, PAC, whatever) as well as none or smaller turret lasers to increase the chance of capping the little ships.
I use 8 BPBE for Config A and 4 BPBE for Config C. Roasting an M4 is still quick. =)
Config B is 8 AHEPT for me.
@ Bunny
If you wish to include this script with WC, feel free.
Adding a "mode" to start this script won't be a big deal.
It is completely self contained and restarts itself in Task ID 7028 on [PLAYERSHIP], regardless of how it is started.
Several minor issues (only checks the Player Tracking Aim for target and such) prevent it from being used by AI ships atm.
Adding a command button would have been silly because it's just a plugin for the WC. =)