Jump to content
Hydromancerx

Hydrocraft Mod

Recommended Posts

Hey Hydro, hows things going ? 


I'm starting to miss our weekly updates :( 

 

Still playing the Rim? 
I played for a bit, but ran out of stuff to do too quickly.... 

 

Hope development continues. Perhaps your waiting for the build 35 to be released?

 

Either way Hydrocraft is still pretty much essential for PZ.

 

-TG

Share this post


Link to post
Share on other sites

You've probably been asked this a ton but is there a way to add the trading post cone to single player so you can use all the excess money? ive tried spawning it in but it isnt an option. 

Share this post


Link to post
Share on other sites
3 hours ago, Absinith said:

You've probably been asked this a ton but is there a way to add the trading post cone to single player so you can use all the excess money? ive tried spawning it in but it isnt an option. 

You need to use "Hydrocraft.Item" not "Base.Item" when spawning items.

Share this post


Link to post
Share on other sites

Hydrocraft v8.3 has been released!

 

Which includes ...

 

- Dig with Shoes

- Potted Plants no longer Drainable

- Tweaked Aging Code to allow for other mods with the aging code.

- Fixed Solar Gen Inside

- Fixed Add Poison To Inventory Food

- Fixed Churn Art

- Removed Skill books for First Aid, Foraging and Electrical Skills in prep for the new release that has them in the base game.

- Added U Bolt.

- Added Refactory Brick

- Added Gnome Stick

- Added a Bunch of New Armors both craftable and findable!

- Thanks to everyone who helped!

 

Enjoy!

 

This update was made mainly in prep for the next public update of PZ. This version should not conflict with IWBUMS now either.

Share this post


Link to post
Share on other sites
1 minute ago, Hydromancerx said:

Now that Build 35 came out please let me know if anyone finds any conflicts. I tired my best to make sure it didn't, but bugs happen. Thanks in advance.

Looks like the main complaint is that some of the 3D models aren't showing up (machetes .etc). Did the above update alter any of the model loader stuff?

Just don't have the time to check on my own right now. :P

Share this post


Link to post
Share on other sites

I have to look into that. I think Nolan said all the sprite file names need to be changed to lowercase or something. That's just a minor cosmetic thing that can be fixed later. I was more worried about the mod causing servers to crash when the update came. Sounds like they are running just fine if they can complain about that.

Share this post


Link to post
Share on other sites
On 2016-12-15 at 6:02 AM, Hydromancerx said:

Hydrocraft v8.3 has been released!

 

Which includes ...

 

- Dig with Shoes

- Potted Plants no longer Drainable

- Tweaked Aging Code to allow for other mods with the aging code.

- Fixed Solar Gen Inside

- Fixed Add Poison To Inventory Food

- Fixed Churn Art

- Removed Skill books for First Aid, Foraging and Electrical Skills in prep for the new release that has them in the base game.

- Added U Bolt.

- Added Refactory Brick

- Added Gnome Stick

- Added a Bunch of New Armors both craftable and findable!

- Thanks to everyone who helped!

 

Enjoy!

 

This update was made mainly in prep for the next public update of PZ. This version should not conflict with IWBUMS now either.

Wiki updated.
New Items List: http://undeniable.info/pz/wiki/itemlist.php?kind=Hydrocraft&sort=Version&DESC=DESC

Edited by nolanri

Share this post


Link to post
Share on other sites
Spoiler

-- **********************************
-- author: francogp
-- **********************************

local MOD_ID = "Hydrocraft";
local MOD_NAME = "Hydrocraft 3D weapon models";
local MOD_VERSION = "0.2";
local MOD_AUTHOR = "FrancoGP";

isHydrocraft3DWeaponLoaded = false;

local function load3Dmodels()
        
        -- The directory of the mod folder.
        dir = getDir(MOD_ID);
        print("***** Mod Loaded Dir: " .. dir);
        -- quick extension strings.
        em = ".txt";
        et = ".png";
        
        -- MODEL LOADING --
        name = "HCWifflebat";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_" .. name .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCAluminiumbat";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_" .. name .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCBaseballbatbarbedwire";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel"  .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCBaseballbatcutter";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCBaseballbattrimmer";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCBaseballbatwrench";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_wrenchwood" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
            
        ---------------------------
        name = "HCSlingshot";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;    
        ---------------------------
        name = "HCTireiron";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;    
        ---------------------------
        name = "HCSteelpipe";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;        
        ---------------------------
        name = "HCBaton";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        ---------------------------
        name = "HCSurvivalaxe";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        ----------------------------
        name = "HCStake";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        ---------------------------
        name = "HCNailgun";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_" .. name .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCPickaxe";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCCane";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        ---------------------------
        name = "HCQuarterstaff";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
            
        ---------------------------
        name = "HCLongbow";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCCrossbow";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCCombatknife";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCMeatcleaver";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCMachete";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCKatana";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_" .. name .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCBastardswordcopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCBastardsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCBastardswordsteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCBastardsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCBastardswordiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCBastardsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCBastardswordbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCBastardsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCBattleaxecopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCBattleaxe" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCBattleaxesteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCBattleaxe" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCBattleaxeiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCBattleaxe" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCBattleaxebronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCBattleaxe" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCSpikedflailcopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpikedflail" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSpikedflailsteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpikedflail" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSpikedflailiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpikedflail" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSpikedflailbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpikedflail" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
            
        ---------------------------
        name = "HCDaggercopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCDagger" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCDaggersteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCDagger" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCDaggeriron";
        locationModel = dir .. "/media/models/" .. "weapons_HCDagger" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCDaggerbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCDagger" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCGreatswordcopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCGreatsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCGreatswordsteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCGreatsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCGreatswordiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCGreatsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCGreatswordbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCGreatsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCHalberdcopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCHalberd" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodlongcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCHalberdsteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCHalberd" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodlongsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCHalberdiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCHalberd" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodlongiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCHalberdbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCHalberd" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodlongbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCHatchetcopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCHatchet" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCHatchetsteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCHatchet" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCHatchetiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCHatchet" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCHatchetbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCHatchet" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCKnifecopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCKnife" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCKnifesteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCKnife" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCKnifeiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCKnife" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCKnifebronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCKnife" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCLongswordcopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCLongsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCLongswordsteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCLongsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCLongswordiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCLongsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCLongswordbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCLongsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCShortswordcopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCShortsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCShortswordsteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCShortsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCShortswordiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCShortsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCShortswordbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCShortsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
            
        ---------------------------
        name = "HCSicklecopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCSickle" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSicklesteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCSickle" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSickleiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCSickle" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSicklebronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCSickle" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCSmithyhammercopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCSmithyhammer" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSmithyhammersteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCSmithyhammer" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSmithyhammeriron";
        locationModel = dir .. "/media/models/" .. "weapons_HCSmithyhammer" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSmithyhammerbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCSmithyhammer" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCSpearcopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpear" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSpearsteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpear" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSpeariron";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpear" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSpearbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpear" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCSpearobsidian";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpear" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodobsidian" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSpearstone";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpear" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodstone" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCSpikedmacecopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpikedmace" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSpikedmacesteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpikedmace" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSpikedmaceiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpikedmace" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSpikedmacebronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpikedmace" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCTridentcopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCTrident" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCTridentsteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCTrident" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCTridentiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCTrident" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCTridentbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCTrident" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
            ---------------------------
        name = "HCWarhammercopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCWarhammer" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCWarhammersteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCWarhammer" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCWarhammeriron";
        locationModel = dir .. "/media/models/" .. "weapons_HCWarhammer" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCWarhammerbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCWarhammer" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCMonkeywrench";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_wrenchwood" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCWrench";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
            ---------------------------
        name = "HCCrutch";
        locationModel = dir .. "/media/models/" .. "weapons_HCCrutch" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodobsidian" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
            ---------------------------
        name = "HCCrutchaluminium";
        locationModel = dir .. "/media/models/" .. "weapons_HCCrutch"  .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
         ---------------------------
        name = "HCRake";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCPushbroom";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_broom" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCBroom";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_broom" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCPotatocannon";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_" .. name .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCFlailstone";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodstone"  .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCHedgetrimmer";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_" .. name .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
    
        isHydrocraft3DWeaponLoaded = true;    
        
    
end    

Events.OnGameBoot.Add(load3Dmodels);

 

Here is fix for 3d weapon models.

just open

lua\client\3DWeapons\3DWeaponLoader.lua
and replace the whole contents with the code in spoiler

 

 

 

 

Share this post


Link to post
Share on other sites
On 12/17/2016 at 4:51 PM, nolanri said:
  Reveal hidden contents

-- **********************************
-- author: francogp
-- **********************************

local MOD_ID = "Hydrocraft";
local MOD_NAME = "Hydrocraft 3D weapon models";
local MOD_VERSION = "0.2";
local MOD_AUTHOR = "FrancoGP";

isHydrocraft3DWeaponLoaded = false;

local function load3Dmodels()
        
        -- The directory of the mod folder.
        dir = getDir(MOD_ID);
        print("***** Mod Loaded Dir: " .. dir);
        -- quick extension strings.
        em = ".txt";
        et = ".png";
        
        -- MODEL LOADING --
        name = "HCWifflebat";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_" .. name .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCAluminiumbat";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_" .. name .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCBaseballbatbarbedwire";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel"  .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCBaseballbatcutter";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCBaseballbattrimmer";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCBaseballbatwrench";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_wrenchwood" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
            
        ---------------------------
        name = "HCSlingshot";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;    
        ---------------------------
        name = "HCTireiron";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;    
        ---------------------------
        name = "HCSteelpipe";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;        
        ---------------------------
        name = "HCBaton";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        ---------------------------
        name = "HCSurvivalaxe";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        ----------------------------
        name = "HCStake";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        ---------------------------
        name = "HCNailgun";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_" .. name .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCPickaxe";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCCane";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        ---------------------------
        name = "HCQuarterstaff";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
            
        ---------------------------
        name = "HCLongbow";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCCrossbow";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCCombatknife";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCMeatcleaver";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCMachete";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCKatana";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_" .. name .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCBastardswordcopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCBastardsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCBastardswordsteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCBastardsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCBastardswordiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCBastardsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCBastardswordbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCBastardsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCBattleaxecopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCBattleaxe" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCBattleaxesteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCBattleaxe" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCBattleaxeiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCBattleaxe" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCBattleaxebronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCBattleaxe" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCSpikedflailcopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpikedflail" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSpikedflailsteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpikedflail" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSpikedflailiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpikedflail" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSpikedflailbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpikedflail" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
            
        ---------------------------
        name = "HCDaggercopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCDagger" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCDaggersteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCDagger" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCDaggeriron";
        locationModel = dir .. "/media/models/" .. "weapons_HCDagger" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCDaggerbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCDagger" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCGreatswordcopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCGreatsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCGreatswordsteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCGreatsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCGreatswordiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCGreatsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCGreatswordbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCGreatsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCHalberdcopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCHalberd" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodlongcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCHalberdsteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCHalberd" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodlongsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCHalberdiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCHalberd" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodlongiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCHalberdbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCHalberd" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodlongbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCHatchetcopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCHatchet" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCHatchetsteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCHatchet" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCHatchetiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCHatchet" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCHatchetbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCHatchet" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCKnifecopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCKnife" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCKnifesteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCKnife" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCKnifeiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCKnife" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCKnifebronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCKnife" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCLongswordcopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCLongsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCLongswordsteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCLongsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCLongswordiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCLongsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCLongswordbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCLongsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCShortswordcopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCShortsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCShortswordsteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCShortsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCShortswordiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCShortsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCShortswordbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCShortsword" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
            
        ---------------------------
        name = "HCSicklecopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCSickle" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSicklesteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCSickle" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSickleiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCSickle" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSicklebronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCSickle" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCSmithyhammercopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCSmithyhammer" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSmithyhammersteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCSmithyhammer" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSmithyhammeriron";
        locationModel = dir .. "/media/models/" .. "weapons_HCSmithyhammer" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSmithyhammerbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCSmithyhammer" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCSpearcopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpear" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSpearsteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpear" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSpeariron";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpear" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSpearbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpear" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCSpearobsidian";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpear" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodobsidian" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSpearstone";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpear" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodstone" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCSpikedmacecopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpikedmace" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSpikedmacesteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpikedmace" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSpikedmaceiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpikedmace" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCSpikedmacebronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCSpikedmace" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCTridentcopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCTrident" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCTridentsteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCTrident" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCTridentiron";
        locationModel = dir .. "/media/models/" .. "weapons_HCTrident" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCTridentbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCTrident" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
            ---------------------------
        name = "HCWarhammercopper";
        locationModel = dir .. "/media/models/" .. "weapons_HCWarhammer" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodcopper" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCWarhammersteel";
        locationModel = dir .. "/media/models/" .. "weapons_HCWarhammer" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCWarhammeriron";
        locationModel = dir .. "/media/models/" .. "weapons_HCWarhammer" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        name = "HCWarhammerbronze";
        locationModel = dir .. "/media/models/" .. "weapons_HCWarhammer" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodbronze" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCMonkeywrench";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_wrenchwood" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCWrench";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
            ---------------------------
        name = "HCCrutch";
        locationModel = dir .. "/media/models/" .. "weapons_HCCrutch" .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodobsidian" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
            ---------------------------
        name = "HCCrutchaluminium";
        locationModel = dir .. "/media/models/" .. "weapons_HCCrutch"  .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponsteel" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
         ---------------------------
        name = "HCRake";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodiron" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCPushbroom";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_broom" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCBroom";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_broom" .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCPotatocannon";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_" .. name .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCFlailstone";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_weaponwoodstone"  .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
        
        ---------------------------
        name = "HCHedgetrimmer";
        locationModel = dir .. "/media/models/" .. "weapons_" .. name .. em;
        locationTexture = dir .. "/media/textures/" .. "Objects_" .. name .. et;
        --                    (model name        , modelLocation, textureLocation )
        loadStaticZomboidModel("weapons_" .. string.lower(name), locationModel, locationTexture ) ;
    
        isHydrocraft3DWeaponLoaded = true;    
        
    
end    

Events.OnGameBoot.Add(load3Dmodels);

 

Here is fix for 3d weapon models.

just open

lua\client\3DWeapons\3DWeaponLoader.lua
and replace the whole contents with the code in spoiler

 

 

 

 

Where can this fix be made if using the steam version?  Or will I have to download and install manually?

 

EDIT: I found the location.  My mistake, this is the first mod I've installed and I did not know where steam installs mods, and I did not know my way around the game files etc.  My apologies.

Edited by fasmata

Share this post


Link to post
Share on other sites

Hydrocraft v8.4 has been released!

 

Which includes ...

 

- Added New Skill books to randomized books.

- Fixed 3D Weapons Sprites (Thanks Nolan!)

- Fixed Titanium Rod

- Fixed Cook Blue Meth

- Fixed Barrier

- Fixed Cultivate Penicillin (Maybe)

- Fixed Biowaste

- Fixed Cherry Seed Packet

- Fixed Hungry Chickens

- Donkey and Horse Poop now can be Composted

- Fixed Mash Barrels

- Reduced Spawning of Jams and Picked Food Jars

- Converted Some Hydrocraft recipies to the new Welding and Smithing

- Tweaked the Metal and Welding Magazines

- Door Knobs cannot be Melted into Iron anymore (Just Bronze)

- Fixed Eyedrops, Arm Sling, Otoscope and Glove Box

- Removed Hydrocraft Tongs, Bellows and Welding Mask.

- Updates to Safe and Armor mods.

- Farmoid Update! Now with reusable trellises!

- Thanks to everyone who helped!

 

Enjoy!

Share this post


Link to post
Share on other sites

Hello! I wasn't playing this mod for a while and i have one question:
Do i need to download any other mod to play it? There was model loader earlier,but it's down now so...yeah.Can i see 3D models without any other mods?

Share this post


Link to post
Share on other sites
16 hours ago, jackkacperek2 said:

Hello! I wasn't playing this mod for a while and i have one question:
Do i need to download any other mod to play it? There was model loader earlier,but it's down now so...yeah.Can i see 3D models without any other mods?

No and yes

 

and how dare you say "one" question and then ask two questions!

Edited by nolanri

Share this post


Link to post
Share on other sites
5 hours ago, The Googlator said:

I can't seem to find Tongs anywhere ? 
I see they were removed from Hydrocraft, but I literally cannot find them anywhere.... 

Any ideas ? 

 

-TG

lots of people said this and that their tongs disappeared so its probably that the tongs some how got removed / deleted accidentally from the scripts txt files since last update. 

Share this post


Link to post
Share on other sites

Hello, 

I noticed the helicopter sprite that I made for Hicks for the RedBoid server is currently present in the Hydrocraft texture files.   Can you please credit me for making it at least? 

If you want evidence that I've made that, I can kindly pm you the messages with me and Hicks.

 

Best regards. 

Billwa 

Share this post


Link to post
Share on other sites
4 hours ago, billwa said:

Hello, 

I noticed the helicopter sprite that I made for Hicks for the RedBoid server is currently present in the Hydrocraft texture files.   Can you please credit me for making it at least? 

If you want evidence that I've made that, I can kindly pm you the messages with me and Hicks.

 

Best regards. 

Billwa 

Sure! I am guessing your the guy he said edited the helicopter art he bought. Will add you to the artists list since I already listed the helicopter credit with link to this ...

 

https://marketplace.yoyogames.com/assets/1353/war-games-apache

Edited by Hydromancerx

Share this post


Link to post
Share on other sites

Dear developer. The game has no tongs. And that they do need tongs. I was looking for from rosenwood to gigamoll. They are not anywhere else. With the latest update to Russian version of the game they were called "Клещи". I apologize for the mistakes, google translator.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...