Jump to content

Search the Community

Showing results for tags 'Item'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News & Announcements
    • News
  • Project Zomboid
    • PZ Updates
    • General Discussions
    • Bug Reports
    • PZ Support
    • PZ Multiplayer
    • PZ Community & Creativity
    • PZ Suggestions
  • PZ Modding
    • Tutorials & Resources
    • Mods
    • Items
    • Mapping
    • Mod Ideas and Requests
  • General Games Development
    • Indie Scene
  • Other Discussions
    • General Discussion
    • Forum Games & Activities

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







  1. I have insectiphobia and I'm trying to create a mod that replaces the names and icons/models of all the bugs in the game with "fish food." I'm completely new to modding Zomboid so I found some related posts but no definitive answer, and using the recommendations to those questions, I came up with my own mod, but it's not working. I started by creating a mod folder with mod.info, poster.png, and a media folder in my User/Zomboid/mods folder. Inside the media folder are scripts and textures folders. In scrpits, I have a script called replace.txt, and in textures I have Item_FishFood.png. So the file structure can be written like this: I'm doing a test with chips because they're a food and included in the starter kit. I've been testing variations, ex: I used the base module, changed the display name, icon, and world static model parameters, and added the override parameter, but left all the other information the same as base game. I enabled the mod in game and have been testing it by creating new save files with the starter kit option checked, but every time I load in I still see "Chips" and the chip icon. Any ideas on how I can get it to work?
  2. The lighters in the game resemble Zippos which are refillable in real life but not in the game. I think in the game there should be a bottle of lighter fluid you can use to refill your lighters. That way you don't have to lug around so many lighters. Basically this would require the lighters don't disappear when they're used up. To refill you could right click the lighter in your inventory and select refill and if you have a bottle of lighter fluid the character would automatically refill the lighter. Right clicking the lighter fluid bottle could also give you a menu for refilling the lighters. Lighter fluid could be found in places such as houses, convenience stores, grocery stores, etc. The player could also dump it around and light it on fire and lure zombies into it. Hopefully you'll also be able to do the same thing with gasoline.
  3. Good time of day, faced with one problem when modding I added one item that has a poison flag. However, if I craft it, it does not show its poisonous properties. But if I add it via the console, then everything is fine. What can it be related to? Does anyone know? As always, code is pasted below items.txt item poisbottle { DisplayName = poisbottle, DisplayCategory = Poison, Type = Food, CustomContextMenu = Drink, ReplaceOnUse = Base.BottleEmpty, Poison = true, PoisonDetectionLevel = 7, PoisonPower = 150, UseForPoison = 35, Weight = 1, Icon = poisbottle, CookingSound = BoilingFood, IsCookable = TRUE, UseWhileEquipped = FALSE, WorldStaticModel = poisbottle, MinutesToCook = 60, ReplaceOnCooked = POIS.poisbottle2, Tooltip = Tooltip_PoisBottle } recipes.txt recipe cook poison { Base.BottleEmpty, POIS.comp1, POIS.comp2, keep Base.Spoon, Result: POIS.poisbottle, Time: 200, Category: Poison, }
  4. While coding my mod I faced with another problem. I'm trying to make a character say a phrase when dressing a certain item. I tried to implement this with Events.OnClothingUpdated.Add(). When this event was called, it was checked whether this item (CI141.KRNDHazmat) was dressed. I did this through a method getBodyLocation() ~= "". But every time it gave an error. I suspect that the problem is that item CI141.KRNDHazmat belongs to a different class, but getBodyLocation() method belongs to the class Clothes. But no matter how hard I tried, I couldn't determine the class of the object CI141.KRNDHazmat. I need help from someone who understands. I paste code below. Script [media/scripts/CI141_items.txt] item KRNDHazmat { DisplayCategory = Clothing, Type = Clothing, DisplayName = KRND Hazmat Suit, ClothingItem = CI141_KRNDHazmat, BodyLocation = FullSuitHead, Icon = KRNDHazmat, BloodLocation = Trousers;Jumper, Icon = Hazmatsuit, RunSpeedModifier = 0.75, ScratchDefense = 25, BiteDefense = 25, Insulation = 0.65, WindResistance = 0.9, WorldStaticModel = Hazmat_Ground, } the .xml file works fine, so I don't see the point in attaching it here LUA [media/lua/client/CI141_maincore.lua] function HazmatvoiceFc(player) local hazmat = "CI141.KRNDHazmat" if player:getInventory():contains(hazmat) then if hazmat:getBodyLocation() ~= nil then <- Error comes from this line player:Say("TESTPHRASE") end end end Events.OnClothingUpdated.Add(HazmatvoiceFc)
  5. The current methods of seeing in the dark in the game aren't that effective. I mean flash lights, lighters and matches don't last very long plus they all have to be held in one hand so you can't use 2 handed weapons. They also attract zombies. What if you had a hands free solution in the form of night vision and/or thermal vision goggles? I mean you find some off of a military supply depo or some tactical civilian and now you can see in the dark! Also you wouldn't attract zombies. The goggles each have a different feel to them: the night vision ones make everything look all green and grainy and the thermal ones make everything look all rainbowy or just black and white. It's up to the player to decide which one works best for them. Also they'd require a battery. It'd be so cool seeing the 1993 Kentucky landscape through grainy green googles or rainbowy thermal vision googles! Imagine a zombie being all colorful! Also you could spot those hostile npcs and animals easier too!
  6. I think it'd be nice to be able to lock pick in the game like for car doors as well as regular doors. I think this mechanic could be some kind of lock picking skill that you'd improve from picking locks as well as boost through lock picking books. Maybe there could even be a locksmith occupation that gets you started on the functional capabilities of said skill. Perhaps the skill could also be in the burglar occupation. I think for the tools needed it'd be standard lock picks or maybe you could even make some out of the paperclips you find in the game. For starters, It'd be nice to be able to unlock a car without having to find the key or smash the window in addition to hotwiring it. As for doors it'd be nice being able to get in the building without having to find the key or bash my way in through said door or other entrance. For padlocks it'd be nice to get through those too. I guess for the mechanic to work, with all the proper items and skills in hand you'd right click the you want to lock pick and select "pick lock" and the progress meter would fill up as you pick the lock. It will take a few tries until success and fewer tries and faster ones as you level up.
  7. Im new into Project zomboid modding, I had modding experience with some paradox games before but Never tried Project Zomboid, I want to make a mod wheere Im going to add new recipes to make certain uniqe foods, for example, From İtalian Culture; Risotto Alla Milanese, Polenta, Ravioli, Ribollita etc, From Turkish Culture; Yayık Ayran, of course famous Baklava, Döner, Tuz Kebap, Kuyu Kebap, Lahmacun etc. In brief Im trying to tell that I want to make a mod that adds dishes from different cultures ( Obviously first gonna add my own favorites ) But I have no experience with modding in this game and I dont even know wheere to start.
  8. 41.65 Singleplayer No mods Perhaps someone accidentally scaled down the model too much?
  9. 41.65 Singleplayer No mods Steps to reproduce: Wear Long Socks Wear Boots of any kind with 100% condition Go hug some zombies (don't stomp them just in case) Long Socks get bloodied through boots, despite them being completely covered. I suppose this is because these socks technically cover lower legs, but boots do not.
  10. 41.65 Singleplayer No mods Steps to reproduce: Cook a rotten egg →
  11. 41.65 Singleplayer No mods Steps to reproduce: Attempt to Place Item: Magazine (also TV Magazine?), HottieZ, Newspaper For some reason these items' 3D models are offset by 1 tile, as shown on this screenshot:
  12. 41.65 Singleplayer No mods Steps to reproduce: Wash clothing using any water source When I use up all my Soap it doesn't disappear, a fully drained piece remains in the inventory. Probably the same happens with the Cleaning Liquid.
  13. 41.65 Singleplayer No mods Steps to reproduce: Loot Cupboards "PaperBag" item doesn't have an icon. So far each instance was found inside a Cupboard.
  14. As you can see, in the inventory, the helmet is depicted with a flashlight, but it does not work. At the same time, the helmet itself is displayed without a headlamp.
  15. Hello and thanks for reading this post (My english skill is really weak, sorry for that) Thats my problem -> I'm trying to add "1% chance drop a "Goldcoin" " to zombies, (goldcoin is a new item already created by myself) I finish the Goldcoin script, but still I have no idea about how to modify the zombie drop rate list... maybe i need modify something in.... ProceduralDistributions or SuburbsDistributions but I dont know how to exactly do that... if some hero could helpme I will be really gratefull (also I dont know how to set the percent chance to 1% ProcedualDistributions use numbers like 0.05 im really confuse about that.) Have a good day and thanks for your time!
  16. I already wrote about this in discord, but probably the message was missed. When new Bucket Hat appears in the world (you drop it on floor or zombie knocks it off your head) - this causes a lot of repeated errors: ERROR: General, 1592632584064> RenderThread.logGLException> OpenGLException thrown: Invalid operation (1282) ERROR: General, 1592632584064> RenderThread.logGLException> Stack trace: ERROR: General, 1592632584064> org.lwjgl.opengl.OpenGLException: Invalid operation (1282) ERROR: General, 1592632584064> at org.lwjgl.opengl.Util.checkGLError(Util.java:59) ERROR: General, 1592632584064> at zombie.core.opengl.PZGLUtil.checkGLError(PZGLUtil.java:42) ERROR: General, 1592632584064> at zombie.core.skinnedmodel.shader.Shader.setLight(Shader.java:406) ERROR: General, 1592632584064> at zombie.core.skinnedmodel.model.WorldItemModelDrawer.render(WorldItemModelDrawer.java:213) ERROR: General, 1592632584065> at zombie.core.textures.TextureDraw.run(TextureDraw.java:326) ERROR: General, 1592632584065> at zombie.core.SpriteRenderer$RingBuffer$StateRun.render(SpriteRenderer.java:1157) ERROR: General, 1592632584065> at zombie.core.SpriteRenderer$RingBuffer.render(SpriteRenderer.java:1098) ERROR: General, 1592632584065> at zombie.core.SpriteRenderer.lambda$buildStateDrawBuffer$0(SpriteRenderer.java:342) ERROR: General, 1592632584065> at zombie.GameProfiler.invokeAndMeasure(GameProfiler.java:135) ERROR: General, 1592632584065> at zombie.core.SpriteRenderer.buildStateDrawBuffer(SpriteRenderer.java:341) ERROR: General, 1592632584065> at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37) ERROR: General, 1592632584065> at zombie.GameProfiler.invokeAndMeasure(GameProfiler.java:135) ERROR: General, 1592632584065> at zombie.GameProfiler.lambda$invokeAndMeasure$0(GameProfiler.java:165) ERROR: General, 1592632584065> at zombie.util.lambda.Stacks$Params4$CallbackStackItem.invoke(Stacks.java:286) ERROR: General, 1592632584065> at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26) ERROR: General, 1592632584065> at zombie.util.Lambda.capture(Lambda.java:121) ERROR: General, 1592632584065> at zombie.GameProfiler.invokeAndMeasure(GameProfiler.java:163) ERROR: General, 1592632584065> at zombie.core.SpriteRenderer.postRender(SpriteRenderer.java:322) ERROR: General, 1592632584065> at zombie.core.opengl.RenderThread.lambda$lockStepRenderStep$2(RenderThread.java:300) ERROR: General, 1592632584065> at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) ERROR: General, 1592632584065> at zombie.core.opengl.RenderThread.lockStepRenderStep(RenderThread.java:300) ERROR: General, 1592632584065> at zombie.core.opengl.RenderThread.renderStep(RenderThread.java:270) ERROR: General, 1592632584065> at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) ERROR: General, 1592632584065> at zombie.core.opengl.RenderThread.renderLoop(RenderThread.java:138) ERROR: General, 1592632584065> at zombie.gameStates.MainScreenState.main(MainScreenState.java:220) In this case, the Bucket Hat visually remains hanging at the level of the character's head. Sometimes during the battle this is accompanied by strong graphic bugs, which can be fatal for the hat owner. BucketHat-bug console.txt
  17. Hello, I would like to suggest 'wire clamps' to be added to the game. It is a simple tool which consumes wire, and be used to reinforce your weapons or tools to increase its durability. A wire clamp works by threading and twisting wire around any object which you would like to secure. The result is a coil of wire which has a really tight grip around the object. I know I probably did a bad job explaining how it works but I found a video which shows how it can be used clearly: Thank you and I would like to hear you thoughts.
  18. Dr_Cox1911

    Coxis Shop

    Greetings, I was looking into the Last Stand shop system the last couple of hours and "built" a version for SP/MP. It´s not really a mod written by me, mora straight copy from RJ´s code. Hope it´s OK RJ What´s the mod for? Coxis Shop gives you money for each zed killed. With said money you can then buy gear/skills. Quick look: Does this work in MP/Splitscreen? I´ve tested it with dedicated server and it worked, hosting through the main game is not support currently. I didn´t had the chance to test it in splitscreen, but it should give both players money when one of them kills a zombie. What language is supported? The mod currently supports german and english. Can I configure the items/skills available? As of version 1.2.0 yes, you can! Atleast for the items, skills are not configurable just now. Apart from the items you can set the amount a player receives and on what probability. If you use the mod in MP the settings made on the server will be transmitted to the client upon connecting. After you have changed something you need to restart the server. Here is a short description on how to configure the mod: Can I improve the mod? Of course you can! The mod is available on Github, please feel free to extend the mod, just keep in mind to share the changes with everyone. Changelog: Link to Github) DOWNLOAD WORKSHOP DOWNLOAD (CoxisUtil)
  19. This is weird, sometimes sound playing and sometimes not... it's a cooldown feature or bug? i remember builds ago sound playing ever when select another itemcontainer. This happen on SP, not tested in MP.
  20. So i made a mod that adds a torch to the game. https://steamcommunity.com/sharedfiles/filedetails/?id=1542069453 Its is basically a torch that emits light around you in a circle and it depletes overtime, now I want to be able to trow it to start a fire. Problem is I can't because it is a "drainable" item, when I change it to a "weapon" it is trowable but it doesnt get depleted anymore? how can I make it trowable and still get drained when its being used. In the picture you can see how i tried to resolve it and how its currently set up. by giving it 2 item types it turns into blooo
  21. Cooking an item that has both ReplaceOnUse and ReplaceOnCooked item values closes the game and goes back to the main menu. In my opinion ReplaceOnUse should simply be ignored for this case. As an example you fill a cooking pot with food, and you want it to turn into a separate item when cooked, both the original and the resulting item should have ReplaceOnUse = Pot but right now if the original item has that line it causes the bug.
  22. Can we have that map item functionality for other items, but without the mark system? It would be nice for immersion, like newspapers and magazines maybe other things. I'm sure modders would find interesting ways to use this mechanic.
  23. The idea is to mod the base campfire so that it cannot be walked over. I want to have a campfire down in use with the survivors mod but without them walking into it and burning to death. Ideally, when the campfire itself is placed on the ground, you can toggle the protection on or off. I can do graphics, just not the coding. I was thinking the base campfire and a tall campfire; like in the walking dead when they build it up with stones to hide the light. Same effect, but it protects the survivors from burning down my camp / safehouse / map. Some advice on where to look maybe or how to make it happen, I can do the graphics.
  24. we all know 'suicide' is an option in a zombie apocalypse. and since the game devs add some corpse with guns and ammo(which seems like they suicide by their guns), how about the mod that add some more hanged-corpse? might be need some new 3d-model i guess. it'll be more 'apocalypse like' i think. and if 'everyone infected' option is on, the hanged one will turn into a zed. so, how's that?
  25. Lewd Literature Mod Renames all skill books and magazines with sexual innuendos and double entendres. I thought that the descriptions like "Fishing for Beginners" and "Intermediate Electricity" were very boring. So I renamed all the book titles to something more... interesting. This mod renames every skill book and skill magazine with a suggestive title, as well as renaming the newspaper, magazine, and comic book. All of the skill books, as well as the newspaper, magazine, and comic book have a mouseover text (tooltip) added as well (but not to skill magazines). Obvious warning for sexual content. Also objectification (of males and females, that's fine, right?) Please let me know if you find any mistakes, if you have suggestions for alternative titles / tooltip text, or if my mod becomes out of date with the latest version of Zomboid. If you have a mod that adds skill-books, I would also be happy to work with you to create a version of this mod that works with yours / incorporate this into your mod. (This is my first mod submitted here! Let me know if I've done things the right way) ---------------- Download Directly: LewdLiteratureMod.zip Download on PZ-Mods: Lewd Literature Link EDIT: New logo (this or something similar will probably be used as the logo in later versions of the mod):
  • Create New...