13.01.2011, 20:15
I was asked to create a carpark for the houses in my GM.
The idea of the person who requested this, was to let the player park 2 vehicles outside his house, and the other 8 on a carpark somewhere.
How do most housing systems do it?
Just have a maximum of 2 spawnpoints outside the house for the vehicles (or perhaps 1, to allow more houses)?
My original idea was to allow only one parked vehicle near the house and the other 9 just data-wise in an array.
When the player wanted to have another vehicle parked at his house (the house holds up to 10 vehicles), the spawned one is destroyed (but the data, like paintjob, applied components and such are saved) and the chosen one is spawned instead.
So the 8000 vehicles could still be bought by the players, but only 800 of them could be spawned simultanously.
The vehicles should stay spawned, even if the player logs out, so other players can see the wealth (kinda) of a player when he drives near the other player's house.
TM does this too, vehicles are parked outside the houses, even when the players aren't online.
The idea of the person who requested this, was to let the player park 2 vehicles outside his house, and the other 8 on a carpark somewhere.
How do most housing systems do it?
Just have a maximum of 2 spawnpoints outside the house for the vehicles (or perhaps 1, to allow more houses)?
My original idea was to allow only one parked vehicle near the house and the other 9 just data-wise in an array.
When the player wanted to have another vehicle parked at his house (the house holds up to 10 vehicles), the spawned one is destroyed (but the data, like paintjob, applied components and such are saved) and the chosen one is spawned instead.
So the 8000 vehicles could still be bought by the players, but only 800 of them could be spawned simultanously.
The vehicles should stay spawned, even if the player logs out, so other players can see the wealth (kinda) of a player when he drives near the other player's house.
TM does this too, vehicles are parked outside the houses, even when the players aren't online.