Jump to content

Maris

Member
  • Posts

    244
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Maris reacted to Manta in garage door opens in half   
    https://map.projectzomboid.com/#0.7269108811919932,0.25575314891775264,413.58591258927

  2. Pie
    Maris reacted to Zhurgy in Loot settings diffrence right after starting game and then resuming it.   
    So here is the thing, if you do a sandbox setting with loot rarity diffrent then rare then after you reload a save the loot spawn is back to rare no matter what. I had a bug which didn't allow me to exit vehicle. So I did th eusual -> reloaded the safe, it turned me back 12h in time but staying at the same spot. Here is what I got from same place before and after (since loot respawned):

    Before reload (last bit went missing)/After reload
    Apple - 1/2
    Avocado - 5/1
    Banana - 4/2
    Bell pepper - 10/1
    Broccolli - 7/1
    Cabbage - 8/4
    Carrots - 12/1
    Cherry - 6
    Corn - 13/5
    Eggplant - 7
    Grapes - 7/2
    Leak - 11/5
    Lemon - 6
    Lettuce - 11/1
    Onion - 4/1
    Orange - 2/1
    Peach - 15/1
    Pineapple - 23/3
    Potato - 11/2
    Radish - 5
    Strawberries - 10/3
    Tomato - 3/1
    Watermelon - 11/1
    Worm - 4/1
    Zucchini - 8/1

    Total 204 items vs 40.

     Reloading for the second time after same bug occured removed my keys to the vehicle so I believe I'll rather wait till it's patched.
     
    After checking map_sand.bin the loot rarity values stay on same, regardless contnuing game, yet there is obvious and I'd say quite huge diffrent in amount of items from same spot which I Cannot explain.
  3. Like
    Maris reacted to MrHrulgin in Item state change doesn't respect partial consumption   
    In 41.21 If you eat 3/4 of the pack of ice cream, it'll be down to a bit more than 400 calories. If you then wait until it melts, the new melted ice cream item will have the full 1600+ calories in it again.
  4. Pie
    Maris got a reaction from elislavkat in Thanks!   
    I made some playtests.
    Just wanted to say that all is fine so far.
     
    It would be easier for me to find bugs if I knew the formula for calculating heat and other formulas in new mechanics (sewing, sweating etc).
  5. Like
    Maris got a reaction from Manta in Thanks!   
    I made some playtests.
    Just wanted to say that all is fine so far.
     
    It would be easier for me to find bugs if I knew the formula for calculating heat and other formulas in new mechanics (sewing, sweating etc).
  6. Like
    Maris reacted to Svarog in How do I edit the weapons stats and building recipes?   
    Files in C:\Steam\steamapps\common\ProjectZomboid\media\scripts\ called items.txt or newitems.txt Contain item code that controls item weight, you'll just need to find the item you want to alter and lower the Weight value.
    For clip size you can edit ClipSize value in the same file.
    Lastly, to change the "recipe" for buildable things you need to edit this file C:\Steam\steamapps\common\ProjectZomboid\media\lua\client\BuildingObjects\ISUI\ISBuildMenu.lua
     
    In it find this line
     
    if ISBuildMenu.countMaterial(player, "Base.Garbagebag") < 4
     
    Change it to
     
    if ISBuildMenu.countMaterial(player, "Base.Garbagebag") < 2
     
    I recommend using Notepad ++ for editing those files. Also, of course, I can't really recommend altering the game files, make a mod instead, otherwise every single update will restore the files to defaults.
    Changing that stuff shouldn't have a bad effect on your saves.
    If you need help making a mod let me know.
  7. Like
    Maris got a reaction from ilikecaterpillars in How to add custom skill?   
    I found a function in the API:
    AddPerk(PerkFactory.Perks perk, java.lang.String name, java.lang.String level1, java.lang.String level2, java.lang.String level3, java.lang.String level4, java.lang.String level5, int xp1, int xp2, int xp3, int xp4, int xp5, int xp6, int xp7, int xp8, int xp9, int xp10) But I can't use it. It exists in the game code but there is no examples how to use it. What strings are level1, level2, level3 etc? What should I give as first parameter?
    So I have to make injection directly into interface in a very strange manner:
    local function inject(u) local xp = u:getXp() local m = getmetatable(xp) local old_boost = m.__index.getPerkBoost m.__index.getPerkBoost = function(self, perk_type, ...) if perk_type == ClassCustomSkill then return 0 end return old_boost(self, perk_type, ...) end local old_mult = m.__index.getMultiplier m.__index.getMultiplier = function(self, perk_type, ...) if perk_type == ClassCustomSkill then return 0 end return old_mult(self, perk_type, ...) end m = getmetatable(u) m.__index.getXp = function(self, ... ) return xp end local old_level = m.__index.getPerkLevel m.__index.getPerkLevel = function(self, perk_type, ...) if perk_type == ClassCustomSkill then return perk_type.level end return old_level(self, perk_type, ...) end local old_up = m.__index.LevelPerk m.__index.LevelPerk = function(self, perk_type, ...) if perk_type == ClassCustomSkill then return perk_type:LevelUp() end return old_up(self, perk_type, ...) end end I'd like to avoid these dirty hacks and to start using normal API.
     
     
  8. Like
    Maris reacted to Okamikurainya in Where are distributions related to loot from zombies?   
    They're all stored in "ProjectZomboid\media\lua\server\Items"
  9. Pie
    Maris reacted to Sanchez in [24/7][PVP/PVE][RU/ENG] New Hope   
    IP: 93.91.163.29 Port: 16261
     
    Server description:
    New Hope is hardcore PVP russian server, recommended for expirienced players. Also it has PVE Zone (Shelter), several RP factions, and fixed spawn spot - KNOX Prison. New Hope Modpack includes some popular mods (Nolan's armor and traps, Immersive Overlays e.g.) and has own scripts, created and improved by server admins and players. Server was created at July 2017, active and experienced admins, discord support. Join us if you like hardcore and difficult tasks.
     
    Server settings:
    Xp multiplier - 1.0
    Loot respawn - 12 hours (real-time)
    Zombie respawn - ON
    Infection morality - blood and saliva (wild garlic ant antibiotics help and cure)
    Destruction by sledgehammer - OFF (call admins if you need to destroy walls)
    Fire spread - OFF (prevention of cheating)
    Factions - ON (day survived to create - 0)
    Safehouse - ON (faction leader only)
    Max accounts per user - 1 (admins create additional account for roleplay and events if you need it)
     
    Balance settings:
    Cold climate, farming plants don't grow if temperature below 0.
    Shorted foraging season: may-semptember for forest food, june-augus for medical plants.
    Cold and high temperature, depression (moodles), toxic rain - hurt your health.
    Zombie settings: fast shamblers, superhuman strength, tough, eagle sight, normal hearing, poor smell.
    Poor loot respawn, no fresh food, no sledehammer, zombie loot - almost trash.
    Special [resource spots]: gas, propane, components - once per game day.
    Extended craft: smithing, weaving, skill books, pills (and antibiotics), industrial craft and more.
    Useful professions: trapping for feathers and leather (arrows and armor craft), fishing for glue, cooking (sugar, vinegar, alcohol, weight control) and so on.
    Faction leader creates safehouse, 40 building squares per faction member.
    Fixed spawn zone - Prison. You should works for cigaretts and pay for prison escape. Local RP factions [KNOX] - jailers, [ABT] - prisoners.
    Shelter PVE zone - helpful beginner quests, trade, jobs, located near West Point [Picnic Area].

    Discord
    Steam server guide (RU)
    Online players and statistics


  10. Spiffo
  11. Like
    Maris reacted to Pandorea in CLH - Russian Retexture | КЛХ - Русские Ретекстуры   
    "Specials" - (generally) foods that are prepared and served daily and may not be available any other day or foods that this particular place specializes in (sorry, haven't got Russian keyboard  )
  12. Spiffo
    Maris reacted to Tiax in Some food items take an unreasonable amount of time to eat   
    From checking the LUA, it looks like smaller food items (based on "hunger" value) will always be forced to the same consumption time as cigarettes:
     
    steamapps\common\ProjectZomboid\media\lua\client\TimedActions\ISEatFoodAction.lua
    o.maxTime = math.abs(item:getBaseHunger() * 150 * o.percentage) * 8; if o.maxTime > math.abs(item:getHungerChange() * 150 * 8) then o.maxTime = math.abs(item:getHungerChange() * 150 * 8); end -- Cigarettes don't reduce hunger if o.maxTime < 100 then o.maxTime = 450 end  
    I published a small mod to fix it on the Steam workshop, if you cannot wait for an official fix: https://steamcommunity.com/sharedfiles/filedetails/?id=1902015925
  13. Pie
    Maris reacted to lichterloh in Some food items take an unreasonable amount of time to eat   
    Did some experimenting. There's usually a good correlation between hunger reduction and eating time, except for food with less than 10 hunger reduction:
     
     
    Food Item Hunger Time Mint Candy 2 9s Cherry 3 9s Radish 3 9s Cookie 5 9s Pickles 5 9s Processed Cheese 5 9s Strawberries 5 9s Sunflower Seeds 5 9s Raspberry Shortbread 7 9s Bell Pepper 8 9s Carrot 8 9s Peanuts 8 9s       Lemon 10 2s Modjeska 10 2s Tofu 10 2s Yogurt 10 2s Zucchini 10 2s       Candy Cane 10 3s Leek 12 3s Tomato 12 3s Corn 14 3s Lettuce 15 3s       Waffles 15 4s Banana 17 4s       Pancakes 20 5s       Pineapple 25 6s SandwichTomatoLettuceHamPickles 36 9s Watermelon 60 15s
     
     
    It's as if the low hunger items are eaten too fast for the animation system so it falls back to a default value?
                                                                                                                                                                                                             
  14. Like
    Maris reacted to ZonaryQuasar in Some food items take an unreasonable amount of time to eat   
    Can confirm that this is happening, without head wounds.
  15. Like
    Maris reacted to lichterloh in Some food items take an unreasonable amount of time to eat   
    Some (low hunger) food items take an unreasonable amount of time to eat. Notably it appears to take longer to eat a Cherry, Strawberries or Radishes than a full Can of Beans or a whole Pineapple.
  16. Like
    Maris reacted to dydimos in Add options to "clothingItem"   
    Looking at a mod that modifies a swimsuit in the workshop, I realize that just by specifying the address of the image and having the name correctly you can modify an image using a mod, without having to go to the directory and do it manually.
    I would like to know if there is any way to add options for example to the file:
    Bag_SchoolBag.mxl
    In its section: "clothingItem"
    <textureChoices> schoolbag_black </textureChoices>
    <textureChoices> schoolbag_blue </textureChoices>
    <textureChoices> schoolbag_spiffo </textureChoices>
    through some code in a mod so you can put more than one "skin" customized from that BAG

    thank you.
  17. Pie
    Maris got a reaction from Pandorea in ISBaseObject bug   
  18. Like
    Maris reacted to Decay in [41] Lethal tree scratches   
    I was being chased by a horde in the suburbs of Muldraugh, so I jogged through some trees to try and lose them and got a small cut on my neck and nearly bled out within three minutes, the damage that accumulates from minor scratches on your neck is horrifying and feels unbalanced.
     
     
  19. Like
    Maris reacted to Tonzint in IWBUMS Build 41 - Broken glass related exploit/bug   
    If you stand on broken glass without shoes (and socks) glass shards get stuck on your feet that need to be removed with tweezers or by hand. Once you remove the glass shards, new ones get applied immediately. You can park your character on top of the glass shards and keep on removing glass from the feet to get first aid xp. The damage taken from standing on the glass is quite minimal so it is possible to have your character standing on the broken glass for long time.
  20. Like
    Maris reacted to Pandorea in Is it possible to make custom debuffs in version 41?   
    Not as far as I know. All available debuffs are listed in Traits/Occupation section on char creation screen.
  21. Like
    Maris got a reaction from Okamikurainya in Failure to work twice   
    local function addItems(id) local player = getSpecificPlayer(id); -- Java: get player which is just created local inv = player:getInventory(); -- Java: access player inv -- Java: add the actual items to the inventory inv:AddItem("Base.Axe"); inv:AddItem("Base.RippedSheets"); inv:AddItem("camping.TentPeg"); end Events.OnCreatePlayer.Add(addItems); OR
    local function addItems(id, player) if not player then return end -- just for sure local inv = player:getInventory(); -- Java: access player inv -- Java: add the actual items to the inventory inv:AddItem("Base.Axe"); inv:AddItem("Base.RippedSheets"); inv:AddItem("camping.TentPeg"); end Events.OnCreatePlayer.Add(addItems);  
  22. Like
    Maris reacted to Dr_Cox1911 in [ANSWERED] Error Log file location   
    Do you know the Zomboid folder? The location of this folder ist different for each OS, for Windows it is in your User folder.
     
    In there you find a console.txt, in there are the errors.
  23. Like
    Maris reacted to Josko in CLH - Russian Retexture update 7| КЛХ - Русские Ретекстуры обновление 7   
    Wow! Amazing! Now I can roleplay that zomboid is located in russia
  24. Pie
    Maris reacted to Хибити\Hibiti [BLR] in CLH - Russian Retexture update 7| КЛХ - Русские Ретекстуры обновление 7   
    EN:
    Club Lord of the Proboscis Represents: Supplement for mod CLH - RUS Translite (People's Russifier for Project Zomboid).
     
    - Spent a lot of time to completely redraw all readable textures.
    - Thank you so much for the help with the "word play", as well as with the explanation in the text packaging and the provision of a test card - VikiDikiRUS (Steam: Matrioshka).
    - Thank you for helping with the TruBlueBerry translation.
     
    And  thanks to the whole PZ community.
     
    I will always monitor its performance and timely updates.
     
    Download Steam
    Download GOG
    RU:
    Process | Процесс
  25. Like
    Maris reacted to SpaceTaco in Build 41 Clothing Modding   
    Thought I would take a look at a simple clothing retexture mod. I can work out most everything but the last couple steps to keep it from being a hack job.
    Only a few new steps here from a standard item mod.
     
    Create the item definition: 
      <User Folder>\Zomboid\mods\<MyMod>\media\clothing\<MyMod>.txt
    Create a texture image for the 3D character model: 
      <User Folder>\Zomboid\mods\<MyMod>\media\textures\Clothes\<subfolder>\<itemName>.png
    Create an inventory icon 32x32: 
      <User Folder>\Zomboid\mods\<MyMod>\media\textures\Item_<itemName>.png
    Create the model\texture\tint\GUID references: 
      <User Folder>\Zomboid\mods\<MyMod>\media\clothing\clothingItems\<itemName>.xml
    Attach the item to some distribution (place it in the world), the new ProceduralDistributions have a bit less boilerplate than the old SuburbsDistributions.
      <User Folder>\Zomboid\mods\<MyMod>\media\lua\server\items\<MyMod>_distributions.lua
     
    Finally, you need to have a GUID to clothing model reference placed in fileGuidTable.xml. I have found no way to inject this from a mod, I could 
    only get it working by adding the reference directly to the game file:
      <game install>\media\fileGuidTable.xml
    Anyone know a way around this? Also, if I want the clothing item to be worn by zeds, I need to edit the game file:
      <game install>\media\clothing\clothing.xml
    I'd love to have a way to inject\replace XML in those files from the mod. That or some back door lua script way.
×
×
  • Create New...