• Dear visitors,

    The email issue has been finally solved.
    Thank you for your patience and happy browsing.

    Team ACM.

SOLVED how can i make AI path?

luchian

Administrator
Staff member
Hey all,

I was wondering why when entering my pits, the car doesn't reduce velocity to 80km/h ?
I have a 1PIT_ road object + the pit line is also there.
You need to to identify that surface as PIT in the surfaces.ini

IS_PITLANE=1
 

QuadCoreMax

Member
Right I've done it, as is :

[SURFACE_4]
KEY=PIT
FRICTION=1
DAMPING=0
WAV=
WAV_PITCH=0
FF_EFFECT=NULL
DIRT_ADDITIVE=0
IS_VALID_TRACK=1
BLACK_FLAG_TIME=0
SIN_HEIGHT=0
SIN_LENGTH=0
IS_PITLANE=1
VIBRATION_GAIN=0
VIBRATION_LENGTH=0

but doesn't work right now...
 

luchian

Administrator
Staff member
IIRC, naming it simply PIT could create some problem.
You can use something composite, like PITS-MYTRACK.
See an example (that works 100%), in this post.
 

LilSKi

Well-Known Member
The fact you have the word "road" in the name is confusing the sim. Call the key PITS and name the surface 01PITS, 01PITS.001, 02PITS.099, etc. Do not add anymore letters/words other than the key when naming physical surfaces.
 

QuadCoreMax

Member
In editor, it's called 1PIT_road_pits for 1 road pit mesh that I have.
In surfaces ini, I have :

KEY=PIT_road_pits

but that still doesn't work...
I don't understand what triggers the 80km/h in pits ?
 

luchian

Administrator
Staff member
Try removing the "road" from the name as Lilski suggested. I remember I had some issues also because of this.

..sent from my phone.
 

Pelukas

New Member
Hello again I continue with my circuit but come to the point of doing the line of pit-lane. I do not know how.
And seal it, unite it.
And enter by box, go out and pass the red AI line? (But does not join?
E to enter and not to enter again? And save it when you pass box end but out? By the general clue?

Sorry for my translation into English from Spanish.
Thanks always for your help, I think many circuits created by users from all over the world have come through here.
Greetings.
 

luchian

Administrator
Staff member
The minimum you need to do, start somewhere on the last corner before the pits (so, from the racing line), go through pits, go out and continue until you are back on the racing line again.
 

Pelukas

New Member
Thank you very much for answering, and wasting your time.
That's what I do and the mechanics leave but the box stop when I want to repair does not come out and the limitation does not reach 80Km either.
Eedited surface.ini and I get what this post says above.
PITS: PIT, 01PIT whatever (but also to change it in sdk? No? With the same name or 01PIT or PIT with nothing else as well as PITS.
All this on surface_0..because I also get PITLINE (on surface_6) and both have the ------ IS_PITLANE = 1.

Example copy and paste of my surface.

[SURFACE_0]
KEY = 01PITS
FRICTION = 0.97
DAMPING = 0
WAV =
WAV_PITCH = 0
FF_EFFECT = NULL
DIRT_ADDITIVE = 0
BLACK_FLAG_TIME = 0
IS_VALID_TRACK = 1
SIN_HEIGHT = 0
SIN_LENGTH = 0
IS_PITLANE = 1
VIBRATION_GAIN = 0
VIBRATION_LENGTH = 0
-------------------------------------------------- (I.e.
[SURFACE_6]
KEY = 02PITLINE
FRICTION = 0.97
DAMPING = 0
WAV =
WAV_PITCH = 0
FF_EFFECT = NULL
DIRT_ADDITIVE = 0
BLACK_FLAG_TIME = 0
IS_VALID_TRACK = 1
SIN_HEIGHT = 0
SIN_LENGTH = 0
IS_PITLANE = 1
VIBRATION_GAIN = 0
VIBRATION_LENGTH = 0
 

luchian

Administrator
Staff member
In the surfaces you only define the KEY of that surface. For example:
[SURFACE_0]
KEY = PITSMYTRACK
FRICTION = 0.97
DAMPING = 0
WAV =
WAV_PITCH = 0
FF_EFFECT = NULL
DIRT_ADDITIVE = 0
BLACK_FLAG_TIME = 0
IS_VALID_TRACK = 1
SIN_HEIGHT = 0
SIN_LENGTH = 0
IS_PITLANE = 1
VIBRATION_GAIN = 0
VIBRATION_LENGTH = 0

Then, when you use it on your mesh(es), you will put numbers in front. For example:
1PITSMYTRACK

and so on.

The part in RED, tells AC that the surface is pitlane and speed is limited.
 
Last edited:

Pelukas

New Member
Asi que
¿Por suface_6 con PITLINE

[SURFACE_6]
CLAVE = 02PITLINE
FRICTION = 0,97
DAMPING = 0
WAV =
WAV_PITCH = 0
FF_EFFECT = null
DIRT_ADDITIVE = 0
BLACK_FLAG_TIME = 0
IS_VALID_TRACK = 1
SIN_HEIGHT = 0
SIN_LENGTH = 0
IS_PITLANE = 1
VIBRATION_GAIN = 0
VIBRATION_LENGTH = 0

¿Por qué 2? Tienen que ser los 2 "(hoyos" (surface_0) y PTLINE "(surface_6) ????
La restricción cuadro 2 se han activado
IS_PITLANE = 1


On the other hand I do not use 3dmax, I have bought 3dsimed and I use RTB.
But I can change the surfaces with 3dsimed but I do with SDK of aseto.
Correct, I'll thank you.
 
Last edited:

luchian

Administrator
Staff member
Check the part in blue, above. It's starting with 1 (or other number) but NOT with 0 :).

You only need one KEY surface for pits. Choose either the first or the 6th.
 

cercata

Member
Is this still the best method for adding IA to your track ?

Does this also enable the drawing of the green-red "racing line" ?

Edit: After doing this, MODs don't charge anymore.
Not my mods, ANY MODS, not even a Kart on Imola (official track) :-o

Edit2: I just have to reinstall the kart I use for creating the fast_lane.ai, and the it works again
 
Last edited:

SKY FLIGHT

New Member
Sorry for digging out a kinda-old thread, but I have problem on creating AI lanes.
As I only do PTP tracks, I want to do one for my new map. I did used the in-game app to record, I clicked the top start recording and it starts. When I finished I clicked save ai, the top also stated ai saved, but my ai folder in the track just blanked, nothing.

Hellllp :/
 

pyge

New Member
I have some annoying problems with ai creation. First of all about 80% of the time I get a 1kb fast_lane candidate when I record ai lines. Other times it seems to work ok. Going over the s/f line really slowly 5kmh seems to sometimes help but often times I still get just a 1kb file. That's a problem I can work with.

But maybe I'm missing aome simple step. Does this look ok: I start in practice session. I drive out of pits and almost finish the lap. Press the ai record button in the app and drive slowly over the s/f line. First lap is a throwaway. Do couple of laps. The line gets updated every time I go across s/f line. Happy with my last lap. Stop on track, exit game. Go see my ai folder (it is a normal track with multiple configs) and curse in about 80% of the times. Am I doing something wrong? Are there some things that simply kill the ai creation process?

Anyways my issue is the pitlane.ai. When I'm trying to create pitlane.ai ac just creates a fast_lane.ai.candidate now. Wonder what si the cause of that? I have my csv files made as well and applied in ac with the shift-key start.
 
Top