• Dear visitors,

    The email issue has been finally solved.
    Thank you for your patience and happy browsing.

    Team ACM.

QUESTION Invalidating lap times based on collision with certain objects?

SyNarji

New Member
Hi all,

Hope this is the right place to post for help, please let me know if it isnt.

I'm working on creating a version of a track that has cones placed around it for a FSAE Student racing team so the drivers can practice on the competition track ahead of race weekends. The way FSAE works is by placing numerous cones around longer tracks to give them more turns and reduce the average speed to a safer number. If there is a collision with any cones on the competition day there is a penalty applied, I was wondering if there is anyway to replicate this in Assetto Corsa? - prefererably without changing too much, a simple invalidated lap time would work.

Thanks for any help!!
 

fughettaboutit

aka leBluem
You cant use any AC_OBJECTS to make them invalid or something...but you can

Cut out off the underground surface a small mesh called "1CONEAREA_a" in reasonable size around the Cone, so that the tyre would roll definitely over that when it would hit the cone; use something like this in

"tracks\yourtrack\data\surfaces.ini":
[SURFACE_0]
KEY=CONEAREA
...
IS_VALID_TRACK=0
BLACK_FLAG_TIME=5 ; lap invalid is only shown once, laptime app shows running laptime in red then
...


For that to work this must be set in
"Documents\Assetto Corsa\cfg\race.ini":
[LAP_INVALIDATOR]
ALLOWED_TYRES_OUT=0 ; default is -1 for all four i guess, if not-you have to test some values here
 

SyNarji

New Member
Okay i've set up the surface and everything but when I change the race.ini file it keeps getting reset back to -1? is this expected? or is there some settings that I need to change?
 

fughettaboutit

aka leBluem
use this starter:
upload_2020-12-17_2-46-53.png

click on "Go"
edit "race.ini" and put ALLOWED_TYRES_OUT=0 in there
run "acs.exe" manually

...and it does not work, just tried that and it does not change anything ;( idk why.
 

SyNarji

New Member
Hey Thanks so much for the help! ive installed the app and all but I'm getting this error when using the python error app. I tried to install ctypes from a previous forum inside the app directory but that didnt seem to help it. Was there anywhere else i should put it?
 

Attachments

Tim Aebi

New Member
Hi SyNarji, can I ask what application you were using to change the surface definition? I am also looking to do a similar thing with cones.
 

Tim Aebi

New Member
Thanks for the reply, I've been using Race Track Builder to develop the tracks, any idea if this would still be possible?
 
Top