Profile image

Flight Recorder

58.4k hpgbproductions  one month ago
774 downloads
Version 1.1 Tool

Dev Notes: Please read the "Notice about Data Sets" section, and the Commands Reference.

Flight Recorder (FLTREC) is a tool to save and load aircraft movement and control inputs. Through dev console commands, you can record yourself operating your machine, and replay and save it.

Numerous settings can be changed through the dev console, from recording quality to preview colors. These settings are autosaved when the game is closed. The Commands Reference provides information on every action and settings command included in the mod.

Demonstration - Loading, previewing, and playback of previously saved data
SharkTooth.FRC (movement data set only)

Notice about Download Options:
- The Source Code function is a link to the GitHub repository containing the assets and FLTSCR companion program. The reference material may be viewed there.

Warning! This mod contains file I/O functionality. To avoid the loss of any data, please do not use the NACHSAVE folder other than for storing mod files.

If you find any issues, please provide details in the comments.

Version 1.1 >
- [Addition] Added a command that prints the current settings to the dev console
- [Improvement] Optimization on recording when not all data sets are enabled
- Notice: Recording and settings file formats have NOT been changed. All recordings made on V1.0 or FLTSCR will be natively compatible with V1.1.

Version 1.0 >
- Initial release

What can you do with FLTREC?

  • Record videos without having to operate the aircraft and camera at the same time
  • Map and view flight paths
  • Create and share aircraft control macros

Notice about Data Sets:
This program splits the list of recorded information into four categories:
- M (Movement): Position and rotation. Default ON.
- S (Standard): Basic control axes, Throttle, and Brake. Default ON.
- E (Extra): Trim and VTOL sliders, and landing gear. Default OFF.
- A (Advanced): Weapons and activation groups. Default OFF.

Recording settings will determine which data sets are recorded. This setting is saved in each recording. During playback, this information is checked. A recorded data set will be locked from player input during playback.

The following information cannot be recorded:
- Start values of disabled data sets
- Switching of weapons, targets, or combat mode

Get Started

This will help you to familiarize yourself with FLTREC.
1. Install the mod and enter a map.
2. Run FltRec_Record and fly around a bit.
3. Run FltRec_Stop, then FltRec_Preview. Your flight path will appear.
4. Run FltRec_Play. Your aircraft will follow the path from the beginning, and the main aircraft controls move accordingly.
5. Run FltRec_Save and enter a file name. Only use alphanumeric characters or underscores.
6. Close the game, then re-open it. Try to run FltRec_Play. You will notice that there is no replay data to load.
7. Run FltRec_Load with the same file name as in step 5, then run FltRec_Play. The effect is the same as in step 4.
8. You are ready to start using FLTREC! Take a look at the Commands Reference to view settings and gain access to more functionality.

Additional Software

The Flight Scripter (FLTSCR) companion program (downloadable separately) may be used to create macros from code. You will get greater control over timing and input precision. Check out the FLTSCR Reference for more information.

Known Issues

  • Aircraft sometimes suddenly enters a spin at the end of playback, if movement data is included.

  • Log in to leave a comment
  • Profile image

    @Fungus FLTSCR can be used to make new recordings, but cannot edit them

    16 days ago
  • Profile image
    11.3k Fungus

    @hpgbproductions aww, i was hoping to create a TAS for a few race tracks

    17 days ago
  • Profile image

    @FLOWRIDER0 no, there's no tool for that

    17 days ago
  • Profile image
    11.3k Fungus

    Am i able to directly edit a recording file so i can have frame perfect controlling of an aircraft?

    17 days ago
  • Profile image
    31.0k winterro

    @hpgbproductions thx, now i know :)

    19 days ago
  • Profile image

    @winterro FltRSet_RecordControls ~ ~ true true
    - ~ = either true or false
    - VTOL is in E, FireWeapons is in A
    - Remember that the order is M, S, E, A
    - Commands reference is your friend

    19 days ago
  • Profile image
    31.0k winterro

    @hpgbproductions and what do you need to type when trying to add the vtol and weapon datasets?

    19 days ago
  • Profile image

    @Repairman the source code link goes to the github, you could view or download the code there
    good for learning how this is made, maybe you could even build your own version, but not much else

    20 days ago
  • Profile image
    200 THEYE

    HOW DO I GET THE SOURCE

    20 days ago
  • Profile image

    @winterro I don't think there's any way to teleport AI planes, at least one that's reasonably not too complicated

    20 days ago
  • Profile image
    31.0k winterro

    @hpgbproductions you should do ithis for AI planes too, so you can spawn them, assign and flightpath so you can make them where u want, like making an new race path to race against like a bandit-yeager offroad

    21 days ago
  • Profile image
    6,290 Star737

    Reminds me of FS Recorder and finally someone answered one of my forums! Nice work!

    one month ago
  • Profile image
    3,236 JumpingJack

    This is useful for cars because you can review your racing line with the playback and the flight path. I love it!

    one month ago
  • Profile image
    94.2k Kennneth

    Incredible

    one month ago
  • Profile image

    @HawaiiRanger activation group: turn on "advanced" data set
    Trim/VTOL: turn on "extra" data set
    A new part has been copied from the commands reference to this mod description

    one month ago
  • Profile image
    5,990 HawaiiRanger

    Does this work with activation group and Trim/VTOL?

    +1 one month ago
  • Profile image
    840 Leviatham

    @hpgbproductions

    Would you know to say where in the code is the trigger that causes the weapons to disappear below -20m? and if it is possible to change it so that it doesn't happen?

    one month ago
  • Profile image
    11.3k Fungus

    So now i can do a TAS of gold prix with my new expiremental car

    one month ago
  • Profile image

    @hpgbproductions awesome. Thank you

    one month ago
  • Profile image

    @avgeek101 only one color along the whole line, but you can change it

    one month ago
  • Profile image

    This is perfect. Now I can create special flight paths for aircraft retirements or special occasions. 2 questions though, is the color changeable and if you climb or descend does the color change or is it one color all together?

    one month ago
  • Profile image
    17.9k ZeroHours

    Damn, I was in need of this!

    one month ago
  • Profile image
    784 Eface

    Hi I'm just a person

    +2 one month ago
  • Profile image
    12.6k KLM_747

    @hpgbproductions Finally we have FSrecorder for SP, I've been waiting for this for a long time

    one month ago
  • Profile image

    @MisterT I don't know how Tacview works, but it should be possible
    I have the FRC file format specs overview in FLTSCR reference
    .
    Also I have some ideas for improvement, won't change the file format
    Currently, recording actually records all 4 data sets even if they are off, it's just that the disabled data sets are inaccessible

    one month ago
  • Log in to see more comments