/ED_TargetScript-420

Updated to support Elite Dangerous 3.7 (Fleet Carriers)

Primary LanguageBatchfileMIT LicenseMIT

Version 4.2.0

STATUS:

Production

HISTORY:

This script started with Aussiedoids' most excellent and extremely comprehensive ED script version 3.1.0 and was modified to mimic my old Saitek X-55 basic configuration. I have since decided to use the advanced abilities of TARGET Script to create a "smart" configuration and have studied and lifted ideas and methods from Aussiedroid and others including CMDRs Touille and Darkcyde.

PHILOSOPHY:

This script does not set out to use every single button and switch on the WARTHOG HOTAS, nor provide every single bind available in ED. Whilst convenient, I tend not to use the HOTAS for non-HOTAS functions (eg I do not currently issue chat macros or fighter instructions etc). I've written or modified the functions to suit my preferences, my play style and my hardware. Therefore, I've stripped a lot of features which exist in Aussiedroid's script, modified or rewritten others and created some new stuff.

My HARDWARE:

This script and supporting files are written and maintained to work with my current hardware setup. This includes a Thrustmaster Warthog HOTAS, Thrustmaster TWCS Pedals and an EDTracker Pro (wireless). Keyboard and mouse usage is very limited but still required for certain functions

COMPATIBILITY:

Be aware that this script uses some localised state tracking where possible/desired, which cannot currently synchronise with states changed using a second tool to issue concurrent commands via keystroke such as AutoHotKey or Voice Attack/HCS Voicepacks. UPDATE: If the second tool causes changes in status.json, this script now handles those.

CAUTION:

If you intend to edit this software, be careful changing the printf formatting as output from this script displays differently in the TARGET Editor versus the TARGET GUI Console due to font differences between the two. The formatting used herein suits the GUI console and not the editor.

UPDATE:

  • Versions 331 and later now include the ability to read/process any of the key/value pairs within the status.json file that Elite Dangerous writes to the journal folder.
  • Version 410 and 410a uses an external C++ based exe file (thanks to CMDR Touille) which resides and runs in the ED Journal file location. This program monitors status.json and sends the Flags key value via a TCP socket to TARGET. Together, these enable the script to align all of the state tracking I need.
  • Version 410b no longer uses the external C++ file. I've replaced this with an REXEC statement to run fnsReadStatusJson() every 500 ms.
  • Version 420 contains changes required for ED 3.7 - Fleet Carriers

PACKAGE CONTENTS:

When publishing or sharing this script the following should be included in the zipped package;

  • This readme file
  • The license file
  • User reference guide (pdf)
  • ED_Main.tmc, ED_Functions.tmh, ED_Macros.ttm, ED_Toggles.tmh, ED_StateTracker.tmh,
  • ED_MapKeyAssignment.tmh, ED_Defines.ttm, ED_GlobalVars.tmh, ED_UserSettings.tmh
  • Voice.exe (users can find this on github and check out the source if they wish)
  • sounder.exe (users can find this on github via the same author as voice.exe)
  • target_enhanced.tmh As of version 4.0.0, I use a modified target.tmh file which itself was modified by Sedenion (whenever Thrustmaster update their TARGET software, I will update it and provide a new version here)
  • Windows batch file (SAMPLE_Launcher.cmd) to use to launch Elite Dangerous, my TARGET script and supporting apps)
  • The Elite Dangerous .bind file created to support this script
  • The image files created to summarise the Joystick and Throttle button assignments
  • The image files created to summarise keyboard key utilisation
  • The change log for this version

INSTALLATION:

Refer User Reference Guide for full installation instructions

USER SETTINGS:

All user configurable settings are in the ED_UserSettings.tmh file. Avoid changing anything in ED_GlobalVars or ED_KeyMap files until you become more familiar with the script itself.

USAGE and SHARING:

Feel free to use the ideas and methods within my script for your own use and I encourage you to share with other like minded players.

LICENSE:

This software uses the MIT license which can be found at the root of this package/repository.

CREDITS:

Original script by Aussiedroid. Contribution and ideas lifted from Touille and Darkcyde. Modified target.tmh was sourced from Sedenion.

DISCLAIMER:

This software is a work in progress. No warranties are stated or implied. By downloading, installing and using this software, you agree to use this at your own risk.

If you like my work, consider spotting me the cost of a coffee via Patreon!

https://www.patreon.com/user?u=36436459

Fly Dangerous Commanders ... o7

CMDR Clicker