Evolution Modding
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Cars, Skins and Tracks for GTL/GTR2
 
HomeSearchRegisterLog inDonate
Donate
Support

Evolution Modding


or to Hubert-1@gmx.de

COSTS PER YEAR: 150€Help needed with AI configuration Pixel
Donated: 75€

Top posters
GeeDee
Help needed with AI configuration Vote_lcapHelp needed with AI configuration Voting_barHelp needed with AI configuration Vote_rcap 
jeannomiller
Help needed with AI configuration Vote_lcapHelp needed with AI configuration Voting_barHelp needed with AI configuration Vote_rcap 
ney.dias
Help needed with AI configuration Vote_lcapHelp needed with AI configuration Voting_barHelp needed with AI configuration Vote_rcap 
MOF
Help needed with AI configuration Vote_lcapHelp needed with AI configuration Voting_barHelp needed with AI configuration Vote_rcap 
joeschmoe
Help needed with AI configuration Vote_lcapHelp needed with AI configuration Voting_barHelp needed with AI configuration Vote_rcap 
MG421982
Help needed with AI configuration Vote_lcapHelp needed with AI configuration Voting_barHelp needed with AI configuration Vote_rcap 
nikbear
Help needed with AI configuration Vote_lcapHelp needed with AI configuration Voting_barHelp needed with AI configuration Vote_rcap 
alain62
Help needed with AI configuration Vote_lcapHelp needed with AI configuration Voting_barHelp needed with AI configuration Vote_rcap 
Vanaja
Help needed with AI configuration Vote_lcapHelp needed with AI configuration Voting_barHelp needed with AI configuration Vote_rcap 
deep-strike
Help needed with AI configuration Vote_lcapHelp needed with AI configuration Voting_barHelp needed with AI configuration Vote_rcap 
Who is online?
In total there are 4 users online :: 0 Registered, 0 Hidden and 4 Guests :: 1 Bot

None

Most users ever online was 331 on Sat 10 Apr 2021, 6:25 am

 

 Help needed with AI configuration

Go down 
5 posters
AuthorMessage
kikoya

kikoya

Anzahl der Beiträge : 366
Anmeldedatum : 2012-04-18

Help needed with AI configuration Empty
PostSubject: Help needed with AI configuration   Help needed with AI configuration EmptyThu 06 May 2021, 12:35 pm

Hello everybody,

As the title says, I look for some help to configure the AI behaviour, especially the suspension, for the car I'm working on now. Look at the pictures below :

Here is how the car behaves when I'm behind the wheel, and this is how the car should more or less behave...

Help needed with AI configuration R12g_012
Help needed with AI configuration R12g_011
Help needed with AI configuration R12g_010

And here is what happens when the AI drives. It's completely unrealistic, the car has almost no body roll, the suspension seems to be soft vertically as it has correct travel up and down, but looks very hard laterally...

Help needed with AI configuration R12g_014
Help needed with AI configuration R12g_015
Help needed with AI configuration R12g_013

I've worked on these settings in the HDC :

AIEvenSuspension=1.0            // averages out spring and damper rates to improve stability (0.0 - 1.0)
AISpringRate=1.0              // spring rate adjustment for AI physics (improves stability)
AIDamperSlow=0.5              // contribution of average slow damper into simple AI damper
AIDamperFast=0.5                // contribution of average fast damper into simple AI damper
AIDownforceZArm=0.0           // hard-coded center-of-pressure offset from vehicle CG
AIDownforceBias=0.0             // bias between setup and hard-coded value (0.0-1.0)
AITorqueStab=(1.0, 1.0, 1.0)   // torque adjustment to keep AI stable

I've tried dozens and dozens of variations, got some crazy results like the car bouncing everywhere or moving below the road, but I never managed to get something approaching the non-AI behaviour of the car.

Any suggestion is welcome. I'd really like to get a visually better AI as the races in the Gordini Cup were very spectacular, but in game they look rather lame for the moment.
Back to top Go down
bonnier

bonnier

Anzahl der Beiträge : 410
Anmeldedatum : 2014-03-27
Ort : Stockholm, Sweden

Help needed with AI configuration Empty
PostSubject: Re: Help needed with AI configuration   Help needed with AI configuration EmptyThu 06 May 2021, 10:26 pm

Have you tried increasing the AIMinPassesPerTick setting also found in the .hdc file? It's supposed to make the AI to use more accurate spring/damper/torque values.
Back to top Go down
kikoya

kikoya

Anzahl der Beiträge : 366
Anmeldedatum : 2012-04-18

Help needed with AI configuration Empty
PostSubject: Re: Help needed with AI configuration   Help needed with AI configuration EmptyThu 06 May 2021, 11:33 pm

bonnier wrote:
Have you tried increasing the AIMinPassesPerTick setting also found in the .hdc file? It's supposed to make the AI to use more accurate spring/damper/torque values.

Yes, I tried that also but it didn't make any difference.
Back to top Go down
kikoya

kikoya

Anzahl der Beiträge : 366
Anmeldedatum : 2012-04-18

Help needed with AI configuration Empty
PostSubject: Re: Help needed with AI configuration   Help needed with AI configuration EmptyFri 07 May 2021, 1:03 am

The problem really seems to be in the suspension settings. See those pics :

Help needed with AI configuration R12g_017
Help needed with AI configuration R12g_016

When the car gets under AI control the wheels get pushed down harder (well, up when the car's upside down).
Back to top Go down
GeeDee
Premium Member
Premium Member
GeeDee

Anzahl der Beiträge : 4040
Anmeldedatum : 2010-06-23
Alter : 72
Ort : 1 hour from Croft and enough distance from Rick & Ney

Help needed with AI configuration Empty
PostSubject: Re: Help needed with AI configuration   Help needed with AI configuration EmptySat 08 May 2021, 10:55 pm

You must have something the wrong way around or maybe a minus sign in the wrong place etc...
Back to top Go down
kikoya

kikoya

Anzahl der Beiträge : 366
Anmeldedatum : 2012-04-18

Help needed with AI configuration Empty
PostSubject: Re: Help needed with AI configuration   Help needed with AI configuration EmptySat 08 May 2021, 11:29 pm

GeeDee wrote:
You must have something the wrong way around or maybe a minus sign in the wrong place etc...

Since I've tried to change almost everything and it remains the same, it's surely something like that. I'll try to rewrite completely the HDC and SP files to see what happens...
Back to top Go down
fatguts

fatguts

Anzahl der Beiträge : 866
Anmeldedatum : 2016-02-23
Ort : In my other Shed

Help needed with AI configuration Empty
PostSubject: Re: Help needed with AI configuration   Help needed with AI configuration EmptySun 09 May 2021, 8:47 am

Pick a car of similar size that works the way you want and copy the settings to the Renault.
Does the original car behave as shown above or only after you have altered its settings ?

Pete Conway likes this post

Back to top Go down
Pete Conway



Anzahl der Beiträge : 116
Anmeldedatum : 2013-05-05

Help needed with AI configuration Empty
PostSubject: Re: Help needed with AI configuration   Help needed with AI configuration EmptySun 09 May 2021, 11:00 am

fatguts wrote:
Pick a car of similar size that works the way you want and copy the settings to the Renault.
Does the original car behave as shown above or only after you have altered its settings ?

Before editing make a back up but you already know that
As fatguts says, pick something similar and put the two HDC's side by side* I often compare two HDC's and look for what might be wrong, I found the Aston Martin DB4GT always calling me to "cool brakes" even when I was in the pit lane on my way out, I found that iirr, the Fade and Optimum temperatures seemed to be the wrong way round... no offence 'Team'
But, by comparing it with the HDC of other big GT cars I was able to spot the apparent error.


* There may be settings not covered in the comparison HDC so at first ignore them and just look to what you can compare.
Back to top Go down
kikoya

kikoya

Anzahl der Beiträge : 366
Anmeldedatum : 2012-04-18

Help needed with AI configuration Empty
PostSubject: Re: Help needed with AI configuration   Help needed with AI configuration EmptySun 09 May 2021, 12:07 pm

Yes, that's why I'll rewrite the HDC. Take one from an original car and modify each entry to fit the R12 specificities. Doing so I might find out if something was wrong to begin with, inverted entries or missing characters like - or , that are easy to miss, or even worse, a carriage return that is invisible in the file but that do some damage sometimes.
Back to top Go down
Sponsored content




Help needed with AI configuration Empty
PostSubject: Re: Help needed with AI configuration   Help needed with AI configuration Empty

Back to top Go down
 
Help needed with AI configuration
Back to top 
Page 1 of 1
 Similar topics
-
» How to configuration rybka 4.1, Hodini 1.5....
» Please help my son - Pokemon cards needed!
» pupils needed
» Bashing 'flying' characters; Banish your 'own' or on someone else's Manor?
» Charger Items level needed to unlock

Permissions in this forum:You cannot reply to topics in this forum
Evolution Modding :: Racing Simulations :: GTR2-
Jump to: