Greetings Commanders,
Version 5.02 now available to public.
What's new since 5.0.0 ...
What's new in 5.0.0... (see Changelog.txt in package for complete list)
After much deliberation and gnashing of teeth, I have decided to share my own personal Thrustmaster Warthog TARGET Script.
I originally used Aussiedroid’s script (v3.1.0.5) as the base...2 years ago.
However my philosophy is fundamentally different in so far as I only included the functionality I wanted to use and therefore stripped out everything else.
I then expanded some features, added a lot more of my own and rewrote the script from the ground up several times as I learnt more about how TARGET script worked…and now, two years later, it is...what it is!
I have now added in some usability features to suit other players, some of whom are perhaps starting out and just want a BASIC profile with no bells and whistles.
The single biggest difference between my script and all the others I’ve seen and borrowed ideas from is that mine continuously reads the status.json file in the journal folder, then uses comprehensive state tracking for most of the features and functions in the FULL profile.
Features of my script include; (updated)
I have included the User Reference Guide (PDF) in the package to describe in simple terms, how to make the most of using the script.
The script itself is intended to provide immersion within the game but has a ton of commentary if you are so inclined to look under the hood.
In this regard, the script serves as an extended reference for those who wish to learn TARGET script, or improve their knowledge beyond the basic “Fast Script Basics User Manual” supplied by Thrustmaster.
This script is a labour of love and continuous work in progress for me and I am constantly changing, improving and adding stuff all the time.
I hope you enjoy this script and that it suits your requirements and playstyle.
I look forward to any feedback and suggestions you may have for improvement.
Cheers
CMDR Clicker
Version 5.02 now available to public.
GitHub - ClickerNZ/ED_TargetScript-502: Elite Dangerous
Elite Dangerous. Contribute to ClickerNZ/ED_TargetScript-502 development by creating an account on GitHub.
github.com
What's new since 5.0.0 ...
v502.02 - Replace legacy TARGET aliases as per;
- &Joystick replaced by &MyJoystick
- &Throttle rpllaced by &MyThrottle
- &TFRPRudder replaced by &MyRudder
- Include check code in main and assign above aliases with compatible Thrusmaster hardware aliases
- Remove excludes for compatible thrustmaster hardware (AVA base and/or F18 flight sticks should work)
- Set joystick Y axis default to YAW for BASIC profile for users without Rudders
- Review and correct Keymaps and map files
=======
v502.01 - New Point Release
- Many changes and enhancements
- Re-Index
- Fix FSD cooldown logic
- Add delay to Analysis Mode announcement in SRV
- Include toggle check for ALL status.json flag bits
- Use common handle for Primary and Secondary Fire for AdvFireControl
- update version info to signal compatibility in Main
- consolidate handle names for AutoRepeat and REXEC in ED_ScriptDefines
- update file locations etc due to new PC build in ED_UserSettings
- comment out MS TTS Voices not yet installed in ED_UserSettings
- ED_Toggles
- tweak cargo scoop code
- overhaul ReverseThrust code
- add reverse beep SFX to ReverseThrust
- enable Boost function for Supercruise (for SCO drives)
- ED_StateTracker
- Track json length and announce when new max length found
- include NewMaxJson variable to save/reload
- lots of minor cosmetic changes
- tweak fnSoundFX(). create global variables for volume and loops to allow setting prior to using AutoRepeat() (if reqd)
- Update for new version of TARGET and exclude new AVA_F16 and AVA_F18 base/stick combos.
- Fix printf for script version
v501 - New Point Release
- Update binding files to include missing binds reqd by VA/HCS Voicepacks
- Update Maps files
- Update User Reference guide
- Map Alt+Yaw and Pitch to Throttle Coolie Switch (S3+CSU/D/L/R)
- Use CSU/D/L/R for Supercruise/Hyperjump/NextRoute/OrbitLines
- Detect when we deploy SRV then reboard ship - print to console
- Add new status.json 'Flags2' bits and tweak formatting
- Update ED_ScriptDefines.ttm and ED_StateTracker.tmh with latest JournalDocs link
- Update TARGET software to 3.0.21.910 and update ED-Main.tmc to exclude the new hardware
- reformat macro naming to "m_" for easier indexing
- Add check and announce FSD Cooldown completion
- Add check and announce Masslock changes when in ship
- Add check for and announce (debug) FSDJump toggle
- Add check for and announce (debug Supercruise toggle
- Adjust "Enter Hanger and Station Services" macro (now works for all stations and Fleetcarriers
- Add check for boarding ship, SRV or disembark
- Fix game start/stop detection code when on foot
- Fix SilentStrobe code by adding additional condition checks (was firing when disembarking from Ship)
- Fix TurretDeployed/Retracted announcements when disembarking from SRV
- re-index all script files
- &Joystick replaced by &MyJoystick
- &Throttle rpllaced by &MyThrottle
- &TFRPRudder replaced by &MyRudder
- Include check code in main and assign above aliases with compatible Thrusmaster hardware aliases
- Remove excludes for compatible thrustmaster hardware (AVA base and/or F18 flight sticks should work)
- Set joystick Y axis default to YAW for BASIC profile for users without Rudders
- Review and correct Keymaps and map files
=======
v502.01 - New Point Release
- Many changes and enhancements
- Re-Index
- Fix FSD cooldown logic
- Add delay to Analysis Mode announcement in SRV
- Include toggle check for ALL status.json flag bits
- Use common handle for Primary and Secondary Fire for AdvFireControl
- update version info to signal compatibility in Main
- consolidate handle names for AutoRepeat and REXEC in ED_ScriptDefines
- update file locations etc due to new PC build in ED_UserSettings
- comment out MS TTS Voices not yet installed in ED_UserSettings
- ED_Toggles
- tweak cargo scoop code
- overhaul ReverseThrust code
- add reverse beep SFX to ReverseThrust
- enable Boost function for Supercruise (for SCO drives)
- ED_StateTracker
- Track json length and announce when new max length found
- include NewMaxJson variable to save/reload
- lots of minor cosmetic changes
- tweak fnSoundFX(). create global variables for volume and loops to allow setting prior to using AutoRepeat() (if reqd)
- Update for new version of TARGET and exclude new AVA_F16 and AVA_F18 base/stick combos.
- Fix printf for script version
v501 - New Point Release
- Update binding files to include missing binds reqd by VA/HCS Voicepacks
- Update Maps files
- Update User Reference guide
- Map Alt+Yaw and Pitch to Throttle Coolie Switch (S3+CSU/D/L/R)
- Use CSU/D/L/R for Supercruise/Hyperjump/NextRoute/OrbitLines
- Detect when we deploy SRV then reboard ship - print to console
- Add new status.json 'Flags2' bits and tweak formatting
- Update ED_ScriptDefines.ttm and ED_StateTracker.tmh with latest JournalDocs link
- Update TARGET software to 3.0.21.910 and update ED-Main.tmc to exclude the new hardware
- reformat macro naming to "m_" for easier indexing
- Add check and announce FSD Cooldown completion
- Add check and announce Masslock changes when in ship
- Add check for and announce (debug) FSDJump toggle
- Add check for and announce (debug Supercruise toggle
- Adjust "Enter Hanger and Station Services" macro (now works for all stations and Fleetcarriers
- Add check for boarding ship, SRV or disembark
- Fix game start/stop detection code when on foot
- Fix SilentStrobe code by adding additional condition checks (was firing when disembarking from Ship)
- Fix TurretDeployed/Retracted announcements when disembarking from SRV
- re-index all script files
What's new in 5.0.0... (see Changelog.txt in package for complete list)
v5.0.0
- - New Major release - Odyssey
- - Add reg scrap folder and scraps for extra voices
- - Added more comments in ED_UserSettings.tmh to include how to add TTS voices to Win10
- - tgWarpDrive()
- - Add more tests.
- - Include retries if Masslocked - via fnCheckFSDMasslocked()
- - Add check for FSD Charge failure - via fnCheckFSDCharge()
- - Update TARGET software to 3.0.20.826 and update ED_Main.tmc to exclude the new hardware
- - Add new Odyssey based status.json Flags2 defines and global variables
- - Add new stfnProcessFlags2() function within ED_StateTracker.tmh
- - Wing Beacon macro fixed for Odyssey - selection not moving back up tree to top for Wing Beacon toggle
- - Game START and HALT now tested via myJson string length (no longer via Flags NEQ 0) due to Odyssey changes
- - Include Communications Control code (ED_CommsControl.tmh) NOTE: Still under test!
- - Update Status Page Printout to include Flags2 bits
After much deliberation and gnashing of teeth, I have decided to share my own personal Thrustmaster Warthog TARGET Script.
I originally used Aussiedroid’s script (v3.1.0.5) as the base...2 years ago.
However my philosophy is fundamentally different in so far as I only included the functionality I wanted to use and therefore stripped out everything else.
I then expanded some features, added a lot more of my own and rewrote the script from the ground up several times as I learnt more about how TARGET script worked…and now, two years later, it is...what it is!
I have now added in some usability features to suit other players, some of whom are perhaps starting out and just want a BASIC profile with no bells and whistles.
The single biggest difference between my script and all the others I’ve seen and borrowed ideas from is that mine continuously reads the status.json file in the journal folder, then uses comprehensive state tracking for most of the features and functions in the FULL profile.
Features of my script include; (updated)
- 2 separate, user selectable MapKey profiles
- FULL – all the bells and whistles
- BASIC – no macros, no function calls, just send basic keystrokes
- 3 additional firing modes for primary and secondary triggers including
- Pulse Wave Scanner mode (fires a pulse every 7 seconds)
- Discovery Scanner mode (holds trigger for 6.1 seconds)
- Mining Laser Mode (press to fire, press to stop)
- 5 user customisable, change on the fly curve profiles for Joystick, Rudder and Slew selectable via the autopilot switch
- FA-OFF automatically applies custom curves to joystick and rudder
- User customisable curve profiles for slew control and slider
- Slider curves (Radar tuning) automatically applied via flight mode tracking
- Advanced PIP Manager includes 6 PIP modes, all selectable on the fly
- Advanced Counter measures control includes single SCB, SCB with auto heatsink and ‘Double Bank’ (2 x SCB + 1x heatsink) modes
- Silent Running ‘Strobe’ feature to toggle silent running on/off every 2 seconds
- Text-To-Speech engine provides additional voice feedback
- turn on/off on the fly
- volume control on the fly
- includes a training mode which speaks each switch/button function
- user selectable default voice
- use different voices for different functions (in script only)
- Sound effects engine to add extra feedback in game
- Advanced state processor, which reads status.json twice per second and detects when key flags are changed.
- Additional flags tracked, saved to file and loaded when required, automatically
- Comprehensive print to console messages by most functions
- On the fly LED ON/OFF plus brightness control.
- Status LEDs accurately synchronised with game states for 5 key ship systems
- Flashing base LEDs on game start and flashing status LEDs on state change
- User Setting to enable or disable flashing LEDs
- Accurate game start and stop detection
- Macros included for;
- Docking request with auto PIPs to shields
- Wing Beacon On/Off
- Report Crimes On/Off
- Deploy and Recover the SRV
- Dismiss/Recall Ship
- Station services which can be set to auto on dock, or via switch
- Launch+lift off+retract landing gear+25% throttle
- Fast Game Mode switching (includes anti-clog code)
- Simple, logical target designator functions including system module targeting
- Speed brake function using timed landing gear deployment/retraction
- Advanced Super cruise / Hyper jump tracking with drop detection
- Joystick, Throttle and Keyboard Utilisation images for both BASIC and FULL profiles
- Fully documented and commented code
- Comprehensive Key Bind Sheet file detailing standard and combo keyboard keys
- Toggle Engine and Weapon colours on the fly
- 2x comprehensive custom key bind files included
- Extensive use of layers using Throttle Pinky and/or Joystick Pinky switches
- Audio reminders when Throttle Pinky modifier switch is not in the middle
- Training Mode which prints to console and speaks the function of all buttons and switches
- ...and more!
The script itself is intended to provide immersion within the game but has a ton of commentary if you are so inclined to look under the hood.
In this regard, the script serves as an extended reference for those who wish to learn TARGET script, or improve their knowledge beyond the basic “Fast Script Basics User Manual” supplied by Thrustmaster.
This script is a labour of love and continuous work in progress for me and I am constantly changing, improving and adding stuff all the time.
I hope you enjoy this script and that it suits your requirements and playstyle.
I look forward to any feedback and suggestions you may have for improvement.
Cheers
CMDR Clicker
Last edited: