1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

rFactor 2: BUILD 1008: "Stock Car Build"

Discussion in 'rFactor 2' started by Gijs van Elderen, Sep 25, 2015.

  1. Gijs van Elderen

    Gijs van Elderen
    Premium Member


    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.


    Lite installer – 322 MB
    Demo installer – 1.1GB
    NSCRS15 rFM (for vMods with rules, recommended for server hosts)
    Stock car mod to follow. You need to use Build 1008 with them.

    Working Stock Car rules:

    Lucky Dog
    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.

    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.
    • Like Like x 1
    • Winner Winner x 1
  2. CCL71

    Premium Member

    Forgive my ignorance, but do I install this on top of my existing install?
  3. CCL71

    Premium Member

    **Ignore previous post**
    • Haha Haha x 1
  4. Gijs van Elderen

    Gijs van Elderen
    Premium Member

    Good! :thumbsup:
    You found the auto-update button. :cool:
    • Like Like x 1