Page 1 of 1

Who can help with creating a traffic mod?

Posted: 10 Apr 2021 14:02
by asacon
Hello I have a question for the modders among us.
I am in the process of creating a traffic mod and would like to have gewissen vehicles more in traffic and some less. As an example, the Ford Transit I would like to have less, but more vehicles with caravans or campers.
Unfortunately, I have found no definition in the Traffic World in this regard. Do I have to create it myself if so how?
Sorry for the bad English, it was translated with Deep L because I speak very bad English.

Re: Who can help with creating a traffic mod?

Posted: 13 Apr 2021 15:06
by erbkaiser
You will need to find the spawn info for the traffic. This is either a spawn_ratio in \def\vehicle\ai in the traffic definition .sui file itself and/or a spawn_frequency in \def\country\[country] in a traffic .sui file.

1 is default, 0 is never, so 0.5 means half as much as normal and 2 means twice as much as normal.
Repeat for each vehicle.

Re: Who can help with creating a traffic mod?

Posted: 14 Apr 2021 15:46
by asacon
Thanks for your answer, I will see if this works as I imagine.

Re: Who can help with creating a traffic mod?

Posted: 22 Apr 2021 07:57
by asacon
Thanks for your tip @ Erbkaiser so slowly the whole corresponds to my ideas of the Ki. If everything goes well I could share the first beta soon.
Sorry for the bad English, it was translated with Deep L because I speak very bad English.

Re: Who can help with creating a traffic mod?

Posted: 23 Apr 2021 10:34
by erbkaiser
Kein Problem, viel Glück! (Schau dir auch das Deutschen Forum an viewforum.php?f=18 )

No problem, success! (Also, check out the German forum viewforum.php?f=18 )