Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
In there, find this:
Each line beginning with "DriveCarsCMAX =" is linked to your "Other Loot" rarity setting for your game. As per the comments, the first one is "Abundant", and the last one is "Very rare". The number for "DriveCarsCMAX" is the chance that a car appears on each road/concrete tile, higher is rarer. In the example above, in "Abundant", each tile has a 1/200 chance to spawn a car. In "Very rare", it's 1/4200 chance to spawn a car.
Adjust to your preference. :)
In there, you'll have to modify the numbers in those 2 functions ("getAcc" is the acceleration, and "getTopSpeed" is the top speed). The last number after the "else" is the default for any car not listed above (0.032 for acceleration and 0.50 for top speed):
In the same file as the car spawn rate ("CarsLoading.lua" in "mods\Drive Cars\media\lua\server" folder), you'll find, almost at the beginning, a long long list of loot for each car (broken and non broken version). Each car's loot table will look like this:
rolls=5 is the number of times to roll an item on this table. This is increased/decreased by the loot rarity setting in your game.
fillRand=5 is the chance that a roll will give an item (I think). I think it means 1/5 chance to get an item. Higher is rarer chance, lower is better chance, and 0 means it's always going to give an item for each roll.
"Base.XXX", Y is the item type, and the "weight" for this item. Basically, add all the weights together, and each item has a Y/TOTALWEIGHT chance to be picked with each roll. Higher means the item is more likely to appear, lower is rarer.
Just modify those lines for each car, to only leave the loot you want. If you want no loot at all in the cars, except the key (which is created in another part of the code), then just delete all the lines between
and
Hope this helped! :)