Kart Racing Pro Official Forum

Mods => Track Editing => Topic started by: PiBoSo on March 26, 2018, 12:57:06 AM

Title: Default deformation
Post by: PiBoSo on March 26, 2018, 12:57:06 AM
If creating a dirt track using heightmaps, it is possible to save the deformation generated on the terrain and use it as the track default.

1) Open the file global.ini ( by default generated in "My Documents"/PiBoSo/Kart Racing Pro/ ) and add the following lines:
[edit]
deformation=1
2) Drive several laps in testing mode on a track to create the deformation ( it's possible to use deformation_multiplier (http://forum.kartracing-pro.com/index.php?topic=7.msg6112#msg6112) to generate it faster )
3) Press left ctrl + d: a file named temp.dfm will be saved in the KRP installation folder
4) Rename temp.dfm to track_id.dfm ( for example: oval.dfm ) and move it to the proper track folder, with the matching TRH file
5) KRP should automatically read the dfm file at track load time