Jump to content

Zheo

Member
  • Posts

    36
  • Joined

  • Last visited

Profile Information

  • Gender
    Man

Zheo's Achievements

  1. What you think is a kind of basement. mrzjadacz means just a fridge with a texture like a hole to put stuff into. But i have to say that your first sentence - - is really confusing
  2. that's how I had it set up and wasn't working. Is that the only file I need to edit? I'll keep toying with it.Thanks again I think you need to declair the item "Crossbow bolt" at first. In my opinion you need something like this (Quote from my Crossbow mod): item bolt { Count = 1, Weight = 0.1, AlwaysWelcomeGift = TRUE, Type = Normal, DisplayName = Bolt, DisplayCategory = Ammo, Icon = cz_Bolt, }recipe Create Bolt { WoodenStick, Feather=2, SharpedStone/Stone, keep KitchenKnife/HuntingKnife/Scissors/ButterKnife, Result:bolt=1, Time:15.0, OnCreate:putInBox_OnCreate, }
  3. Zheo

    scripts and lua folders

    Every file in scripts does something except for distribution files, they are obsolete. items.txt newitems.txt recipes.txt uniquerecipes.txt camping.txt farming.txt fixing.txt All those files contain item\recipe\fixing code and are used by the game. If you modify them, the effect will be visible in game. Sometimes not immediately but after creating a new world. Arent the distribution files for the loot location? I thought you need to set the distribution of items to make it able to find new ones ..
  4. Its definitely more complicate than a simple % chance.. The itemspawn chance change with the loot setting in the config. So the number just seems to be a multiplier on a "complicate" loot-function
  5. Zheo

    Hydrocraft Mod

    I would prefer some cats instead of dogs But looking good anyway
  6. Yea it seems to be a very nice tool. I already wrote a message to RyuuDZ - Maybe he is interested in add those features into his tool. I really want to get "mod-beginners" a little bit closer to modding with such tools.
  7. Im thinking about an external modding tool.. In the last 2 weeks im trying to mod a bit i always asked myself: Why does no tool exists like visual studio where you can create a project (mod) with all folders you need for modding? The most irritating situations for me were always the following: Get to my user/PZ/mod folder (much clicks and wasting time)Get to the Steam/PZ folderManually versioningManually backupsManually zipping or raring (.zip/.rar)and the most anoying i think: No bookmark-function to remember where are specific PZ .lua files and what they are good for... Would somebody be interested in such a tool?
  8. Zheo

    [HELP] Vehicle mod

    I cant help you with my actually modding knowledge, but ive just a little idea for that. In my opinion it would be a nice idea to "drive" between the citys - if you have to spend fuel for it! It would be to easy to travel this way without any offer
  9. Or do you mean the 3D models?
  10. Well.. i think paint isn able to use transperency so forget that programm Photoshop is the best in my optinion to create 2D graphics.. So i dont have any other idea to your problem o.O
  11. I dont know if its necessary but i think you have to include the correct classes first: require('NPCs/MainCreationMethods');require('NPCs/ProfessionClothing');After it you create a function wich you can call in a ingameEvent like this: local function initProfessions() local var = ProfessionFactory.addProfession("newprofession", "ProfessionName", "Profession_PIC", 2); newprofession:addFreeTrait("NightOwl"); newprofession:addFreeTrait("Desensitized"); newprofession:setDescription("Night Owl<LINE>Desensitized");endEvents.OnGameBoot.Add(initProfessions);
  12. Try this folder: GAMEDIR\Steam\SteamApps\common\ProjectZomboid\media\lua\shared\NPCs\MainCreationMethods.lua There you should find some traits like: securityguard:addFreeTrait("NightOwl"); or veteran:addFreeTrait("Desensitized");
  13. the most failure i would say are: - wrong data-type (the most are .png in PZ i think) - forgotten transparency - wrong data-name (for itemtextures you would write "Item_MyPicture.png") - any failure inside your code
  14. Zheo

    Hydrocraft Mod

    WOW this is awesome! I hope you have some more good ideas!
  15. To get all the Traits - just use the AddFreeTraits function on your new profession. you just need to find the traits by searching through the .lua-data from PZ via notepad++ for example. Try keywords for your search like "owl" or "night_owl" (police officer trait i think) or just "strength"
×
×
  • Create New...