[SCRIPT] Weapons Changer v2.50 [Updated 15/07/07]
Posted: Sat, 30. Sep 06, 17:55
Weapons Changer v2.50
What it does:
It allows the ship to store and switch between up to 3 user defined weapons configurations for all turrets. The ship can also automatically switch to and from a 4th configuration that is only used out of sector (a useful feature for patrol craft).
Thanks to Gazz for the auto swap script.
Download Cycrow spk and zip bundle
Hosted by Xai Corporation - Download
Features:
- Hotkeys for weapons configuration swapping on the playership (direct selection or cycling)
- Broadcast feature enables all ships in sector to match the player ships weapons configuration by use of a single hotkey
- Audio confirmation of selected configuration for playership
- Works on all ships both in and out of sector
- Weapons are swapped to the 4th configuration when the ship is OOS. It reverts to the old setting when back in sector.
- Player log messages indicate software status
- Ship name is updated to show selected weapons configurations (not
on playership)
- Clone feature enables the weapon changer settings on one to be transferred to all other identical ships in the sector. So buy 10 ships, set up one and then transfer the information to the others.
This script has 5 hotkeys:
Cycle Config - This will cycle through the three weapon configuration A, B & C on the playership. If these have not been programmed then it will do this instead. If the player manually alters the loaded weapons and presses this key then the script will detect this and reprogram the selected configuration to match. All this is much easier to understand after using this function
Broadcast Config - This commands all ships in sector to switch to the same weapons configuration as the player. This means that if the player has A selected then the other ships will also switch to A. The weapons that are loaded depend on how each ship was programmed.
Select Config A - Select Weapons loadout A for player ship
Select Config B - Select Weapons loadout B for player ship
Select Config C - Select Weapons loadout C for player ship
How to set the player ship weapons configurations
Hotkey method
1. Place the weapons in the turrets which you want the ship to use OOS
2. Start Weapons changer by pressing the cycle hot key.
3. Press the cycle hot key, the ship will say "A", swap in the weapons you want for config A and press the cycle key again.
4. Press the cycle hot key, the ship will say "B", swap in the weapons you want for config B and press the cycle key again.
5. Press the cycle hot key, the ship will say "C", swap in the weapons you want for config C and press the cycle key again.
6. Done
Advanced method
1. Run Weapons changer input script, enter 7 to start the script on the ship.
2. Put the weapons you want for configuration A into the turrets
3. Run Weapons changer input script, enter 4 to program configuration A
4. Put the weapons you want for configuration B into the turrets
5. Run Weapons changer input script, enter 5 to program configuration B
6. Put the weapons you want for configuration C into the turrets
7. Run Weapons changer input script, enter 6 to program configuration C
8. Run Weapons changer input script, enter 8 to program configuration D. This configuration is used OOS
Th advanced method can be used to program ships you are not in (either IS or OOS).
How do I get the ship to swap weapons in and out of sector?
The ship will do this automatically. It will select setting D on going OOS and then revert to the old setting when IS.
How do I select a weapons configuration on a ship I am not in?
Run the weapons changer input script with 1 for A, 2 for B or 3 for C.
What happens when I enter or leave a ship running weapons changer?
When the player enters the ship it will remember the weapons configuration it was using. It will revert to this when the player leaves the ship. While the player is in the ship the selected configration will not be shown in the ship's name.
How do I command all other ships to swap weapons?
Use the broadcast settings hotkey. All other ships in sector will switch to same configuration the playership is using.
How do setup weapons changer on multiple ships?
If the ships are identical then the clone feature can be used. Program the weapons changer on one of the ships and then run input mode 12 to broadcast this information to all other identical ships in the sector.
Can I get weapons to swap based on my target?
Yes - run Gazz's autochanger script (hww.bunny.autoswitch)
See Gazz post for details
http://forum.egosoft.com/viewtopic.php? ... c&start=75
How to switch off weapons changer?
Select "Weapons Changer" mode 0 will just stop it, configurations will not be forgotten. Use mode 10 if you want to clear these configurations as well.
I've uninstalled the script, how do I get rid of the hotkeys?
Run hww.bunny.removekey.
List of input modes for weapons changer script
0 = Terminate weapons changer (P)
1 = Select weapons configuration A
2 = Select weapons configuration B
3 = Select weapons configuration C
4 = Program weapons configuration A (P)
5 = Program weapons configuration B (P)
6 = Program weapons configuration C (P)
7 = Normal operation - Start weapons changer (P)
8 = Program weapons configuration D (OOS configuration) (P)
9 = Select next weapons configuration (hotkey triggered)
10 = Terminate weapons changer and delete weapon configurations(P)
11 = Select weapons configuration D (test mode not intended to general use)
12 = Clone settings
(P) = Mode sends a confirmation message to the Player log.
Required Equipment
Fight command software mk2
Known issues
The laser bank display on the left of the screen does not update with hotkey swapping (although the ammo counters do).
This is a game bug. A work around is to either open a menu or change the view to refresh the display.
Version History
2.50 - Clone settings function added
- Improved weapon setting programming via hotkey
- Repeated weapon configuration tag in ship name bug removed
- Now possible to change ship name with no problem when the script is running
- Gazz's autochanger script now included
2.01 - Bug fix of incorrect loadout with small number of weapons
2.00 - Weapon configurations now stored in local memory (they are not forgotten if the script is restarted)
- The cycle hot key can be used to select/program/reprogram weapon configurations
- IS/OOS weapon swapping is automatically done provided weapon configuration D has been programmed
- Name of ship shows the selected weapons configuration (not on playership)
- If the player enters the ship then it will remember its current weapons configuration. This will be restored when the player leaves the ship.
- Hotkeys added to allow direct selected of weapon configurations A, B & C.
- Hotkey added to broadcast player ship weapon configuration to all other ships in the sector that are also running weapons changer.
- Restart code added for future upgrades
- Minor change in audio
1.45 Orignal release
Uses text file 8956
Command slot fight 55
[EDIT] 18-1-07
Orka on the German forum developed a similar script over a year ago http://forum3.egosoft.com/viewtopic.php ... 86&start=0
What it does:
It allows the ship to store and switch between up to 3 user defined weapons configurations for all turrets. The ship can also automatically switch to and from a 4th configuration that is only used out of sector (a useful feature for patrol craft).
Thanks to Gazz for the auto swap script.
Download Cycrow spk and zip bundle
Hosted by Xai Corporation - Download
Features:
- Hotkeys for weapons configuration swapping on the playership (direct selection or cycling)
- Broadcast feature enables all ships in sector to match the player ships weapons configuration by use of a single hotkey
- Audio confirmation of selected configuration for playership
- Works on all ships both in and out of sector
- Weapons are swapped to the 4th configuration when the ship is OOS. It reverts to the old setting when back in sector.
- Player log messages indicate software status
- Ship name is updated to show selected weapons configurations (not
on playership)
- Clone feature enables the weapon changer settings on one to be transferred to all other identical ships in the sector. So buy 10 ships, set up one and then transfer the information to the others.
This script has 5 hotkeys:
Cycle Config - This will cycle through the three weapon configuration A, B & C on the playership. If these have not been programmed then it will do this instead. If the player manually alters the loaded weapons and presses this key then the script will detect this and reprogram the selected configuration to match. All this is much easier to understand after using this function
Broadcast Config - This commands all ships in sector to switch to the same weapons configuration as the player. This means that if the player has A selected then the other ships will also switch to A. The weapons that are loaded depend on how each ship was programmed.
Select Config A - Select Weapons loadout A for player ship
Select Config B - Select Weapons loadout B for player ship
Select Config C - Select Weapons loadout C for player ship
How to set the player ship weapons configurations
Hotkey method
1. Place the weapons in the turrets which you want the ship to use OOS
2. Start Weapons changer by pressing the cycle hot key.
3. Press the cycle hot key, the ship will say "A", swap in the weapons you want for config A and press the cycle key again.
4. Press the cycle hot key, the ship will say "B", swap in the weapons you want for config B and press the cycle key again.
5. Press the cycle hot key, the ship will say "C", swap in the weapons you want for config C and press the cycle key again.
6. Done
Advanced method
1. Run Weapons changer input script, enter 7 to start the script on the ship.
2. Put the weapons you want for configuration A into the turrets
3. Run Weapons changer input script, enter 4 to program configuration A
4. Put the weapons you want for configuration B into the turrets
5. Run Weapons changer input script, enter 5 to program configuration B
6. Put the weapons you want for configuration C into the turrets
7. Run Weapons changer input script, enter 6 to program configuration C
8. Run Weapons changer input script, enter 8 to program configuration D. This configuration is used OOS
Th advanced method can be used to program ships you are not in (either IS or OOS).
How do I get the ship to swap weapons in and out of sector?
The ship will do this automatically. It will select setting D on going OOS and then revert to the old setting when IS.
How do I select a weapons configuration on a ship I am not in?
Run the weapons changer input script with 1 for A, 2 for B or 3 for C.
What happens when I enter or leave a ship running weapons changer?
When the player enters the ship it will remember the weapons configuration it was using. It will revert to this when the player leaves the ship. While the player is in the ship the selected configration will not be shown in the ship's name.
How do I command all other ships to swap weapons?
Use the broadcast settings hotkey. All other ships in sector will switch to same configuration the playership is using.
How do setup weapons changer on multiple ships?
If the ships are identical then the clone feature can be used. Program the weapons changer on one of the ships and then run input mode 12 to broadcast this information to all other identical ships in the sector.
Can I get weapons to swap based on my target?
Yes - run Gazz's autochanger script (hww.bunny.autoswitch)
See Gazz post for details
http://forum.egosoft.com/viewtopic.php? ... c&start=75
How to switch off weapons changer?
Select "Weapons Changer" mode 0 will just stop it, configurations will not be forgotten. Use mode 10 if you want to clear these configurations as well.
I've uninstalled the script, how do I get rid of the hotkeys?
Run hww.bunny.removekey.
List of input modes for weapons changer script
0 = Terminate weapons changer (P)
1 = Select weapons configuration A
2 = Select weapons configuration B
3 = Select weapons configuration C
4 = Program weapons configuration A (P)
5 = Program weapons configuration B (P)
6 = Program weapons configuration C (P)
7 = Normal operation - Start weapons changer (P)
8 = Program weapons configuration D (OOS configuration) (P)
9 = Select next weapons configuration (hotkey triggered)
10 = Terminate weapons changer and delete weapon configurations(P)
11 = Select weapons configuration D (test mode not intended to general use)
12 = Clone settings
(P) = Mode sends a confirmation message to the Player log.
Required Equipment
Fight command software mk2
Known issues
The laser bank display on the left of the screen does not update with hotkey swapping (although the ammo counters do).
This is a game bug. A work around is to either open a menu or change the view to refresh the display.
Version History
2.50 - Clone settings function added
- Improved weapon setting programming via hotkey
- Repeated weapon configuration tag in ship name bug removed
- Now possible to change ship name with no problem when the script is running
- Gazz's autochanger script now included
2.01 - Bug fix of incorrect loadout with small number of weapons
2.00 - Weapon configurations now stored in local memory (they are not forgotten if the script is restarted)
- The cycle hot key can be used to select/program/reprogram weapon configurations
- IS/OOS weapon swapping is automatically done provided weapon configuration D has been programmed
- Name of ship shows the selected weapons configuration (not on playership)
- If the player enters the ship then it will remember its current weapons configuration. This will be restored when the player leaves the ship.
- Hotkeys added to allow direct selected of weapon configurations A, B & C.
- Hotkey added to broadcast player ship weapon configuration to all other ships in the sector that are also running weapons changer.
- Restart code added for future upgrades
- Minor change in audio
1.45 Orignal release
Uses text file 8956
Command slot fight 55
[EDIT] 18-1-07
Orka on the German forum developed a similar script over a year ago http://forum3.egosoft.com/viewtopic.php ... 86&start=0