Resource icon

Misc New Traffic for Shutoko Revival Project 2021-08-28

Login or Register an account to download this content
@alekabul How does the AI speed limits work? I see that in RAPID you only have 3 Max Speed sections, so I assume that means all the other sections have no speed limit? Are these sections the different roads and lanes (splines) that cars drive through?

In Restricted you have 10 MaxSpeed sections, so those refer to speed limits in other sections... Therefore to increase max speed WITH restrictions, you raise all the numbers in the Restricted file by 10 or 20 kph?

BTW I enjoy this mod, I'm just trying to tune it to work as well as it does on the SRP servers, so I can enjoy traffic offline.
 
Last edited:
@alekabul How does the AI speed limits work? I see that in RAPID you only have 3 Max Speed sections, so I assume that means all the other sections have no speed limit? Are these sections the different roads and lanes (splines) that cars drive through?

In Restricted you have 10 MaxSpeed sections, so those refer to speed limits in other sections... Therefore to increase max speed WITH restrictions, you raise all the numbers in the Restricted file by 10 or 20 kph?

BTW I enjoy this mod, I'm just trying to tune it to work as well as it does on the SRP servers, so I can enjoy traffic offline.
To make traffic fit your pace you may want to edit the speed limits in "ai_hints.ini". The hints
Code:
[MAXSPEED_0]
START=0.010
END=0.0112
VALUE=90

[MAXSPEED_1]
START=0.0232
END=0.025
VALUE=60

[MAXSPEED_2]
START=0.069
END=0.071
VALUE=90

[MAXSPEED_3]
START=0.072
END=0.074
VALUE=60
set limits for a relatively small part of the full length of the loop. That one is set only for preventing collisions. The sections are defined by "START=****" and "END=*****" where the numbers represent percentage of the full distance from the start of the loop. Like I mentioned before you can see the location on the map by using "DRS zones" app and take notes of what you need to change.
clipboard09-jpg.498063


The changes in "ai_hints.ini" take effect only by reloading the session. Not "on the fly". So to make the most of your time when adjusting the mod I suggest you load a "Track day" at "Shibaura" session with a good Kunos street car and one of the 3 variants of "ai_hints.ini" that makes most sense to you, drive out of the pit, activate autopilot on your car with "Ctrl + G" and "Ctrl + C" and take notes of which parts of the road feel bad to you and what speed would you prefer. Then after you complete the loop and you got all the notes, you can edit the "ai_hints.ini" and change the existing [MAXSPEED_**] hints. The syntax must be kept so they will work if the numbering is consecutive starting from [MAXSPEED_0] which has the smallest "START=****" and "END=*****" to the last hint which has the largest "START=****" and "END=*****".
Every section on the road that is left outside the "START=****" and "END=*****" has no speed limit.
To make a denser traffic you will need different settings for AI flood in "C:\Users\*****\Documents\Assetto Corsa\cfg\extension\new_behaviour.ini". There is a change of the syntax in CSP 0.1.80 and newer.
 
Last edited:
The syntax must be kept so they will work if the numbering is consecutive starting from [MAXSPEED_0] which has the smallest "START=****" and "END=*****" to the last hint which has the largest "START=****" and "END=*****".

Thank you for the explanation and my apologies for not seeing your other post explaining how it works.

I do see that Max Speed in your Restricted file does not have consecutive start/end though. Do you think this is an issue and needs to be rearranged?

Example from AI_HINTS RESTRICTED file:
[MAXSPEED_5]
START=0.234
END=0.301
VALUE=65

[MAXSPEED_6]
START=0.010
END=0.0112
VALUE=90
 
Thank you for the explanation and my apologies for not seeing your other post explaining how it works.

I do see that Max Speed in your Restricted file does not have consecutive start/end though. Do you think this is an issue and needs to be rearranged?

Example from AI_HINTS RESTRICTED file:
[MAXSPEED_5]
START=0.234
END=0.301
VALUE=65

[MAXSPEED_6]
START=0.010
END=0.0112
VALUE=90
The hints are following the logic "the last in the sequence" so if there's an overlapping of hints areas the newer hint will take effect. There is no such issue here as the areas are different. Sometimes you may need to do this if you want to additionally limit the speed in a small part of the loop after you made the initial test run with your edited "ai_hints.ini".
 

Latest News

Do you prefer licensed hardware?

  • Yes for me it is vital

  • Yes, but only if it's a manufacturer I like

  • Yes, but only if the price is right

  • No, a generic wheel is fine

  • No, I would be ok with a replica


Results are only viewable after voting.
Back
Top