# TWO CARS IN ONE GARAGE PROBLEM

#### Kevin Pheiffer

##### 250RPM
Hi
Wonder if someone could help....

If we create a few extra cars for Formula Reiza (as an example) and add them to the game, they work fine.
However, now and again we end up with two cars on top of each other in the same garage? This does not happen with all the cars. Just here and there.
Could it be the pit group?
We have tried everything, but keep coming up with this problem.
We have checked veh. files over and over as well as the RFM etc. What are we missing?
Thanks guys.

#### Gringo

##### 500RPM
Is it possible you are trying to load more cars than the problem tracks can support? If a track has 20 garage places and you load try to load 21 cars... then you will (should) get 2 cars in 1 garage.

#### Kevin Pheiffer

##### 250RPM
We thought of that, but even with 6 cars at LeMans it does it sometimes. Number of players is not a problem either.
It's not the tracks. Something to do with the cars, for sure.

#### Patrick Giranthon

##### 3000RPM
Did you check the pitgroup for these cars?

#### Kevin Pheiffer

##### 250RPM
Yes, they the same.

#### Patrick Giranthon

##### 3000RPM
You must have 2 cars only for one pitgroup.
Just change them

#### JoelGL

##### 1000RPM
Where do you check how many garages a track has, and pitgroup?

#### Gringo

##### 500RPM
Pit groups can be defined in the RFM or as an override in a tracks GDB (look in a rfm for notes from ISI)
You can determine how many cars a track can support by looking at the header in an AIW file. Look for how many pits (=max teams), then look at the number of grid and garages for the total cars supported. You cant load more cars than the grid will support (i am pretty sure).

Code:
``````//[[gMa1.002f (c)2007    ]] [[            ]]
[Features]
waypointspan=4.40
pitlanes=1
startinggrid=104
pitspots=52
garagespots=3
auxspots=8``````
The above is info used by the AIW editor... not how many pits / garages you have.

Look here...

Code:
``````[GRID]
GridIndex=0
Pos=(-96.141,9.565,-197.743)
Ori=(0.002,-0.834,-0.000)
.
.
.
GridIndex=35
Pos=(-208.368,10.228,-87.230)
Ori=(-0.011,5.457,-0.000)``````
36 cars can grid in this example.

Code:
``````[PITS]
TeamIndex=0
PitPos=(-172.876,9.830,-94.565)
PitOri=(-0.002,5.472,-0.009)
GarPos=(0,-116.139,9.689,-91.872)
GarOri=(0,-0.010,-0.544,-0.004)
GarPos=(1,-61.717,9.256,-81.802)
GarOri=(1,-0.010,-0.544,-0.004)
GarPos=(2,-112.834,9.678,-88.459)
GarOri=(2,-0.010,-0.544,-0.004)
.
.
.

TeamIndex=14
PitPos=(-87.547,9.446,-175.031)
PitOri=(0.000,5.465,-0.010)
GarPos=(0,0.992,9.535,-123.704)
GarOri=(0,-0.010,-0.544,-0.004)
GarPos=(1,-142.155,9.963,-43.217)
GarOri=(1,-0.010,-0.544,-0.004)
GarPos=(2,4.715,9.530,-120.821)
GarOri=(2,-0.010,-0.544,-0.004)``````
Here we can read that 15 pit spaces are available and in this case 3 cars per pit space. In most cases it willl be two cars per pit space, but some times there is only one car per pit.

Code:
``````[PITS]
TeamIndex=0
PitPos=(70.001,12.833,1113.224)
PitOri=(-0.029,1.791,0.001)
GarPos=(0,69.035,12.895,1109.671)
GarOri=(0,-0.014,-2.934,0.002)
GarPos=(1,74.275,12.885,1108.541)
GarOri=(1,-0.015,-2.934,0.002)
GarPos=(2,0.000,0.000,0.000)
GarOri=(2,0.000,0.000,0.000)``````
This is an example of two garages in a pit space. Notice that garage 2 is not defined.

Last edited:
Fabio Rodrigues

#### Kevin Pheiffer

##### 250RPM
@Gringo thank you my friend. We will double check everything and let you know if we sorted it.