M Needforspeed, on Jan 08 2015 - 05:12 AM, said:
thks Pavel ; I see for Reims, the race and pass files are depending on the mod 66 or 67 we use .
Yes, there are some mod specific files in my updates. I will try to explain the way GPL use this AI files so you may decide how to use them. All this was found during various tests. I don’t know why it works that way.
Original game (or source gpl.exe that is used by GEM to generate all other executables) for every track need set of lp’s and track.ini file.
Lp’s control AI racing line around the track, also race.lp (and occasionally pass1 and pass2) controls cars longitudinal and lateral speeds. GPL.exe
directly uses values from this files.
Track.ini contains various values that control AI behavior on track. There are also seven strings for AI to calculate fuel load:
brabham_fuel_load_per_lap = x.xx
brm_fuel_load_per_lap = x.xx
coventry_fuel_load_per_lap = x.xx
eagle_fuel_load_per_lap = x.xx
ferrari_fuel_load_per_lap = x.xx
lotus_fuel_load_per_lap = x.xx
murasama_fuel_load_per_lap = x.xx
This is amount of fuel that is needed to complete one lap for every car model controlled by AI.
All this seven strings can be replaced with single one:
nominal_fuel_load_per_lap = x.xx
It forces AI to use this amount of fuel for very car model.
That was easiest part. Now I’ll try to explain how this files work with mods.
Firs of all, patch 1.3 for original game it’s not a simple patch. After applying it original game.exe remains. But you also get new gplc67.exe with 1967 F1 season.
This is mod. It’s behavior is different compare to original gpl.exe. Original executable still use track’s AI files like I’ve described above. But gplc67 use them different way.
I guess Nigel Pattinson try to make game feature that helps mods to use original lp’s and track.ini files. Original lp’s contain speeds for 67 F1 cars. They maybe will not work well with 65 F1 cars or 67 GT cars. Or fuel load that is set in original track.ini will be to high for 65 F1 cars, ot too low for 67 GT cars. So some sorts of coefficients were implemented. But also he created possibility to have mod specific AI files that still will be directly used like original executable do.
Lp files
All mods adjust speeds from common lp’s (even F1’67). Most of them do it ok, but GT’67 and CA’71 have some problems. Mods use directly speeds only from mod specific lps (*.l65, *.l66, *.l67 etc.).
I prefere:
1) to use F1’67 (gplc67.exe) with mod specific lps - *.l67. That way AI use actual speeds from lps that were made from 1967 replays in most of the cases. I usually make a copy of race.lp, pass1.lp and pass2.lp and put them in track folder with
l67 extension (race.l67, pass1.l67, pass2.l67)
2) to use GT’67 and CA’71 mods only with specific lps made from appropriative replays. I released my GT files. I had whole set of CA’71 specefic lps, but I don’t know how it’s better release them.
3) to use F1’65, F1'66, F1’69 (original and extra), F2’67 mods only with common lps. There is no much difference compare to using mod specific files.
Note: Most of latest tracks lps are generated with AIEdit tool. Speeds inside such files are also generated by this tool. If you made mod specific lps from them AI cars will have unreal acceleration and sometimes too low speed in turns.
Track.ini files
All mods
If common track.ini is used game calculate average fuel load from values in seven strings, apply some coefficient (I’m not sure if there coefficient for F1’67) and use resulted fuel load for every car.
(brabham+brm+coventry+eagle+ferrari+lotus+murasama) / 7 * K
Or it can be replaced with single Nominal fuel load for which also coefficient will be applied.
F1’65, F1’67, F1’69 (original)
If mod specific track.ini is presented (track65.ini, track66.ini, track69.ini) then fuel loads for every car model are used independently.
So for F1’67 it’s better to have track67.ini in track folder (just a copy of common track.ini).
F1’66
Mod specific track66.ini has 16 fuel load strings for every car model. Each setting are used independently by mod.
F1’69 (extra)
Unlike 1966 mod here there wasn’t implement option to have individual fuel load setting for every car model. Fuel load settings are used like with common track.ini file.
I don’t use original 1969 mod anymore. So I replaced seven fuel strings with single Nominal using brabham fuel load there.
GT’67 mod uses its own fuel strings which are used independently.
CA’71 mod uses only single string (brabham) for all cars.
F2’67
This mod has some bugs here. It needs fuel load settings for every car model, but it use them to calculate average setting that is used for every car.
I will explain in soon, when will upload F2 AI patch.
M Needforspeed, on Jan 08 2015 - 05:12 AM, said:
For Edmonton, do you advise us that your track.ini shld be used instead of the tra71ca.ini ?
No. Tra71ca.ini should be used. Maybe only with some speed adjustments.
Edited by Pavel, Nov 15 2020 - 02:52 AM.