Project Zomboid

Project Zomboid

Kentucky Police Pack
hollaming 6 Oct, 2021 @ 6:01am
Bug report: Some vehicles' Base.xxxxx names are mispelled in distribution lua file
Hey dear author, when I tried to add cheat menu vehicle spawn support for your mod, I've found several case sensitive mistakes and wrong names in the distribution lua file.

Here is the list, in case you update it later.

VehicleZoneDistribution.parkingstall.vehicles["Base.92crownvicRosewoodcorrections"] = {index = -1, spawnChance = 0.03};

it should be "Base.92crownvicRosewoodCorrections"

VehicleZoneDistribution.parkingstall.vehicles["Base.87capricemaldraugh"] = {index = -1, spawnChance = 0.9};
VehicleZoneDistribution.parkingstall.vehicles["Base.92crownvicgreene"] = {index = -1, spawnChance = 0.4};

it should be Base.87capricePDmaldraugh, and Base.92crownvicgreenes

VehicleZoneDistribution.parkingstall.vehicles["Base.93explorerrook"] = {index = -1, spawnChance = 0.5};

This one doesn't work.

VehicleZoneDistribution.parkingstall.vehicles["Base.87capricerook"] = {index = -1, spawnChance = 0.6};

it should be Base.87capricePDrook

VehicleZoneDistribution.parkingstall.vehicles["Base.80f350ambulanceknox"] = {index = -1, spawnChance = 1};
VehicleZoneDistribution.parkingstall.vehicles["Base.86econolineambulanceknox"] = {index = -1, spawnChance = 1};

it should be Base.80f350ambulanceKnox and Base.86econolineambulanceKnox

VehicleZoneDistribution.ranger.vehicles["Base.87c10utilityparks"] = {index = -1, spawnChance = 6};

it should be Base.87c10utilityParks

----------

And there are several cars missing in the distribution lua file, which are
Base.92wranglercorrections
Base.86econolineRosewood
Base.87capricePDcorrections
Base.schoolbusPrison
< >
Showing 1-3 of 3 comments
chrisarmyknife  [developer] 6 Oct, 2021 @ 2:55pm 
Missing vehicles is of course a massive issue and ill get that sorted away within the week , as for the misspellings they are spelled the same as the script files for the cars.
The rook explorer was broken on purpose by me since the skin messed up and i had no want at the time to fix it. Ill fix the missing vehicles soon , but the names probably wont change , thank you so much for the bug report and for adding cheat menu support.
chrisarmyknife  [developer] 9 Oct, 2021 @ 10:26pm 
Should be fixed now
hollaming 9 Oct, 2021 @ 11:34pm 
Nice work!
< >
Showing 1-3 of 3 comments
Per page: 1530 50