How to do rfactor 2 physics (engine,gears,suspension,....)?

Discussion in 'Car Modding' started by TundraGrad4, Apr 16, 2014.

  1. TundraGrad4

    TundraGrad4 Registered

    Joined:
    Apr 12, 2014
    Messages:
    7
    Likes Received:
    0
    I need a toturial how I can to a complete car physics. I have no idea where to start or how to do anything.
    Can anybody help?
     
  2. dandar

    dandar Registered

    Joined:
    Aug 12, 2012
    Messages:
    274
    Likes Received:
    15
    That depends on what u like to mod, for example if you have a good car physics knowledge then is just a matter to install the SDK and then just go.

    You can start tunning the rTrainer attached to the SDK (ModDev\Vehicles\rTrainer).

    Then what you need to know is which file does what ...

    rtrainer.gen In track visual 3d composition
    rtrainer_Spinner.gen visual 3d composition in the select menu (also showroom)
    rtrainer.hdv Main physics
    rtrainer.sfx Car sounds
    rtrainer_cam.cam 3d cameras coordinates
    rtrainer_cockpitinfo.ini Car gauges (like tachometer, water, oil) & steering wheel
    rtrainer_damage.ini Scripts the damage model, what part to detach if you crash accounting how hard the hit was, and so on
    rtrainer_engine.ini Classic engine model, power/torque curves, operating temps, and mostly engine performance related
    rtrainer_Gears.ini The gearbox definition, values are for the gear's teeth, drive and driven respectively
    rtrainer_susp.pm Defines the suspencion type and model
    rtrainer_Tires.tbc The basic tire definition used by the AI
    rTrainer_Tires.tgm The new tire model
    rtrainer_Upgrades.ini Defines which upgrades for the car are available, example dry/wet tyres, driver helmet (visor), and whatever should be considered as an upgrade.

    Most of the scripted files are in batch format ( parameter=value ) like the hdv, and some are C like the .GEN
    Using a Notepad++ editor like should make the task easier
    Almost any parameter is self explanatory or it comes with commented explanations followed by a double slash //
    Invalid parameter's values can cause a CTD (crash to desktop) so backup your files periodically (in case you need to roll back)
    Test your changes in the developer client with a trace=4 parameter to create a debug log. This could be a life saver.
     
  3. lordpantsington

    lordpantsington Registered

    Joined:
    Oct 5, 2010
    Messages:
    849
    Likes Received:
    79
    Also these show what file references (for rf, but much still apply):
    [​IMG]
    [​IMG]
     

Share This Page