The ‘Stock Car Build’ has finally arrived! This build introduces a number of supportive code elements for this type of racing, but is also a testbed for some future advancements we have coming for this, and racing of all kinds.
We plan to release some more tracks (eagle-eyed forum users already spotted this), and with the help of some leagues, we hope to get the rules nailed down.
Working Stock Car rules:
No Lucky Dog to Driver who causes the caution
Speeding penalty during caution EOLL
Speeding penalty during green Drive Thru
Entering Closed pits EOLL penalty
Green White Checker finish
In-Car Track Bar Adjustment
Frozen Field when caution comes out
Partialy Working Stock Car Rules:
Double File Restarts – Leader Chooses which lane he starts
Double File Restarts – Proper line up order of Lead Lap, Lap down, Lucky Dog, Penalty Cars and Wave Arounds – Need feedback from Stock Car Leagues
Double File Restarts – Wave Around Cars – Do not get penalized yet for pitting before green flag is thrown
Qualifying Rules – 3 Round format works
Qualifying Rules – Forcing the use of 1 set of tires for all 3 rounds not working
Rules not implemented Yet:
Commitment cone violation for entering the pits
AI still race back to line when caution is thrown
All car(s) must maintain their respective track position for the restart, until they cross the start/finish line.
Blending rule when re-entering the track during green flag conditions
No passing under double yellow line at Superspeedways
Known issues (A.I.):
We need to give the A.I. another look, as improvements in one area can often affect another. The A.I. are quite dynamic and will adjust their line according to grip levels. At Jacksonville, this tends to see them running high up against the wall. With an upcoming update to the core, we would like to try to keep them from scraping the wall as often as they do right now on the ovals. You can disable the ‘dynamic superspeedway’ code that causes this by changing playerfile value “AI Logic Override” to 2 (as mentioned in the notes below).
Build 1008 Changelog:
In order to take full advantage of the stock car features, it is recommended that users do the following:
1) Enable the StockCarRules.dll and KnockoutQualifying.dll plugins. In single-player, this can be done in the UI Settings. For dedicated servers, operators will have to open the CustomPluginVariables.JSON file (in the UserData\player directory) and set ” Enabled” to 1 for both of these plugins.
2) Download and install the “National Stock Car Racing 2015” mod. This contains many rules settings geared towards stock car racing.
Added a couple pieces of info to the internals plugins: approximate tire radius, and the pitstop lap distance.
Added FrontToeOffset and RearToeOffset garage settings which supplement FrontToeIn and RearToeIn.
Added a tiny bit of configurability to the new ‘Low Speed Info’ message box. PLR file value “LSI Top” lets you set its vertical position or disable it altogether.
Implemented the ability for rules plugins to control whether each vehicle is currently allowed to pit.
Added code to get stock car style gauges to work. will take a number of materials (defined in cockpitinfo.ini file parameter “STOCKCARGAUGE”), and turn them on or off depending on how close the player’s speed is to the pitlane speed.
Added .tbc variable “RoadGrooveSqrdGripEffect” so AIs will experience the same grip curve vs. groove as the human driver does.
Attempt to get AI drivers to be more flexible in their line following when trying to draft on superspeedways. (humans don’t necessarily follow the recorded driving lines) Can be disabled by setting playerfile option “AI Logic Override” to 2.
Added a gizmo to the UI in order to turn plugins on and off. In the future, you’ll also be able to edit custom plugin variables here.
There exists a new multiplayer.json variable “Plugin Heartbeat Rate” which can be turned off or set to different update rates. In addition, the plugin will be signaled that this is a heartbeat update by setting ScoringInfoV01::mGamePhase to a new value of 9 meaning “paused”.
Fixed slow car cycling
Fix for missing update cmps
Fix a problem with admin commands /pitby*
Fixed mod mode camera editor crash on camera selection by disabling camera naming in the release mod mode.
Fixed some problems where vehicles were moved or re-initialized at unexpected times.
MODDING / PUBLIC DEV:
Fixed bug with updates not showing in game UI select list.
Fixed bug when creating vmod with updated components.
Added ability to normalize collision corridors in the AIW editor (show collision corridors, select waypoints, then select normalize corridors).
Added # of waypoints selected to the AIW waypoint selection menu header.
Raised line drawning to be 0.1 meters above the track.