DumbAI

DumbAI 1.2.1

Dumb AI in short:
- DumbAI provides new AI race strategies for single user races.

- DumbAI uses a fuel and tyre management system rewritten from scratch to simulate those strategies.

- DumbAI is based on the choice of a default tyre compound for the race. It will automatically compute a fuel & tyre strategy according to this choice and the kind of race rules you chose. See below and this post for more details: https://www.gtplanet.net/forum/threads/dumbai.434461/post-14517457

- DumbAI also makes some small adjustments to the AI behavior of AC/CSP during races to try to enhance realism.

- With a special thanks to x4fab for his help.


Race strategies:

- Vanilla AC = as the name says, just the original pit stop strategy behavior

- Tyres Change only = AI gets back to pits to change its tyres when one of them reaches the red level of vanilla AC UI tyre wear. Refuel is not allowed and an AI "running out of fuel" procedure is added by DumbAI. Take care of your race configuration ! Body (front and rear) damages and Suspension damage are also taken into account and can trigger a pitstop.

- Tyres & Refuel = AI gets back to pits to change its tyres when one of them reaches the red level of vanilla AC UI tyre wear and/or if fuel level goes too low. Fuel strategy is recomputed dynamically during race. Body (front and rear) damages and Suspension damage are also taken into account and can trigger a pitstop.

- Mandatory Mixed Compounds w/ or w/o Refuel = AI has to change its compounds at least once during the race. Refuel allowed or not. Body (front and rear) damages and Suspension damage are also taken into account and can trigger a pitstop.

- Mandatory Refuel = AI has to refuel at least once during the race. Changing tyres is allowed. Body (front and rear) damages and Suspension damage are also taken into account and can trigger a pitstop.


Alternate Race strategies:

- AI is allowed to adapt its race strategy by choosing randomly between a softer or harder tyre compound than default (if they exist).

- Fuel strategy is adjusted accordingly to the new tyre compound, e.g. an AI with one expected pitstop due to refuel will make a longer first run if it has chosen a harder compound and a shorter one thereafter.

- Alternate Mandatory Refuel strategy makes AI with softer compounds make a supplementary pit stop whereas AI with harder compounds at start will adjust their first run accordingly.

- Taking grid position into account in alternate strategies means that lower half tier AI under alternate strategy will lean to choose the harder compound and stop later in the race whereas top half tier AI under alternate strategy will lean to softer compounds choices.


Other features:

- Race engineer =DumbAI main window provides a small race engineer that gives information about your remaining lap at this fuel consumption rate and other informations about the next three drivers ahead and behind you.

- Qualifying = AI randomly waits a bit before going on track, then makes a maximum of 3-4 laps and goes back to pit to change tyres before making another run. Ensures it has the softest compound and fuel for only 5 laps when starting the qualifying run.

- Pit when raining = the basic CSP pit stop strategy when raining is overriden just to change to the computed compound instead of default medium compound when track has dried.

- Blue flag behavior = outlapped AI slow down and make a lateral move to enhance overtake capability of AI leading the race and try to avoid the "leader's stuck effect". Outlapping AI slightly increase its agressivity to overtake.

- Time spent in pits = time spent in a pitstop is consolidated so that AI cars spend the exact amount of time that is in their .ini file for damage, refuel and tyre changes.

- AI Running out of fuel = When AI fuel tank reaches a low level (< 1.1L), instead of continuying the race, it sides from track and are then teleported to pits by CSP.

- Yellow Flag warnings completing the AC flag system: yellow flags added when AI spent more than 1 second on track at less than 5 km/h

- Messaging using native AC system to display 2 kinds of events driven by DumbAI: AI that went to pits and track sector under Yellow Flag + driver concerned by the flag


File System for settings:

- A file system based on .ini format is built so that you can save or load a pre-definite race configuration and all DumbAI settings.

- A Base file is loaded at the launch of the session so that you can pre-define which configuration will be used as default and jump directly into the race as usual without having to set DumbAI specifically.


Install:
To test it, just unzip the file in assettocorsa/apps/lua and there it goes. Needs CSP 0.3.0 preview 212 with extended physics. CSP AI new behavior should be checked. Tested and developped with CSP 0.3.0 preview 338. Does not work with encrypted cars !


Instructions:
see this post = https://www.gtplanet.net/forum/threads/dumbai.434461/post-14517365


Known Issues:

- When there is only one lap gap between both cars, blue flag does not trigger when the overlapped car is just after the start/finish line and the outlapping one is just before it.

- If "enhanced / dangerous" option is selected for blue flag behavior, some cars may provoke incidents while overtaking. This is likely due to too high Aggression level for AI combined with too low settings for AI Caution in Dumb AI app, adjust them carefully !

- Fuel consumption is not taken into account in the pitlane just after being released from pits until having joined the track.

- DumbAI can't work for cars with encrypted data.



DumbAI_settings.webp



race_engineer_DumbAI.webp
Author
ancient_3
Downloads
2,756
Views
4,520
First release
Last update

Ratings

5.00 star(s) 1 ratings

Latest updates

  1. Hotfix for 1.2

    change log: - removed BlockTeleport system which was not able to override correctly retirement...
  2. teleportation, yellow flags and messaging system

    changelog: - added global teleportation block + controlled teleportation to pits management for...
  3. new feature and some fixes

    changelog: - new feature: human player automatically gets tyre compound and AI computed fuel...

Latest reviews

One of the best app for single player, recommended for everyone!
Back