DumbAI

DumbAI 1.2.1

change log:

- removed BlockTeleport system which was not able to override correctly retirement rules of AC and CSP and was messing end of races and return to Content Manager

- refined YellowFlag system, added option in settings to change Yellow Flag triggering speed threshold

- cosmetic changes in the Race engineer

- cleaning of session restarts and use of global variables

As a consequence, the only way to have proper retirement without retired cars going back on track during races is to activate new AI behavior in CSP settings and un-check "get back to the race after going to pits"
changelog:

- added global teleportation block + controlled teleportation to pits management for stuck cars: teleportation to pits after 30 seconds continuously spent at less than 5 km/h without possibility to get back on track

- added 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

- added messaging using native AC system to display 3 kind of events driven by DumbAI: AI that went to pits , track sector under Yellow Flag + driver concerned by the flag and Driver name that just retired
changelog:

- new feature: human player automatically gets tyre compound and AI computed fuel level from DumbAI default behavior in its setup menu, as a default choice

- corrected a bug where AI would always have full tank at start in no refuel scenarios

- fixed a bug display in race engineer (same time gap displayed for car +1 and car +2)

- fixed cases where AI would put wet tyres at start of dry races

- fixed issue when CSP is not able to generate rain tyres

- fixed issue when car has only one slick tyre compound

- fixed issue in some tracks where AC would overwrite DumbAI behavior at start and make bots go to pits & mess around if start position too before pitlane
Change log:

- new race engineer to keep you updated on which is ahead or behind you, with which tyre compound, time lag and number of pitstop

- fixed pit stop strategies and refined their computation: see post here for details = https://www.gtplanet.net/forum/threads/dumbai.434461/post-14517457

- fixed save procedure that forgot Qualifying option
Change log:

- new UI with tyres names and cleared presentation

- new load/save file system based on .ini format with the possibility to have a default.ini launched at start of the session

- new race strategies: "Mandatory Mixed Compounds without Refuel" & "Mandatory Refuel"

- consolidation of all older race strategies

- addition of a new AI behavior: "Running out of fuel"

- new random alternative race strategies, adapted to each race strategies

- fuel strategy adapted for alternative tyre compounds

- solved issues where DumbAI fuel behavior would be overriden by vanilla AC behavior

- global code optimization
  • Like
Reactions: Philip00
Change log:

Following the last reported bug (AI not leaving pits during qualifying), I went through a complete refactoring & optimization of the code and rewrote entirely the pit triggering and release system.

I made tests with CSP 0.3.0p212 for the following different cars:
  • Ferrari 365GTB S3 (Mod from AcLegends 60's)
  • McLaren MP4/4 (Mod from MAK Corp)
  • Ferrari GTE 2019 (Mod from URD)
  • Lotus Exo sp1 (Kunos)
  • Ferrari 488 GT3 (Kunos)
  • Lambo Huracan GT3 (Kunos)
  • Ferrari 250 GTO (Kunos)

on different tracks:
  • Lago Maggiore Centre (RT version)
  • Spa Active Airspace (Kunos modified by Mascot)
  • Monza (Kunos)
  • Autosport speedway (ACU updated by LaChub & co.)

Both on race session and week-end session (qualifying & race). I can't garantee I tested every combinations but at least every Kunos or mod track has been tested successfully for both session with at least one old car, one recent and one open wheel either mod or Kunos.

Performance now is:
  • less than 0.04 ms per update(dt) for 9 AI opponents, max 4Mo memory
  • less than 0.06 ms per update(dt) for 19 AI opponents, max 6.5Mo memory
Change log:
As the title says, a correction for a small but important bug reported by @MarshallPlayz where AI was not able to go out of pits during qualifying
Hi !

Here is a first complete version of DumbAI with a mix of new and older features selected from past versions

New features:
- automatic computing of pit stop strategy of bots at the start of the race (fuel & tyres)

- adaptative pit stop strategy during race according to tyre wear, fuel consumption and damages, taking into account fuel and tyre multipliers

Features from older version:

- blue flag behavior for outlapped and outlapping bots

- possibility to change default tyre compound for bots

- 1 example of race rule implementation: mandatory pitstop to change tyre compounds once during the race

- 1 example of the possibility to take into account qualifying results in the race strategy (starting with harder compounds when bad qualifying)

- qualifying behavior: runs of 3-4 laps with adapted fuel level and adapted choice for tyre compounds for qualifying , controlled random launch of each car on track at the start of the session

Other changes:
  • UI refreshed
  • Code refactored
  • Log refreshed

Needs CSP 0.3.0.212 preview to work without bugs , with extended physics allowed
  • Hot
  • Like
Reactions: fto_10 and Philip00
Change log:
As the title says, a correction for a small but important bug reported by @Philip00: where the value given in the UI for max speed limit when outlapped was not forwarded to the bot. Thank you Philip !
  • Like
Reactions: Philip00
Change log:

- Compatibility with AI Whisperer app from Tetri:
setAICaution & SetAISplineOffset are only modified during Blue Flag events so that AI Whisperer can retake hands on these variables just after the event.

- minor improvement: Removed the functionnality to change line if outlapping process was taking too long as it created sometimes collisions in beginning part of some straights where outlapper would try to overtake just after the turn while accelerating whereas outlapped would try to change line as well.
Back