Assetto Corsa PC Mods General DiscussionPC 

  • Thread starter Thread starter daan
  • 148,143 comments
  • 44,382,336 views
Senzanome.webp

A part for this spectacular gigantic field of galactic radioactive shrimps is there something important about anything important about CSP?
 
Last edited:
I'm would like to remove the copilot from theses cars as i wont be using them in the historical context . I would normally remove the copilot.kn5 file and all is good but with these the game crashes when doing so. Is there a way to remove the copilot without the crash? TIAView attachment 1479465
It is only necessary to manually enter "lods"...the corresponding language...If you ask me to run (simply), "type" or what is not printed...


Have you installed the necessary "3D DRIVERS" pack?The copilot files and other drivers (used in some cars) are contained within it.
 

Attachments

  • lods.ini - with copiloto.webp
    lods.ini - with copiloto.webp
    10.8 KB · Views: 1
  • lods.ini - without copiloto.webp
    lods.ini - without copiloto.webp
    10.2 KB · Views: 1
Last edited:
shi
Battle Challenge for SRP mod by takeyoh, with AI controlled by lua script.
Youtube

So, with the help of chatgpt and Gemini, I created ai_hints.lua.
It works on my pc. (CSP 0.2.12 p1)
Add the attached extension folder in the layout folder.
(e.g. assettocorsa\content\tracks\ks_red_bull_ring\layout_gp\extension)
If there is no layout folder, place ai_hints.lua in the extension folder and add the following to ext_config.ini
Code:
[SCRIPT_...]
SCRIPT = ai_hints.lua
Open the file ai_hints.lua in a text editor.
Edit the values in the top 5 lines.
Code:
startProgress -- Track Progress (0.0 to 1.0)
endProgress
speedLimit -- km/h upper limit
paceFactor -- Pacing (1.0 = normal)
steerOffset -- Left /right offset (negative = left, positive = right)
Those who can improve lua are free to edit.
Hi @shi !
I'll check that. Thank you!
 
Here's the link (available cars) for the pack (1955 Mille Miglie).

The skins so you can see all the cars (not all are available).

Others that aren't (you can download them directly from the VELOS website).

- Maserati Spider (here are two ".kn5" files, with and without co-driver, to be manually modified in the "lods" file), and also the 16 skins (only 4 appear in the screenshot).
- Maserati Coupe
  • Maserati 300s
  • Lancia D24 (it didn't actually participate, but I created two skins).

Some of them (here's an alternative "DATA" file) because the cars were "too fast" compared to the ones I had already adapted (it would have been easier to adapt two or three).

As well as some cars that didn't originally participate in the race. I had started the project last year (I started the simulation), but at the beginning of this year I lost (most of the cars I had adapted).

In this case, I remade the lost ones again and added others (some of them are not in the pack, why?????).

Remember, I didn't create anything, I just gathered the available cars (I modified or adapted them as necessary and to compose the grid, like Peugeot 203, Fiat 8v, Alfa 1900ss Zagato...) and did my best to make the corresponding skins (not all of them are real), as I couldn't find any sources on the internet (if anyone has any)...just comment later.

All the cars have already been tested (not all the adapted ones are 100% perfect).
I'm practically halfway through the simulation (almost arriving in Rome (I think I'll use the Prague circuit to simulate the arrival in the capital)...

All the cars have small differences (gameplay).
In most of the sections I used, I'm using the opponents' power (90%) and aggression, less than (10%).
In certain sections, I race with 3 to 9 opponents.

You can get an idea by watching the other videos.
Some cars (you can see in the screenshots) have versions with or without a co-driver, and some of them (you'll have to manually change) if you want to race (with or without a co-driver).

That's it for now.

I hope you have as much fun as I am having.

Pack BRITISH

Pack FRENCH

Pack GERMAN

Pack ITALIAN

pack DRIVER 3D
That's an FX Holden (or 48/215), not a Peugeot 203.....was that deliberate or an error?

BTW, fantastic work - love what you are doing.
 
Last edited:
Hi @Tetri ,

Could you tell me where you found this information about AI scripts? Which version of CSP is intended to enable AI scripting? I’m interested in this functionality if it is really implemented.



I tend to agree with you, but I ‘d go further because from my point of view, as Fastlane depends heavily of the car type and physics, the ideal solution would lead to allow users to link a car to an ai file before loading the track.
For your first point, i found the info while vibe coding, not even related to AC. My least hated clanker brought it up and even tried to write some nonsense for me, but as generative AI goes, if you don't know what you're doing, there's no chance for it to work.

I remember going on github and various obscure sites to learn a little bit more about it, but the only ressources available are either the traffic LUAs or a few failed attempts that never got updated and are been left for dead for 2+ years now. The dumb part of my brain tends to fall for a conspiracy of "gold rush" to the idea of somehow making a good ai app for AC would bring millions in revenue and everyone is secretly keeping all intel about it a dark secret.

The cynical part of my brain is assuming if it could be done it would already be there. Note that neither the CM discord nor the CM trello website gives any info about what the new AI behavior actually does, nor how it works.

I left my searches out of data to look for. Is it possible to create a lua to influence AI cars? Probably. The same way you would use "broken AI" App to influence AI in real time, you should be able to automate the process depending on extracted data in real time. Now, how to bring this together is a different story, and one for someone with a lot of free time.



For your second point, AC only allows one AI spline per track. Having multiple AI layouts was just a workaround on this issue, and in the current locked state of this particular stuff, there's no way for the game to load several ai splines at the same time.

The AI spline editor app allows to load different Fastlanes ingame (as long as they're in the AI folder), which is a great improvment, but you're still stuck with only one AI Hints file, which tends to ruin the process.

And with the latest CSp versions, i have to call the fastlane thru the app, even if there's only one fastlane file available, otherwise the AI would go slower and use weird braking points. As far as i'm concerned, it's not going the right way atm with CSP.


Edit : @shi apprently managed to get something to work, i'm gonna have a look at it

@shi, could you explain a little further what each line does? I don't really get what the pacefactor is, nor the steeroffset. It seems to do stuffs, as i'm having different paces using your lua, and the ai is making random steering stuff if i change the numbers, but i have no idea what's being tweaked and how it affects the ai behavior.
 
Last edited:
Instead of staring at grass particles, and figuring out how to render them at 8K while only taking up 50 of your FPS in rendering, How about this instead

First ingame images, With some refraction added to the headlights. Still heavily WIP.
Still left to do:
  • Full interior
  • Sound
  • Physics
  • Extensions
  • Liveries (unless someone is willing to help for free)
  • BoP (I don't know of any 1997 Le Mans mods, But if anyone knows of an good pack lmk so we can BoP the car for those cars)
Lmk if you got any questions.
- IMS Team
Screenshot_ims_mustang_gt2_rt_sebring_16-8-125-14-34-48.webp

Screenshot_ims_mustang_gt2_rt_sebring_16-8-125-14-33-39.webp

Screenshot_ims_mustang_gt2_rt_sebring_16-8-125-14-36-14.webp
 
Last edited:
Instead of staring at grass particles, and figuring out how to render them at 8K while only taking up 50 of your FPS in rendering, How about this instead

First ingame images, With some refraction added to the headlights. Still heavily WIP.
Still left to do:
  • Full interior
  • Sound
  • Physics
  • Extensions
  • Liveries (unless someone is willing to help for free)
  • BoP (I don't know of any 1997 Le Mans mods, But if anyone knows of an good pack lmk so we can BoP the car for those cars)
Lmk if you got any questions.
- IMS TeamView attachment 1479644
View attachment 1479643
View attachment 1479645
its beautiful
 
Here's the link (available cars) for the pack (1955 Mille Miglie).

The skins so you can see all the cars (not all are available).

Others that aren't (you can download them directly from the VELOS website).

- Maserati Spider (here are two ".kn5" files, with and without co-driver, to be manually modified in the "lods" file), and also the 16 skins (only 4 appear in the screenshot).
- Maserati Coupe
  • Maserati 300s
  • Lancia D24 (it didn't actually participate, but I created two skins).

Some of them (here's an alternative "DATA" file) because the cars were "too fast" compared to the ones I had already adapted (it would have been easier to adapt two or three).

As well as some cars that didn't originally participate in the race. I had started the project last year (I started the simulation), but at the beginning of this year I lost (most of the cars I had adapted).

In this case, I remade the lost ones again and added others (some of them are not in the pack, why?????).

Remember, I didn't create anything, I just gathered the available cars (I modified or adapted them as necessary and to compose the grid, like Peugeot 203, Fiat 8v, Alfa 1900ss Zagato...) and did my best to make the corresponding skins (not all of them are real), as I couldn't find any sources on the internet (if anyone has any)...just comment later.

All the cars have already been tested (not all the adapted ones are 100% perfect).
I'm practically halfway through the simulation (almost arriving in Rome (I think I'll use the Prague circuit to simulate the arrival in the capital)...

All the cars have small differences (gameplay).
In most of the sections I used, I'm using the opponents' power (90%) and aggression, less than (10%).
In certain sections, I race with 3 to 9 opponents.

You can get an idea by watching the other videos.
Some cars (you can see in the screenshots) have versions with or without a co-driver, and some of them (you'll have to manually change) if you want to race (with or without a co-driver).

That's it for now.

I hope you have as much fun as I am having.

Pack BRITISH

Pack FRENCH

Pack GERMAN

Pack ITALIAN

pack DRIVER 3D
Ohh I did't know, that DKW 900 (or Auto Union 1000) mod is exsist for Assetto Corsa! THX for the skins, "cars".

Maybe if somebody want to make a Peugeot 203 for AC, here is a downloadable 3D model for it.
 
For your first point, i found the info while...
Vibe, coding, LUA's... I don't understand a **** about you all are talking. All I know is why Assetto Corsa is still one of the best sims out there: modders keep pushing the boundaries to improve the game, day after day. Thanks.

If you ever fix the current AI issues, I'll remember that you, Thockard, and shi were the ones who started the fire.

(Shameless Flattery Mode, Off)
Well, there has been more than few post about grass here at gtplanet ;)

snoop.webp
 
Last edited by a moderator:
Vibe, coding, LUA's... I don't understand a **** about you all are talking. All I know is why Assetto Corsa is still one of the best sims out there: modders keep pushing the boundaries to improve the game, day after day. Thanks.

If you ever fix the current AI issues, I'll remember that you, Thockard, and shi were the ones who started the fire.

(Shameless Flattery Mode, Off)
Vibecoding is the slang for coding with the help of Chatgpt, Deepseek, Claude, whatever Large Language Model (LLM, you've seen this one before maybe).

Usually it comes with an astounding percentage of failures, useless lines, faulty parameters and other useless adds, countless lines of coding nonsense, etc. You probably saw people talking about AI hallucinations... And getting into a heated argument with a non living object, as it's trying to sell you plastic garbage like it's hot muffins, is an experience i didn't have on my bingo card just a decade ago.

Anyway, LUA is just a programming language, with some similarities to Javascript, but simpler. It's generally used in a closed system (AC here) as it's pretty straightforward and simple to get a grip on. The way ChatGPT and other LLMs handles it (especially when it comes to AC) is part of a book i'm not writing. Almost all of the external "apps" you get in CM are just LUA scripts, and they make quite the job for fixing most common issues, so there's hope.

I won't be the one fixing AC's AI, but i for sure will not stop throwing stupid ideas until someone competent takes the bait 😅
 
Created a single player championship of F1 2025 season using RSS vand VRC latest mods and using Pyyer extensions. At first, AI was working great, but recently noticed AI are now, all of a sudden, crashing at every corner?! Might there have been a new sneak AI setting in CM that I need to toggle on/off? Appreciate any ideas, much thx!
 
Last edited:
Created a single player championship of F1 2025 season using RSS vand VRC latest mods and using Pyyer extensions. At first, AI was working great, but recently noticed AI are now, all of a sudden, crashing at every corner?! Might there have been a new sneak AI setting in CM that I need to toggle on/off? Appreciate any ideas, much thx!


If you open "ai spline editor" ingame and hit the save button, do they come back to their normal behavior?
 
Vibecoding is the slang for coding with the help of Chatgpt, Deepseek, Claude, whatever Large Language Model (LLM, you've seen this one before maybe).

Usually it comes with an astounding percentage of failures, useless lines, faulty parameters and other useless adds, countless lines of coding nonsense, etc. You probably saw people talking about AI hallucinations... And getting into a heated argument with a non living object, as it's trying to sell you plastic garbage like it's hot muffins, is an experience i didn't have on my bingo card just a decade ago.

Anyway, LUA is just a programming language, with some similarities to Javascript, but simpler. It's generally used in a closed system (AC here) as it's pretty straightforward and simple to get a grip on. The way ChatGPT and other LLMs handles it (especially when it comes to AC) is part of a book i'm not writing. Almost all of the external "apps" you get in CM are just LUA scripts, and they make quite the job for fixing most common issues, so there's hope.

I won't be the one fixing AC's AI, but i for sure will not stop throwing stupid ideas until someone competent takes the bait 😅
Well, more or less I understand the basic concepts, although I don't know how to make them work... I was kidding, as always... 🤭

Anyway thanks, I appreciate your explanation, you always learn something new, like the meaning of "vibecoding", for example. Now I'll be able to brag with this slang to my son, who works programming and always tells me that ChatGPT does half the work for him... 🤣
 
Last edited:
Well, more or less I understand the basic concepts, although I don't know how to make them work... I was kidding, as always... 🤭

Anyway thanks, I appreciate your explanation, you always learn something new, like the meaning of "vibecoding", for example. Now I'll be able to brag with this slang to my son, who works programming and always tells me that ChatGPT does half the work for him... 🤣

Haha, you can tell him he should use Claude instead of Clanker-gpt. That should make him raise an eyebrown😂

Edit : for my terrible lua coding in AC i am enchanted to work with deepseek
 
Last edited:
That's an FX Holden (or 48/215), not a Peugeot 203.....was that deliberate or an error?

BTW, fantastic work - love what you are doing.
Unfortunately we don't have a Peugeot 203 (true)... that model was the closest one I got to represent the French brand.



Ohh I did't know, that DKW 900 (or Auto Union 1000) mod is exsist for Assetto Corsa! THX for the skins, "cars".

Maybe if somebody want to make a Peugeot 203 for AC, here is a downloadable 3D model for it.
The truth is that you only have to do it yourself, or adapt existing cars (importing some parts)...I don't know how to create anything from scratch.That's DKW (I have a lot of problems), that's the most I got for now.
 
Last edited:
I started reworking this car in 2022 because I thought that TonyB's port was kind of an insult to VLM and their magnificent work. It was missing so many aero parts, skins were a mismatch, it was just tragic.

After a while I stopped bc it was too much for one person and restarted in 2023 with adding missing liveries so this car has, I think, all liveries from 1982 to 1986. (might've missed some that didn't have ref pics). The quality ain't great because I used the regular 2k skins as base but it is better than nothing.

In the end it's still not perfect (think there's a way to use one single car instead of three but I don't know nor care to know how to do it) but I can't be arsed (since '23 lol) to further work on this car so I'll let y'all do it. It need lods, better physics, some other things (some rear wings variants are still missing; rims aren't properly accurate but I don't have the motivation to even swap those with the mutiple rims setup I used for my PC2 962, yeah I'm lazy).

Some pics to show the aero configs:

(not an error, it did race that way)
View attachment 1458864

Liqui Moly with the little cute wing:
View attachment 1458866
View attachment 1458868
Crudely hand drawn bonnet logo lol
View attachment 1458869View attachment 1458870

Could you re-upload the file for download? Thanks 🙏
 
Sharing a mod? Host it on GTPlanet Downloads. Free, public hosting for files up to 10GB in size.
Back