Jump to content

Makishimu

Member
  • Posts

    3
  • Joined

  • Last visited

Makishimu's Achievements

  1. Oooh thanks for the info, I could use it realy realy soon like right now ahah I'm currently working on a new mod, where I add a function to an already existing item. The function I add is an Attachment type, the item doesn't have it in vanilla. So could this kind of thing work : scripItem:DoParam("AttachmentType = Holster") And sorry to ask a lot of question, I'm a total beginner but in which folder in the LUA folder I have to write this ? And I guess I can name the txt file as I want, it's not like I was redeclaring something right ? To comeback on the base subject and your answer. As I change the category of all items, I feel like it will be done faster the way I did it instead of yours. Am I write ? I'll show you how look like a little part of the code. I've took time first to sort them even if it wasn't necessary but it's clear now and easier for me to naviguate threw and after that I've just copy paste each category in few minutes. The reason I ask you this question is to now and learn things from it. I've never try modding before and I kinda enjoy do it, I know it's not a complicated code that I did but it was fun haha and I'd like to avoid mistake like this in the future. Thanks again for your anwser !
  2. Hi again ! I've done a lot of research on google, I even download mod on nexus to see how people do the translation thing. But I complety forgot that sometime the best answer is realy close, like for example in the game files.. So to get ride of IGUI thing, you just need to go there : C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid\media\lua\shared\Translate\EN\IG_UI_EN.txt There's every IGUI translation possible in english like : -IGUI_ItemsCat_... -IGUI_invpanel_... -IGUI_char_... -IGUI_ContainerTitle_... And much more ! I've personaly copy, paste the whole file in my mod folder. I'm pretty sure it's not necessary to have it all but as I don't want any problem I took everything ^^ And then, you just need to add your own code like : And your good to go ! Sorry for the quick double post, I should have sleep before post at first.. And for every other beginner like I am, I hope my mistake will help you ! Again sorry for my english.
  3. Hi ! I am creating a mod to change the name of the item category. For example in an unmoded game, a scissors will be in the category weapon but after modification it will be in the category tailoring. The idea is to combine these changes with the mod manage container ( https://steamcommunity.com/sharedfiles/filedetails/?id=2650547917 ) for me and my friend to fully enjoy it without having to modify one by one each container. So far, I have succeeded and I know how to change the category names of items. I simply copied and pasted the items_food.txt file, from the game directory ( C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid\media\scripts\items_food.txt ) to my mod repertory and in it I only change the DisplayCategory. Here is an exemple of the code for one item.
×
×
  • Create New...