AVS 0.20.
Here's a sneak peak of some new features:
- Blips can be toggled per location and are location specific.
- Blips now mark locations and not the vehicles themselves.
- Locations can have Spawn Rates assigned to them.
Example:
Press the 'O' key to open the in-game AVS Menu and press 'Enter' on the Spawn Groups menu item. Select the 'Add New Group' menu item.
Enter a Name for the newly created group. We are going to name this group. "Group 1"
Assuming that you are in the location that you would like to use, the script will now ask you to specify a location name, we are going to call our first location "L1", and our second location "L2".
The script will now ask for a vehicle name.
Choose any name you would like.
- For this demonstration we are going to enter the name "
2015 Lamborghini Huracan" and press Enter. After pressing Enter you will be taken back to the Main Menu.
Select your newly created group (Group 1) and press Enter.
You are now in the group menu for
'Group 1'
You now have the following options to choose from:
Name
Simultaneous Spawning
Remove
Locations
Vehicles
Select Vehicles -> 2015 Lamborghini Huracan
You are now in the Vehicle menu for
'2015 Lamborghini Huracan'
You now have the following options to choose from:
Engine
Lights
Hazard Lights
Name
Model Hash
Spawn Configuration
Security System
Let's adjust our Spawn Configuration so that the vehicle will spawn at the locations we created earlier:
Spawn Configuration:
We have adjusted the Spawn Rate for our 2015 Lamborghini Huracan.
For the first location. (L1), we have chosen it to be 100.
For the second location . (L2), we have chosen it to be 50.
The 2015 Lamborghini Huracan will now spawn at both locations at different rates.
At (L1) it will always be there, and at (L2) it will have a 1/2 chance of appearing there.
As if you decided to flip a coin, and it landed on either heads or tails, this determined whether the vehicle spawned at that location or not. (L2)
If wanted added a third location, and we want it to have a 1/3 chance of appear there. We would adjust the spawn rate for the third location (L3) to be 33 because 100 divided by 3 is èqual to 33.
Specifying all locations (in this instance there are three) to have the same rate of spawn this could be done by simply selecting the Change All menu option in the Vehicles -> Locations menu.
So what is the probability item I see in the locations menu used for?
By default, probabilities are used for deciding which vehicle to select in the occasion that there are more than 1 vehicle in a group.
In this explanation both vehicles have the same rate of spawn. [Spawn Rate =100]
If the first vehicle [infernus] has a probability of 100, and the second vehicle [banshee] has a probability of 10. The first vehicle has a 10 out of 11 chance of being chosen, and the second vehicle has a 1 out of 11 chance of being chosen, which would cause the second vehicle to be a lot rarer to see spawned. The same thing would occur if the first vehicle had a probability of 90, while the second vehicle had a probability of 10. That creates a 9/10 and a 1/10 probability for selecting either vehicle, though both vehicles spawn at a spawn rate of 100%. Lowering the spawn rate, will cause the vehicles to spawn a lot slower, but with the same probabilities. I hope that makes sense.
This confuses me, could you explain this any better?
For probabilities the script generates a random number from 0 to the total sum of all probabilities for all locations in the group. Since we have two locations with probabilities of 100 and 10, the sum is 110.
What happens is that`the script continuously generates random numbers based on the spawn rate, and if the random number is greater than 10 here, the other vehicle ends up being chosen. The spawn rate basically controls the speed of the script.
The Spawn Rate controls how often the vehicles spawn.
The Probability controls which vehicles are chosen to spawn.
For the most part, you don't need to worry about probabilities. This is a very advanced feature that can be used along-side spawn rates, which work very differently.
Extensive Testing has revealed the script to be for the most part very very stable. We have not encountered many bugs or issues that require fixing. We're still doing testing to ensure that this statement is factually true.
FAQ
My vehicles aren't spawning!
Make sure your vehicles have a spawn rate greater than 0, for testing purposes set it to 100 to ensure that the vehicles spawn very rapidly, all probabilities should be 100 by default, and is a more advanced feature for adjusting vehicle selections.