Assetto Corsa

Assetto Corsa

View Stats:
DIY - Custom AI Races, with optional penalties!
You can pretty easily create your own 'Special Event' race while being able to adjust the following parameters:

-Track
-Number of laps
-Car
-Number of opponents
-Per-opponent difficulty, car, texture
-Penalties

You just go into "<path_to_steam>\Steam\steamapps\common\assettocorsa\content\specialevents\" and copy an existing race, I used SPECIAL_EVENT_25 (the BMW Group A race) as a base.

Make a copy of the entire SPECIAL_EVENT_25 folder and give it a name like SPECIAL_EVENT_99 (change this number for each new event you create).

Edit the event.ini file inside your new event folder. Under [SPECIAL_EVENT] make sure to set GUID=99 (or whatever number you used).

Change the Name of the event to something you'll recognize.

Penalties:
Under [LAP_INVALIDATOR] set ALLOWED_TYRES_OUT=4 to disable penalties completely for your new Special Event.

Laps:
To change the number of laps in the race under [SESSION_0] you can modify LAPS=10 to the number you desire.

Player Car:
Under [RACE] set MODEL=bmw_1m (see list of cars below)
Note that the AI will use the player car unless otherwise specified. The AI does not know how to drive all the cars in the game yet, apparently. I tried setting up a race with the Ferrari F40 on Monza and the results were comical.

Track:
Under [RACE] set TRACK=monza (see list of tracks below)


Car Names:
abarth500
abarth500_s1
bmw_1m
bmw_m3_e30
bmw_m3_e30_drift
bmw_m3_e30_dtm
bmw_m3_e30_gra
bmw_m3_e30_s1
bmw_m3_e92
bmw_m3_e92_drift
bmw_m3_e92_s1
bmw_m3_gt2
bmw_z4
bmw_z4_drift
bmw_z4_gt3
bmw_z4_s1
ferrari_458
ferrari_458_s3
ferrari_599xxevo
ferrari_f40
ferrari_f40_s3
ktm_xbow_r
lotus_2_eleven
lotus_49
lotus_elise_sc
lotus_elise_sc_s1
lotus_elise_sc_s2
lotus_evora_gte
lotus_evora_s
lotus_exige_scura
lotus_exige_s_roadster
mclaren_mp412c
p4-5_2011
pagani_zonda_r
tatuusfa1

Track Names:
imola
magione
monza
monza66
mugello
silverstone
silverstone-international
vallelunga
vallelunga-club


Now get out there and enjoy the new AI to your heart's content!
Last edited by Christophoclese; Jan 17, 2014 @ 12:42pm
< >
Showing 1-15 of 16 comments
n.2.k Jan 17, 2014 @ 12:48pm 
nice one thanks
Stepy Jan 17, 2014 @ 5:28pm 
Good one ! but you can only really race the cars that are "programmed" e.g the tatuusfa1 & the bmw m3 e30 thank you very much !
Christophoclese Jan 17, 2014 @ 5:47pm 
bmw_1m worked, but was maybe rough around the edges. I've been playing Hearthstone most of the day and didn't try any other vehicles except the F40, which wasn't usable at all yet.

Either way, I'm still happy to be able to run more than 5 laps, make all the drives the same skill, run Imola in the E30, and not get penalized when an AI and myself make contact and my tires get put out...even if that is only with the AI-enabled cars featured in today's update.
Last edited by Christophoclese; Jan 17, 2014 @ 5:50pm
ThereIs0nly0ne Jan 18, 2014 @ 12:41am 
Thanks very much for this Christophoclese. I'm using it mainly to inject a bit of variety into the proceedings. I'm going to try creating a separate event for each of the cars in the Supercar Race at Silverstone, i.e. a full grid of Lotus Exige Scura, BMW M3 e92, Ferrari 458 and Mclaren MP412c. This should expand the enjoyment somewhat. The AI is programmed for all these cars on this track so I'm hoping it will work. Racing against the Exige and e92 in a 458 is a bit of a waste (i.e. they're too easy to pass so make their presence redundant).

I have tried using a grid of 22 Formula Arbarth at Monza and was very pleasantly surprised on the lack of performance hit from my GTX680 (running on an ultrawide 2650x1080 monitor).

Extending the number of laps will take the pressure off needing to get past the cars in the first lap quickly and allow me to pick them off. I don't know what the implications are on fuel load though - i.e. will I run out of fuel in later laps.

The ability to remove the penalty system also helps tremendously.

I can't help thinking that in some ways the AI does reflect human behavior quite well inasmuch as they don't consider your position, slow up too much in corners and ram you off the track - probably quite similar to some multiplayer races! Although they do this quite predictably, it does allow me to practice defensive driving and lining up for a pass at a suitable time,
Last edited by ThereIs0nly0ne; Jan 18, 2014 @ 11:04am
Toe Rag Jan 18, 2014 @ 9:48am 
Nice one, I didn't know about this,, and being able to turn off the penalty is much better, no more getting smashed when limited to 30mph...

For a laugh I put a zonda in and the AI couldn't even make it to first corner.
cyclicbug Jan 18, 2014 @ 10:32am 
Being able to adjust laps and AI skill spread is great, Thank you.
FootboxG Jan 18, 2014 @ 10:36am 
Great thanks for the info man! Someone should Pin this!
Last edited by FootboxG; Jan 18, 2014 @ 10:36am
ZioYuri78 Jan 18, 2014 @ 11:00am 
Originally posted by TheRavenHD:
Great thanks for the info man! Someone should Pin this!

+1
Packy Jan 18, 2014 @ 12:56pm 
Originally posted by stepyferrari:
Good one ! but you can only really race the cars that are "programmed" e.g the tatuusfa1 & the bmw m3 e30 thank you very much !

haha yeah, i saw a vid by a guy who created a race of 5 lotus 2-eleven cars at imola controlled by AI. All 5 Lotuses went straight into the gravel at first turn making it look like a rally event!
ThereIs0nly0ne Jan 18, 2014 @ 11:59pm 
Example of running a grid of 22 Mclaren's at Silverstone:

1. Exit Assetto Corsa

2. Change directory to: ~steam/steamapps/common/assettocorsa/content/specialevents

3. Copy the folder SPECIAL_EVENT_26 (including the contents) to SPECIAL_EVENT_99

4. Change directory to SPECIAL_EVENT_99 and edit file 'event'

Under the [RACE] section, change 'MODEL=ferrari_458' to 'MODEL=mclaren_mp412c'

5. under the [RACE] section set 'CARS=22'

6. Under [SPECIAL_EVENT] set GUID=99

7. Under all the [CAR_xx] entries (with the exception of [CAR_0]), set 'MODEL=mclaren_mp412c'

8. Copy and paste the [CAR_xx] entries and update the xx value to the appropriate number. This will create the profiles for the additional cars.

9. Save the file and restart Assetto Corsa

A new custom event will be displayed at the bottom of the selection.

Rename NAME=Supercar Race under the [RACE] section to something of your liking (not mandatory).

Disable the penalty system if you like by setting 'ALLOWED_TYRES_OUT=4'

This can be done for the other cars in this challenge also.

Thanks again Christophoclese.
Jacket Jan 26, 2014 @ 10:17am 
thanks, christophoclese
Stepy Jan 26, 2014 @ 8:04pm 
You can enabled quick race by going here C:\Program Files (x86)\Steam\SteamApps\common\assettocorsa\launcher\themes\default\modules\earlyaccess and editing the earlyaccess.js file, look for the line "#drive .tabs li[data-mode=quickrace]", and put two // in front of it, you now can race any car, on any track, adjust laps, time of day, ambient temps AI skill level, and so on hope this helps...
Last edited by Stepy; Jan 26, 2014 @ 8:10pm
WaxxFetish Jan 27, 2014 @ 7:14am 
Originally posted by luis Ayrton Senna:
Originally posted by stepyferrari:
You can enabled quick race by going here C:\Program Files (x86)\Steam\SteamApps\common\assettocorsa\launcher\themes\default\modules\earlyaccess and editing the earlyaccess.js file, look for the line "#drive .tabs li[data-mode=quickrace]", and put two // in front of it, you now can race any car, on any track, adjust laps, time of day, ambient temps AI skill level, and so on hope this helps...


i've tryed that but AI races really bad !

races may not be the proper word here, heavy meth & lsd overdose and a binge drinking hangover on top of that

still, was locked for a reason
Stepy Jan 27, 2014 @ 9:03am 
Originally posted by luis Ayrton Senna:
Originally posted by stepyferrari:
You can enabled quick race by going here C:\Program Files (x86)\Steam\SteamApps\common\assettocorsa\launcher\themes\default\modules\earlyaccess and editing the earlyaccess.js file, look for the line "#drive .tabs li[data-mode=quickrace]", and put two // in front of it, you now can race any car, on any track, adjust laps, time of day, ambient temps AI skill level, and so on hope this helps...


i've tryed that but AI races really bad !
But are the AI any better in the op`s way ? can`t see much difference tbh.
Last edited by Stepy; Jan 27, 2014 @ 9:06am
Stepy Jan 27, 2014 @ 9:04am 
Originally posted by WaxxFetish:
Originally posted by luis Ayrton Senna:


i've tryed that but AI races really bad !

races may not be the proper word here, heavy meth & lsd overdose and a binge drinking hangover on top of that
LMAO !
< >
Showing 1-15 of 16 comments
Per page: 1530 50

Date Posted: Jan 17, 2014 @ 12:36pm
Posts: 16