Project Zomboid

Project Zomboid

The Last Of Guns [B41][Discontinued]
lawsen 23 Jul, 2023 @ 12:56pm
How to remove vanilla guns from spawning?
I would love to play with these weapons exclusively, and so I don't want the other (vanilla) guns in the game to spawn in, is there a way to disable them all?
< >
Showing 1-5 of 5 comments
AshleysZombie  [developer] 23 Jul, 2023 @ 4:11pm 
Its in the sandbox settings of the mod
Nik  [developer] 24 Jul, 2023 @ 1:33am 
As my friend said, however remember that some items might have slipped throught and still spawn ( im still learning about distribution). Ive tried my best and i might try to improve that option in the future.
lawsen 24 Jul, 2023 @ 3:14am 
thank you guys for letting me know!
76561199022497415 10 Jun, 2024 @ 5:42am 
May I know how to get vanilla guns back?

The submod is disabled but still got the message below: "InventoryItemFactory.CreateItem() cannot create item: registryID = 249,fulltype = "Base.Pistol2",modID = "pz-vanilla",existsAsVanilla = true,isModded = true,obsolete = true,removed = false,modOverrides = 0,
LOG : General , 1717998564343> 19,427,752,695> InventoryItem.loadItem() item == null, skipped bytes. itemtype: Base.Pistol2"



This script below was tried but still not work:

getScriptManager():getItem("Base.Pistol2"):DoParam("OBSOLETE = FALSE")


Is there any way to fixe it by edit WorldDictionary.bin ?
The content in WorldDictionaryReadable.lua :
{
registryID = 249,
fulltype = "Base.Pistol2",
modID = "pz-vanilla",
existsAsVanilla = true,
isModded = true,
obsolete = true,
removed = false,
},
76561199022497415 10 Jun, 2024 @ 8:30am 
Nevermind, I find the solution. Download Hex Fiend and update the hex code 06 to 00 after the word Pistol2.
< >
Showing 1-5 of 5 comments
Per page: 1530 50