Resource icon

Automobilista 2 Auto Director Version 0.3.2.3

Login or Register an account to download this content
Overlay updates with UDP driven Leaderboard and Time, I found the map from this to work really well too. https://www.overtake.gg/downloads/a-complete-simhub-overlay-pack-for-ams2.68241/
  • Like
Reactions: tototototototot
Hotfix for Leader text

  • Added Camera Hog feature to share the camera around.
  • Added flick to leader if no small gap
  • Added Pit Lane Penalty
  • Added Camera Boost at changeover to new driver.
Overlays should now always show driver in view
  • Like
Reactions: tototototototot
Some quality improvements, space pauses camera keypresses, Esc quits nicely, slight boost for leaders 0.02 of a second added per position, in a field of 26 that's 0.52 seconds gap penalty for those at the back
  • Like
Reactions: tototototototot
Small bug fix for choosing correct driver in view.
  • Like
Reactions: tototototototot
Bug Fixes for vehicles in Pits and or quit from game.
  • Like
Reactions: tototototototot
I've taken a different direction with this and discovered that simhub can get useful data in Replays, Spectator and Broadcasters modes when switched to UDP.
This means that we cant use gary swallows excellent plugin however as it doesn't work in that mode.

What we have now is an Auto director that works in race mode only (for now) for Replays, Spectator and Broadcasters.

It's driven by the simhub overlay. The simhub overlay gets the data from the streamers AMS2 and we use the OBS browser option of simhub to get the overlays into the stream. I was helped with the GFX (as thats not my thing ) by @Scotty_g of CASS Thanks Mate

The python script (it's really a script glued together as an .exe) reads invisible text from the overlay to determine which racer to show, and opens a chrome instance of the overlay, reads it, and presses up, down and enter on your system to change cameras.

It targets the smallest gap to view.
Example of use here:

Hi All,
Attached is proof of concept AMS2 Auto DirectorV0.2 running in Simhub, now has none race sessions and a rudimentary control dash.
There are limited keyboard commands available, Up, down, enter for drivers, u to change across to cameras, left right, enter for camera type. Thats it.
It can not work in spectator mode as no telemetry is available in that mode.


Auto Director has some basic rules.
In Race:
  • Smallest gap is the most dominant
  • It wont show you in the pits unless you enter with the camera on you cos pits are boring
  • It has a small bias for leading cars
  • It wont change camera if the next change is within 1 of the current camera, it's jarring and it's the same battle
Practice, Qualifying, Warmup:
  • Speed Score, points deducted for going slower than 15kph
  • Lap Valid check, points deducted for invalid lap
  • Personal Sector times 1,2,3. Points added if faster than Personal best
  • Global Sector times 1,2,3.Lots of Points added if faster than session best
  • It has a small bias for leading cars
Changing cameras is very jarring, so I'm still not doing it yet

To Install:
  • Import the dash into simhub
  • Install AutoHotKey (to press the keys)
  • Install SimHub - TV Style Side & Scrolling Leaderboards + Timings SideScreen (it uses Gary's excellent plugin for the gaps between racers)
  • Place the AutohotKey scripts in C:\Program Files (x86)\SimHub\ShellMacros
  • Place the AMS_Score.JS in C:\Program Files (x86)\SimHub\JavascriptExtensions
To Operate:
It can not work in spectator mode as no telemetry is available in that mode. Must be a racer who retires.

  • Start AMS2
  • Run a race
  • Start the race
  • Retire to pit box
  • Monitor race
  • Run simhub dash
  • Click driver 1 and leave the game in focus

Enjoy Auto Director!

RangeyRover

Latest News

What would make you race in our Club events

  • Special events

    Votes: 36 26.3%
  • More leagues

    Votes: 27 19.7%
  • Prizes

    Votes: 25 18.2%
  • Trophies

    Votes: 15 10.9%
  • Forum trophies

    Votes: 8 5.8%
  • Livestreams

    Votes: 23 16.8%
  • Easier access

    Votes: 80 58.4%
  • Other? post your reason

    Votes: 21 15.3%
Back
Top