In Anger of the X3 Targeting (where you can switch through the targets depending on the angle they're on the HUD), I wrote that script to get my old X2 targeting behaviour back.
The Side-Effect are 8 new hotkeys including 6 new targeting possibilities and a way to get enemies in range of the turrets you chose.
Of Course, the next enemy, cargo container or missile is selected after it left the sector or is being destroyed. This happens within less than half a second, so you can directly attack or collect it.
[ external image ] Version 1.51The readme wrote:Optimized Targeting 1.51
Description : Replaces the unhandy Egosoft-targeting and adds some new hotkeys and features for targeting.
Version : 1.51
Date : 23.08.2007
Author : X-Freak Cartman
###########################################################################
Installation:
¯¯¯¯¯¯¯¯¯¯¯¯¯
Extract the zip-file into your X3-folder.
The files should be at the right place from then.
When you've installed the files, load one of your savegames or start a new one. Now you'll find the new hotkeys in the options-menu under 'controls' / 'interface'. Scroll down to configure them.
Those hotkeys won't be used, so you can configure them how you want it. It's recommended that you replace the standard targeting-hotkeys by the new controls (in QWERTY Keyboard Layout)
Recommended configuration:
Next player property - Ins
Previous player prop. - Enft
Next enemy - Pos1
Previous enemy - End
Next target - Page up & mouse-wheel up
Previous target - Page down & mouse-wheel down
Now it's the sense of this script that you replace the old targeting hotkeys.
Recommended configuration for the new features - this is my own configuration, which has been established since mazuras in my personal X-Universe:
Next station - Shift+Page up
Previous station - Shift+Page down
Next carrier - Shift+Ins
Next cargo container - Shift+Del
Next adverse cap. ship - Shift+Pos1
Next missile - Shift+End
Enemy-searching mode - Shift+Backspace
Enemy-searching turret - Shift+=
Next scanned asteroid - Shift+;
Next unscanned asteroid - Shift+'
Next warpgate - Shift+#
It's possible that you have to re-configure your settings if you update the Optimized Targeting. I'm trying to use as few hotkeys as possible, but you may have to configure some new keys.
Changelog from older version to this one:
1.2 : Searching for ware-containers
1.21 : Searching for missiles
1.22 : Enemy-searching mode
1.24 : turret for enemy-searching
1.31 : all hotkeys - there was an translational error in version 1.31
Besides, the old hotkeys will remain. If this is the first installation, you have to configure all of the hotkeys.
If you want to get missiles targetted when looking for enemies, you need to set an AL-Option.
Usage:
¯¯¯¯¯¯
If you've installed the scripts and defined the hotkeys, you can use the Optimized targeting. The targets will be selected like this:
Next ~ - the next afar object will be selected.
Previous ~ - the next close object will be selected.
The enemy-selection, the missile-selection and the cargo container-selection support special features:
If the current target leaves the sector, gets destroyed or picked up, a new target of the same type will be selected immediately. For example, if you destroy an enemy, you'll have get the next enemy ship.
-> it takes the work from you - you don't have to press the key again. A Script for lazy people
The enemy-searching (next/previous enemy) additionally supports the searching-modes. If you press the accordant hotkey, the mode will change and you'll hear an acustic signal.
>Out of order<
-> If you press 'Previous/next enemy', the areal nearest enemy will be selected. This doesn't consider cockpit positions and laser-firing ranges.
>Warning: selected<
-> The Hotkey will only search for enemies attacking or trying to attack your ship. This way, you're able to protect yourself as effective as possible.
>Laser 'XYZ': Restricted access'<
-> Turret 'XYZ' will only search for enemys within its firing range if no other enemy has been selected previously. You can change this turret with the hotkey 'Enemy-searching turret'.
>Laser 'XYZ': selected<
-> Turret 'XYZ' will search for enemys which are in the firing range of the installed weapons. If a selected target leaves the firing range, the next target which is in the range will be selected automatically. You can change this turret with the hotkey 'Enemy-searching turret'.
The 'XYZ' is a greek letter, which accords to the turret number:
Alpha - Cockpit
Beta - First turret
Gamma - Second turret
Delta - Third turret
Epsilon - Fourth turret
Zeta - Fifth turret
Eta - Sixth turret
...
With the hotkey 'Enemy-searching turret', you can change which turret should be considered for searching the next target. Here, for example, the Hyperion:
Alpha - Cockpit
Beta - Rear turret (Nr.1)
Gamma - Rear turret (Nr.2)
Delta - Front turret (Nr.1)
Epsilon - Front turret (Nr.2)
And at the Mamba Raider, the rear turret is 'Beta', for example.
If you switch the turret, it will be checked if there are any weapons installed, cause it doesn't make sense to search enemies in a non-existent firing range. Tractorbeams don't count to weapons.
If there's no weapon installed, the script deactivates the enemy-searching mode, which it'll tell you acoustical.
If you turn on the enemy-searching mode, the first turret with installed weapons will automatically be selected.
For example, if you fly a Teladi Vulture, which has a rear-turret and no front weapons, it's senseless to activate the enemy-searching mode, apart from that you're in the turret yourself.
If you change your ship, the settings from the previous ship will be taken over - But the cockpit will be selected as the turret for enemy-searching. Pressing the mode changing hotkey after changing the ship will tell you the current mode instead of changing the mode.
If you want to use the six additional features, you have to install the Special Command Software MK I in your Ship
(stations, carriers, ware containers); Fight Command Software MK I (adverse capital ships); and MK II (missiles).
Uninstallation:
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
There are two possibilities for uninstalling this script package:
First, you can simply run the script "plugin.targeting.uninstall" using the ScriptEditor. Every single hotkey will be uninstalled. Afterwards, you have to remove the script files.
The second way is to copy the file "!setup.plugin.targeting" from the Uninstall-folder to your "X3 Reunion\script"-directory.
Then, you need to load your savegame, confirm the uninstall-message, set the old hotkey configuration, save your game and close X3. Now, you have to remove the targeting-scriptfiles (every file with "targeting" in its name, please don't remove the lib-files)
X-Freak Cartman isn't liable for eventual disadvantages, the usage of this script happens at owner's risk.
Ressources:
¯¯¯¯¯¯¯¯¯¯¯
Files:
scripts\
!setup.plugin.targeting.xml
al.targeting.missiles.xml
lib.ad.racetoraceinteger.pck
lib.cm.find.gates.xml
lib.cm.interrupt.xml
lib.cm.isdecouplingkhaak.xml
lib.cm.isenemy.xml
lib.cm.isincomplex.xml
lib.cm.isknown.xml
lib.cm.page.id.xml
plugin.targeting.change.mode.xml
plugin.targeting.enemy.next.task.xml
plugin.targeting.enemy.next.xml
plugin.targeting.enemy.prev.task.xml
plugin.targeting.enemy.prev.xml
plugin.targeting.missile.next.tk.xml
plugin.targeting.missile.next.xml
plugin.targeting.next.carrier.xml
plugin.targeting.next.debris.xml
plugin.targeting.next.enemy.gks.xml
plugin.targeting.next.enemy.xml
plugin.targeting.next.gate.xml
plugin.targeting.next.missile.xml
plugin.targeting.next.player.xml
plugin.targeting.next.roid.notsc.xml
plugin.targeting.next.roid.sc.xml
plugin.targeting.next.station.xml
plugin.targeting.next.ware.xml
plugin.targeting.next.xml
plugin.targeting.prev.enemy.xml
plugin.targeting.prev.player.xml
plugin.targeting.prev.station.xml
plugin.targeting.prev.xml
plugin.targeting.setup.xml
plugin.targeting.shipchanged.xml
plugin.targeting.turret.xml
plugin.targeting.uninstall.xml
plugin.targeting.ware.next.task.xml
plugin.targeting.ware.next.xml
Uninstall\
!setup.plugin.targeting.xml
t\
447730.xml
497730.xml
Hotkeys:
This script adds 17 new hotkeys.
Version history:
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
1.51
next enemy: new aim if Cluster decouples
1.5
Enemy searching advanced, CTD-Bug while using a joystick reduced (or hopefully removed)
1.4
Script optimized for X3Plus, 'Next warpgate' as well as 'Next (un)scanned asteroid' added, new t-file
1.31
Ship change fixed
1.3
Added 'restricted access' to the enemy-searching modes; minimal changes.
1.24 (no official release)
Added the turred-choice to the enemy-searching modes; new setup-script; NoSE-scripts
1.23
Added the enemy-searching mode; actualiced the library
1.22
Added auto-targeting to the missile-search; some comments adjusted
1.21
Bug fixed in the cap ship-search; added auto-targeting to warecontainer-search
1.2
Missile-search looks for missiles that have been fired to other ships than the playership; adjusted scripts for signing
1.1
Added six additional targeting-features
1.0
Release
__________________________________
© 2006/07 X-Freak Cartman
I wish a good profit for everyone
German Topic