XaiJu
2real_mods
2real_mods

patreon


2REAL - How To Add Custom Cars to Traffic Planner

We are experimenting with a carlist generator on our website 2real.ac/carlists

This should make the process of adding new cars a lot more easy, otherwise just try the old manual method below. Works for 2REAL APP 1.3 and above.

To add cars with the carlist generator on our website, just drag the cars (from assettocorsa/content/cars) in the window and hit ''generate carlist''. The carlist file can then be renamed and added into the carlist folder:

-> assettocorsa\apps\lua\TrafficTool\src\carpresets

Then you should be able to pick your calist in the 2real app carlist picker. There might be some issues and maybe not all cars will work with this right now, please let us now your problems and suggestions in our Discord!

Carlist Generator: 2real.ac

(old manual method) for 2REAL APP 1.3+

When you want to add your own Traffic cars to Traffic planner tool copy the cars you want from  assettocorsa\content\cars

in 

assettocorsa\apps\lua\TrafficTool\data 

Delete all files from the copied cars folders exept collider.kn5 , carname.kn5 and carname_lob_d.kn5  

Now go to 

assettocorsa\apps\lua\TrafficTool\src\carpresets

Copy & paste any car entry somewhere between the already existing car entrys and change in the code the cars folder (assettocorsa\extension\lua\tools\csp-traffic-tool\data\carfolder) and file names (Carname.kn5/Carname_lod_d.kn5/collider.kn5) repeat this for every car you put in data folder. example in picture with BMW M5. You only have to edit main,lod & collider.

when the code is done right you should be able to see new car in your Simulation, some cars have wrong height and if you know how to fix that let me know. You can do it like this or you can just download my prepared Car list with 25 traffic cars prepared for simulation :)


Hope it helps :)

2REAL on Discord: https://discord.gg/ZgXeghFZe5

2REAL - How To Add Custom Cars to Traffic Planner

Comments

This thing sucks. Its terrible. I did everything right but it still says simulation crashed. I want my money back!

Colt Leman

Hi, is there a reason why i cant drag and drop the f&f truck into the carlist generator? it doesnt register anything when i try it? other cars work but not this truck

Andy

I don't have the carpresets folder

nati

we are xperimenting with a carlist generator, you can try it on our website. let us know if you have any issues or suggestions for it https://2real.ac/carlists.html

2REAL

Is there an updated way of doing this?

Byriii

hi, is the tutor video out yet? 🙏

newbiedrifter

Hi, when I try to add new cars to traffic, they all end up with half the wheels below road surface. Is there a setting in LUA file that can fix that? I have tried sooo many cars and they all end up the same. All cars from 2Real and MNBA carpacks with premade LUA works fine, but not the ones Im trying to make. Any help please? :)

Johan Karlsson

is there anyway to choose the skin for a traffic car? I have been trying to add uk police cars but when you delete all but those 3 files it removes paint and decors from the cars

Sultan Malik

i know its been a while bit i will make a tutorial on this soon as it is now possible to create different carpresets withing the new traffic tool app

2REAL

is it possible for you to make a video on how its done ? I think it would be way better than some pictures. Or pls make a new traffic carpack for the csp-traffic-tool......pls

CrashDummie

Some Car have no lod file

Worachai AofHero

There's no way to get this info with the showroom preview? I'm supposed to use some software like 3D Max, right?

Julio Corradi

you have to open the carmodel with kn5.editor and see how the lights are named and then match that name in the code

2REAL

The headlights = { 'headlights' }, rearCombined = { 'lights_r' } seems not to work for some cars and they keep with lights off at night. I noticed that this value may change according to cars (eg: traffic_truck brings headlights = {'ID1527_002', ...}) So, there is any way to find these values in my car model config?

Julio Corradi

yea i will need to find a tutorial on how to do that, btw the Audi a4 has no collision, don't forget the update "collider = 'data/audi_a4_collider.kn5' " to "collider = 'data/audi_a4/collider.kn5'"

Haris A

i think you have to adjust the cars heights with kseditor

2REAL

When I try to add other cars, they work fine except half the wheel is underground, do you know a fix for this issue?

Haris A

So far only works with low poly Traffic cars, always had errors with kunos...

2REAL


More Creators