[Script] [Combat] Bombardier v 1.963 [27-01-2008]

The place to discuss scripting and game modifications for X³: Reunion.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

User avatar
ChemODun
Posts: 435
Joined: Mon, 12. Feb 07, 21:58
x4

[Script] [Combat] Bombardier v 1.963 [27-01-2008]

Post by ChemODun »

Script type: Ship Commands and Other Scripts
Xtended .7 compatible

################################################################################
Script : Bombardier
Author : Chem
E-mail : chemodun@gmail.com
Version: 1.971
Date : 11-01-2009
Desc. : System for fast switching weapon and command on ship turrets. Additionally – fast on/off turrets switch.
################################################################################

_____________
Short Description:
This system will added new functionality for saving and loading eights configurations of all installed on ship weapons (and worked on it’s turrets commands).
When configurations try to load, it will load if ship have enough amount of weapon.
When configuration try to save – current command (turret’s scripts) will be saved (if it’s rated as supported).
Additionally you can disable/enable each turret on ship separately (weapons won’t be uninstalled, only command on turret will be disabled).

_____________
Download:
Spk version
Zip version
_____________
Plot History:
This is shared Boron-Split engineering design ( i.e. we don’t know exactly, who from who steal this technology: Split form Boron or Boron from Split ;-). This technology based on idea of "micro jump", which come as extension of general Jump Drive. This allow any pilots make fast change of installed weapons. All configurations must be previously prebuilded in configuration slots, because all trajectories from cargo bay to turret.

_____________
Changes History:
  • 1.971
    Fixed hot key "On/Off Turret 2"
  • 1.970
    Added new hot key "On/Off All Turrets"
  • 1.968
    Debug logging procedure was changed
    Added support of Turret Selective Attack script by Armankessilon, with two commands:
    - Turret Defence from Fighters
    - Turret Defence from Big Ships
    Added new configuration parameter "Auto-save configurations, when switched", disabled by default. When enabled, all changes in current configuration will be saved when switched to any another.
  • 1.963
    -Fixed bug with some buggyes ships, which has turrets without weapon slots.(Thanks to eXPert)
    -Removed log message, when pilot try use empty config
  • 1.961 Turret Missile Defense Mk2 by fud now supported:
    - Advanced Missle Defense
    Small fixes.
    Uninstaller clean all variables, which was used by Bombardier.
  • 1.959 Turret Commands plugin by Xai Corporation now supported:
    - Turret Fighter Defense
    - Turret Attack Capital Ships
  • 1.956 Added possibility to work with another 4 configurations (please use shif hotkey "Select another four Weapon Conf".
    Added 6 hotkeys for on/off turrets switching.
  • 1.949 Added new hotkey "Start Weapon Conf. recording", after pressing, system still wait 10 seconds for pressing hotkey for needed configuration slot.
    If you press "Start Weapon Conf. recording" in this time – recording will be interrupted.
    Added new configuration parameter "Do auto-fix configuration with errors", disabled by default.
    If auto-fix is Off:
    I you try switch to any saved configuration and you don’t have enough amount of weapons for selected configuration – you can’t switch to this configuration.
    If you try view any saved configuration, and you don’t have enough amount of weapons – system will ask you for fixing this configuration.
    If auto-fix is On, system will try use fix configuration automatically and you can switch to any configuration, all weapons, which amount is null or doesn’t enough – will be cleared from configuration (only current amount will rest in configuration). But fixed configuration will not be saved.
  • 1.936 Missed lib.chem.strings.
    Fixed saving of old Player Ship.
    Improved debug.
  • 1.934 Fix in Russian language.
  • 1.933 4x GKS Turret Commands by SuperVegeta now supported :
    Attack only BridgeTargets
    Attack Big Ships, M0,M1,M2,M6,M7,TL
    Attack Small Ships, Fighter,TS,TP,Missilles
    Kill BridgeTarget without Frind-EnemyDetection
    Small fixes, new lib.chem.strings was used
  • 1.932 First public release (Russian)
  • 1.930 Public beta
_____________
Installation:

Please use Script Installer by Cycrow.

______
Usage:
  • Needed special software and upgrades:
    • Fight Command Software MK1,
    • Fight Command Software MK2,
    • Special Command Software MK1
  • One command slot used in "Special . . . " - "Bombardier: Weapon configurations", for view and save configurations, and configure additional parameters.
  • Additionally system use 12 hotkeys.
    • First 6 used for switching between configurations.
    • If you try switch configuration – you receive voice message with status of switching.
    • How to load stored configurations:
      • Configuration slot from 1 to 4 – press hotkeys "Configuration # 1" . . . "Configuration # 4"
      • Configuration slot from 5 to 8 – first press hotkey "Select another four Weapon Conf", then "Configuration # 1" . . . "Configuration # 4" respectively.
    • How to store configuration to any configuration slot:
      • First press "Start Weapon Conf. recording", then in 10 seconds press hotkey combination for needed configuration slot (as described above).
      • If you press "Start Weapon Conf. recording" in this time – recording will be interrupted.
    • When you save weapons configuration in slot will be stored current commands on each ship turrets.
      Now supported:
  • Via menu slot "Bombardier: Weapon configurations" you can disable storing and loading current command on ship turrets.
  • Additionally you can define parameter "Do auto-fix configuration with errors", disabled by default.
    • If auto-fix is Off:
      I you try switch to any saved configuration and you don’t have enough amount of weapons for selected configuration – you can’t switch to this configuration.
      If you try view any saved configuration, and you don’t have enough amount of weapons – system will ask you for fixing this configuration.
    • If auto-fix is On, system will try use fix configuration automatically and you can switch to any configuration, all weapons, which amount is null or doesn’t enough – will be cleared from configuration (only current amount will rest in configuration). But fixed configuration will not be saved.
  • Another configuration parameter is "Auto-save configurations, when switched", disabled by default. When enabled, all changes in current configuration will be saved when switched to any another.
  • Another 7 hotkeys :
    "On/Off Turret # 1"" On/Off Turret # 6" and and "On/Off All Turrets" - you can enable – or disable command on turret (all turret). When you try do enable for turret – system will try load command from last used or saved configuration.
_____________
Uninstall:

Please use Script Installer by Cycrow.


_____________
Information:
Command slot:
<t id="557">COMMAND_TYPE_SPECIAL_57</t> with name <t id="557">COMMAND_TYPE_WEAPON_CONFIGURATIONS_MENU</t>
Text file:
8796
Text page:
8796
Additionally use lib.chem.strings, with:
Text file:
8910
Text page:
8910


_______________________
© Chem
Last edited by ChemODun on Sun, 25. Jan 09, 22:57, edited 5 times in total.
Multiply entropy by absolute zero

Freedom in space
Puruco
Posts: 527
Joined: Tue, 6. Dec 05, 00:09
x3

Post by Puruco »

Hi Chem: Is this script is the same as weapon changer from Bunny, with the addition of other scripts?
User avatar
ChemODun
Posts: 435
Joined: Mon, 12. Feb 07, 21:58
x4

Post by ChemODun »

Puruco wrote:Hi Chem: Is this script is the same as weapon changer from Bunny, with the addition of other scripts?
No, i.e. it's like as same - but:

1. It's fork only on current player ship.
2. It's no have weapon autoswitching feature.
3. No any other script can detect and store information about current running commands on turret, in most other scripts currently running command do changing of weapon.

More information about commands store - if you fly on big ship - you can have, for example, 3 configuration :
first - more GPPC turrets with Attack Big Ships, M0,M1,M2,M6,M7,TL , two FLAK - with Attack Small Ships, Fighter,TS,TP,Missilles.
second - same weapon config, but two GPPS turrets has Attack only BridgeTargets
third - for example - all turrets - FLAK, two with Attack only BridgeTargets, all other - Attack Small Ships, Fighter,TS,TP,Missilles.

I.e - if you want more automatic's work - you can (and may be must) use x0ne Turret Control System (TCS) or Bunny's Weapons Changer.

But I'd like have more control when I fight :-)
Multiply entropy by absolute zero

Freedom in space
Puruco
Posts: 527
Joined: Tue, 6. Dec 05, 00:09
x3

Post by Puruco »

Ok, thanks Chem, excellent work....
User avatar
ChemODun
Posts: 435
Joined: Mon, 12. Feb 07, 21:58
x4

Post by ChemODun »

New version(bug fixes):
  • 1.963
    -Fixed bug with some buggyes ships, which has turrets without weapon slots.(Thanks to eXPert)
    -Removed log message, when pilot try use empty config
Multiply entropy by absolute zero

Freedom in space
User avatar
ChemODun
Posts: 435
Joined: Mon, 12. Feb 07, 21:58
x4

Post by ChemODun »

  • 1.971
    Fixed hot key "On/Off Turret 2"
  • 1.970
    Added new hot key "On/Off All Turrets"
  • 1.968
    Debug logging procedure was changed
    Added support of Turret Selective Attack script by Armankessilon, with two commands:
    - Turret Defence from Fighters
    - Turret Defence from Big Ships
    Added new configuration parameter "Auto-save configurations, when switched", disabled by default. When enabled, all changes in current configuration will be saved when switched to any another.
Multiply entropy by absolute zero

Freedom in space

Return to “X³: Reunion - Scripts and Modding”