Jump to content

Intrud3r

Member
  • Posts

    16
  • Joined

  • Last visited

Profile Information

  • Gender
    Man

Intrud3r's Achievements

  1. thanks for the help but still can't make it work i will wait to use another mod as example to be sure what's wrong in mine
  2. so instead of making a separate one like before the last patch i have to make a copy of the original file in the mod section adding the new stuff there? multiple mods will be harder to manage
  3. i'm unable to find the solution by miself i tried modyfing my lua changing from getitemtext to type but no sucess...
  4. hi guys i'm having troubles with reloading weapon sistem after the last update worked fine on 29.3 but now the custom new weapons are always full of ammo any tips?
  5. hey guys is there a compatible editor for easily making 3d models for new weapons ?i prefer avoiding manually writing an entire new object just to be sure the models are in meda\models and the textures are in media\textures ?
  6. your solution is easier i like it now i have to find a way to add the new weapons to the same table but it's harder than exepected edit ok found the solution for adding a new table into WeponUpgrade and modifing an entire existing table in one move //have to test if work ingame(on virtual lua consolle works as planned)edit 3 //WORKS :)WeaponUpgrades["NewPistol"]={"tetsingmod.Laser", "testingmod.RedDot", "testingmod.IronSight"}//could be used to rapidly change the original pistol values (works perfectly on lua test console)WeaponUpgrades["Pistol"]={"tetsingmod.Laser", "testingmod.RedDot", "testingmod.IronSight"}edit 3 //WORKS (in my previous tests i had mispelled some parts)
  7. didn't find what i'm searching for no clue on how to change the values in WeaponUpgrades FROMWeaponUpgrades = {Pistol = {"Base.Laser", "Base.RedDot", "Base.IronSight"}};TOWeaponUpgrades = {Pistol = {"tetsingmod.Laser", "testingmod.RedDot", "testingmod.IronSight"}};it's probably super simple but iìm going mad edit 2: Solved (already tested work perfectly) require "Items/SuburbsDistributions"if WeaponUpgrades.Pistol ~= nil then local k=1; while k <= #WeaponUpgrades.Pistol do if WeaponUpgrades.Pistol[k] == "Base.Laser" then table.remove(WeaponUpgrades.Pistol,k); elseif WeaponUpgrades.Pistol[k] == "Base.IronSight" then table.remove(WeaponUpgrades.Pistol, k); elseif WeaponUpgrades .Pistol[k] == "Base.RedDot" then table.remove(WeaponUpgrades.Pistol, k); else k = k + 1; endendendtable.insert(WeaponUpgrades.Pistol,"testingmod.Laser");table.insert(WeaponUpgrades.Pistol,"testingmod.RedDot");table.insert(WeaponUpgrades.Pistol,"testingmod.IronSight");
  8. Sorry for opening another distribution sistem topic but can't find the answer anywhere the question is simple given that i create a new pistol item and i copy the original laser/reddot(adding the new weapon to the attachable) in a separate file like newitems2.txt i can add the weapon with no issues to the suburbsdistribution with: table.insert(SuburbsDistributions["Kitchen"]["counter"].items, "newitem");table.insert(SuburbsDistributions["Kitchen"]["counter"].items, 5);is there a way to change the weapon upgrades laser/reddot from base.reddot to new.reddot for the original weapons too? i mean the final part of the suburbsdistribution.lua file if i copy the original suburbsdistribution.lua to the mod folder and add the intems there can be solved ?(i mean the game will use the mod folder or the default/game file?) I hope the question is clear i'm really bad in english;) thanks in advance
  9. Intrud3r

    Firearm stats

    checking the reddot stats set an "AimingTimeModifier = 5," that makes me think it's the opposite higher numer faster aim?
  10. Intrud3r

    Firearm stats

    thanks (the spoiler doesn't cooperate lol)
  11. Intrud3r

    Firearm stats

    Hi guys as on the title i need some help to figure out how to set firearm stats and how the stats interact to doing so i will just comment the code i need tips (btw sorry for my english )
  12. to make it work with 29.3 build just delete ItemPicker.lua from C:\Users\youruser\Zomboid\mods\TommyGuns\media\lua\server\Items tetsing this modify right now all seems to work fine enjoy
×
×
  • Create New...