Wookey motor-racing history and simulation forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

AI pit strategy help

2 posters

Go down

AI pit strategy help Empty AI pit strategy help

Post by Qrajber Sat 6 Feb - 13:47

I trying to make my own mod with time i have. I have a problem with AI strategy pit. At first i have problem wit AIW of Paul Ricard track (mention earlier on this topic. So i found some aiw on internet and make some modification.

https://mega.nz/file/KdtmQahY#3_6DCEO18K8CnGM8-2rZsKQEVUHBICD537V4K_mOMtI  maybe someone make usefull. Pits are for 12 teams with 3 places. Problematic corner 8 are fixed.

Try to make all race vehicle equals. Played with 95% AI strength. 5x tyre and fuel wear. 70% race lenght. I want to make less traffic in pits, so i edit HDV and VEH files. Each car have own HDV define in VEH on parametar "HDVehicle=team1car1.hdv" (team1car2.hdv, team2car1.hdv, team2car2.hdv ...). There are 4 strategys. 1 for 5 different cars. They are similar but different schedule.

1.
FuelRange=(15.0, 5.0, 23.0)
FuelSetting=14
NumPitstopsRange=(0, 1, 4)
NumPitstopsSetting=3
Pitstop1Range=(15.0, 5.0, 23.0)
Pitstop1Setting=16
Pitstop2Range=(15.0, 5.0, 23.0)
Pitstop2Setting=20
Pitstop3Range=(15.0, 5.0, 23.0)
Pitstop3Setting=22

2.
FuelRange=(15.0, 5.0, 23.0)
FuelSetting=20
NumPitstopsRange=(0, 1, 4)
NumPitstopsSetting=3
Pitstop1Range=(15.0, 5.0, 23.0)
Pitstop1Setting=22
Pitstop2Range=(15.0, 5.0, 23.0)
Pitstop2Setting=16
Pitstop3Range=(15.0, 5.0, 23.0)
Pitstop3Setting=14

3.
FuelRange=(15.0, 5.0, 23.0)
FuelSetting=16
NumPitstopsRange=(0, 1, 4)
NumPitstopsSetting=3
Pitstop1Range=(15.0, 5.0, 23.0)
Pitstop1Setting=14
Pitstop2Range=(15.0, 5.0, 23.0)
Pitstop2Setting=22
Pitstop3Range=(15.0, 5.0, 23.0)
Pitstop3Setting=20

4.
FuelRange=(15.0, 5.0, 23.0)
FuelSetting=22
NumPitstopsRange=(0, 1, 4)
NumPitstopsSetting=3
Pitstop1Range=(15.0, 5.0, 23.0)
Pitstop1Setting=20
Pitstop2Range=(15.0, 5.0, 23.0)
Pitstop2Setting=14
Pitstop3Range=(15.0, 5.0, 23.0)
Pitstop3Setting=16

Now problem is that all start with same fuel (125 lit) and pits at same time and put same max amount fuel. "FuelSetting=" is only have difference for my car.
Im missing something...  Sad  Maybe someone can help. Im new in this game but learn fast Smile

Qrajber
Pedal Kart driver
Pedal Kart driver

Messages : 3
Date d'inscription : 2021-01-12

Back to top Go down

AI pit strategy help Empty Re: AI pit strategy help

Post by OLarrauri Sat 6 Feb - 18:49

according to cristian luis (the man who taught me all he knew about modding) pit stop strategies are scripted in gdb files of the track

example with 1997 mod in magny cours circuit. pay close attention to pit stop strategies

number of pit stops - lap(s) where the driver pits separated with comma

1997 magny cours gdb file from cmt:
OLarrauri
OLarrauri
Competition racer
Competition racer

Messages : 294
Date d'inscription : 2020-03-02
Age : 36
Localisation : Spain

Back to top Go down

AI pit strategy help Empty Re: AI pit strategy help

Post by Qrajber Sat 6 Feb - 21:21

Yes. I m clear with settings in GDB file. In mine, there is non of that. Just elementary information.
So, if i make some of that settings, are they will always pit in that lap even with fuel (tyre) x1 and x5 wear?
I m not clear why is there in HDV files option for settings for fuel and pit strategy.

I will try with GDB. It will take me a while to set it up, and testing. I will report the results.

Qrajber
Pedal Kart driver
Pedal Kart driver

Messages : 3
Date d'inscription : 2021-01-12

Back to top Go down

AI pit strategy help Empty Re: AI pit strategy help

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum