Jump to content

leorpd

Member
  • Posts

    6
  • Joined

  • Last visited

leorpd's Achievements

  1. I found a way to unpack various items, I'll figure it out.
  2. Hello! I'm just starting to create mods until I was able to make a 3D model and added an item to the game. Can you tell me where you can see the information on setting up the spawn of a new item. I realized that I need to place the file \media\lua\server\items\ I looked at other mods, but I didn't quite understand how it works. I made a container in which things should spawn like in the Sewing Kit as I understand it, I need to write something like this code for this MRE = { rolls = 1, items = { "item1", 200, "item2", 200, "item3", 200, "item4", 200, "item5", 200, "item6", 200, "item7", 200, "item8", 200, }, finland = 0, }, I wanted to make it as a recipe, it's much easier there. But as I understand it, it will not work to get different items when unpacking. For this reason, I had to do it as a container. I realized that the file should contain (example) table.insert(SuburbsDistributions["conveniencestore"]["shelves"].items, "MRE"); table.insert(SuburbsDistributions["conveniencestore"]["shelves"].items, 0.1); table.insert(SuburbsDistributions["fossoil"]["crate"].items, "MRE"); table.insert(SuburbsDistributions["fossoil"]["crate"].items, 0.1); but I want to understand what is responsible for what and the correct file structure to avoid errors. Thank you and sorry if the question was stupid.
  3. Hello, thank you for this guide. Please tell me if it is possible to change the spawn of loot. Namely, to make it like in Dayz. So that there are not many items (do less than in the "very little" settings), but they respawn, for example, every 30 minutes real time(the game allows you to add loot every game day at least). And the lost that the survivor did not touch for a long time was replaced with another one. This would be very convenient on servers and solved two problems. 1) When a new survivor appears and can't find anything to survive. 2) There will not be a situation where the fastest survivor collected a lot of different weapons and ammunition at one time from a gun store or a police station. Thanks. P.S. Sorry if the question is stupid, I'm just learning modding and my English level is not high.
  4. @bulwulff Thank you very much for the information! I've been looking for something on this problem for a long time!
  5. Addition: The goal is to remove clean water from all buildings or replace it with dirty water.
  6. Good day survivors! I recently began to be interested in creating mods, so I apologize if my question turns out to be stupid. I want to increase the difficulty of extracting clean water. Unfortunately, I can't find the desired parameter. I was prompted that maybe it is not in Lua, but in Java. Has anyone found it or can tell you in which direction to look. Thanks. P.S. This is my first post on the forum. I want to thank the developers for the best game about survival in the zombie apocalypse. =/= Добрый день, выжившие! Я недавно начал интересоваться созданием модов, поэтому прошу прощения, если мой вопрос окажется глупым. Я хочу увеличить сложность добычи чистой воды. К сожалению, я не могу найти нужный параметр. Мне подсказали, что, возможно, это не в Lua, а в Java. Кто-нибудь находил его или может подсказать в каком направлении искать. Спасибо.
×
×
  • Create New...