Search the Community
Showing results for tags 'Item'.
-
As anyone who wears glasses on the daily can probably attest to; while you don't need to wash your eyes, you do need to wipe off your glasses every now and again. With enough grime (or blood in this case), glasses eventually aren't much better than going without. HOWEVER, I will say this; many people have imperfect vision without needing glasses, so sometimes someone that needs glasses can have better vision than someone without. When I get a perfect prescription, the amount of detail I can make out in distant objects is honestly a little overwhelming. So in a sense, I'm thinking that nearsighted could be beneficial in some respects and more in line with eagle eyed so long as you keep them clean (and maybe have a pair with the right prescription?). I'd also remove the 2.5% foraging range malus from the glasses as when you're used to wearing glasses you very effectively filter out the brim. This would be in keeping with traits like hearty appetite or smoker, hearty appetite giving foraging enhancements and smoker massively improving cigarettes in exchange for a bit more management. While I don't think you should end up hitting one zombie or standing in the rain for a few seconds and getting dirty glasses, it would be neat to manage every couple days. If this were to be implemented, though, I'd suggest making rubber bands usable to add a strap to glasses so they don't fall off. A proper glasses strap would be nice too but I like adding uses to junk.
-
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?
-
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.
-
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, }
-
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)
-
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!
-
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.
-
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.
-
-
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.
-
-
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:
-
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.
-
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.
-
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.
-
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!
-
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
-
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.
-
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)
-
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.
-
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
-
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.
-
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.
-
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.
-
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?