

AIEdit
#16
Posted Nov 27 2012 - 02:47 PM
Tested and approved. Quite a good stuff ! Indispensable to AI makers...
(only one thing not dramatic: it seems that pass1 and pass2 generated files are in reverse order - pass1 should be on left side and pass2 on right)
Thanks again for this little great tool.
Ez
#17
Posted Dec 04 2012 - 06:08 AM
ezechiel47, on Nov 27 2012 - 02:47 PM, said:
Tested and approved. Quite a good stuff ! Indispensable to AI makers...
(only one thing not dramatic: it seems that pass1 and pass2 generated files are in reverse order - pass1 should be on left side and pass2 on right)
Thanks again for this little great tool.
Ez
Thx for the heads up Ezechiel

I'll have a look at it and fix that bug.
Do you feel there's a need to be able to use a different distant value?
E.g. a parameter which you can change to have a bigger/smaller offset.
#18
Posted Dec 04 2012 - 01:03 PM
For instance, for the big cars (canam and gt67), a bigger offset is better (2 meters or 2.5)
Many thanks again
Ez
#19
Posted Dec 08 2012 - 11:23 AM

This version has also the proper + & - values for the pass files..
Edited by MECH, Dec 08 2012 - 12:40 PM.
#20
Posted Dec 08 2012 - 02:37 PM

didn't Lee already made a tool for this?
Grand Prix Legends AI Pass Line Creator is the name and the usage is the same as yours.
Is a couple of years that I'm using it

Attached Files
#21
Posted Dec 08 2012 - 02:59 PM
Ginetto, on Dec 08 2012 - 02:37 PM, said:
Yes, I did.

It was a first go at an attempt to write a program that would fully automate the production of all the .lp files based on the ,trk file. Setting the pass lines halfway between the race and min/max race lines while limiting the maximum offset was the first step. I never was able to fully determine the min/max race lines, however, as many tracks use nonstandard traces. And determining the proper race line was a still a work in progress. The F2 mod came along about this time too so that diverted further work on the program. Then there was the CanAm mod...etc.
No problem with Martin writing another program though if it helps someone.
Edited by Lee200, Dec 08 2012 - 03:00 PM.
#22
Posted Dec 10 2012 - 02:32 PM
I had never heard of Lee's tool. Many thanks for you efforts, Lee.
Martin, it works great !

Only one thing or two...
-the created files keep the "flags"of the race.lp. Its better to delete them. If its not possible in the tool, its worth saying it in the readme.
-would it be complicated to have the choice of a different value at left and right side ? (Just saying : its also possible to make twice the stuff with two different values and keep the appropriate file).
Anyway. Again a great thank you !
Ez
#23
Posted Dec 10 2012 - 03:05 PM
ezechiel47, on Dec 10 2012 - 02:32 PM, said:
I had never heard of Lee's tool. Many thanks for you efforts, Lee.
Martin, it works great !

Only one thing or two...
-the created files keep the "flags"of the race.lp. Its better to delete them. If its not possible in the tool, its worth saying it in the readme.
-would it be complicated to have the choice of a different value at left and right side ? (Just saying : its also possible to make twice the stuff with two different values and keep the appropriate file).
Anyway. Again a great thank you !
Ez
No it's not a problem adding a parameter to have left and rigt offsets

#24
Posted Dec 11 2012 - 03:51 PM
thanks for your answer.
About the flags, ive always heard that we have to delete all flags in other files than race.lp because they may alter ai behaviour.
So i did a test :
I watched Ai racing at mosport with xtra 69 mod : the cars are beautiful and the ai drive quite well.
Then i injected the flags of the race.lp into the pass1 and the pass2. On a first look, i believed that all was normal. But after a few laps, i saw that the AI was joining the pits at... 24 km/h !
Not an evidence. But surely a clue... I prefer to delete flags into .lp file files other than race.lp
Good luck in the many projects you are involved in (specialy the alpine for the rx mod)
Ez
Edited by ezechiel47, Dec 11 2012 - 03:52 PM.
#25
Posted Dec 12 2012 - 12:50 PM
ezechiel47, on Dec 11 2012 - 03:51 PM, said:
thanks for your answer.
About the flags, ive always heard that we have to delete all flags in other files than race.lp because they may alter ai behaviour.
So i did a test :
I watched Ai racing at mosport with xtra 69 mod : the cars are beautiful and the ai drive quite well.
Then i injected the flags of the race.lp into the pass1 and the pass2. On a first look, i believed that all was normal. But after a few laps, i saw that the AI was joining the pits at... 24 km/h !
Not an evidence. But surely a clue... I prefer to delete flags into .lp file files other than race.lp
Good luck in the many projects you are involved in (specialy the alpine for the rx mod)
Ez
Hi Ezechiel,
I've uploaded a new version for you to play with

It has 2 offset parameters for, 1 for each passing line.
You only need to enter the distance; it will add or subtract depending on the passing file.
I also let it reset the flag values for both files. Although i'm quite certain they have no effect in Grand Prix Legends it can't harm removing them. (Grand Prix Legends only uses the flags in the race.lp for the ai. You can test this by using any flag you wish in the passing files it won't have any effect. What you describe of the 69 isn't related to passing files, could be pit.lp or boundaries of pits or something else

#26
Posted Dec 12 2012 - 03:53 PM

Going to try that as soon as possible...
Ez
#27
Posted Dec 16 2012 - 11:11 AM
Works great !

Soon, it will be too easy to make Ai...
Many thanks
Ez
#28
Posted Mar 10 2013 - 04:47 PM

#29
Posted Aug 29 2013 - 11:55 AM

c) What effect does raising and lowering the tolerance value have?
d) What does the grip value do when you generate the .lp file?
I'd like to be able to change the lateral value without having any effect on the longitudinal and yaw values. Sometimes when I create a .lcv and later the .lp file AIEdit makes a lot of changes I don't like. I'm trying to learn how to better use this program. Any help would be appreciated.
Edited by JMF, Aug 29 2013 - 11:55 AM.
#30
Posted Aug 29 2013 - 12:39 PM
So a smaller value should follow your lp more closely.
b. No it doesn't preserve the original yawspeed etc.. values exactly because the lines are made by formulas.
But you could get them more equal by using lower tolerance i guess ©
d. The grip value gives the car better grip. This was necessary for the min/max lines. A car with a broken suspension would spin in tight corners returning to pits.
I believe you can copy the entire column from the original lp into the new lp in Aiedit.
Although that might give some unpredictable results because all those speeds are related to eachother and the drivingline. Aiedit was designed to create lp files based on an average 67 engine. That's why it not always works for other mods that well. Besides that you have the fact that the ai does not use the same restriction a human driver does . Which means the lap you drive can't be a 1-on-1 base for the ai lp files.
What Aiedit does is is create a driving line that takes in acount those restrictions up to some extend. You still need to finetune the lines to amke room for overtakes, tight corners, add flags etc..
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users