Search the Community
Showing results for tags 'framework'.
-
Heya, I've been working on this utility mod for awhile now. It's nothing much but should be good enough for modders to use. It'll be uploaded to github when I have time to do so. Mod Link: Steam Workshop - Simplify Available Upcoming Features (Massive Overhaul): 1. Extended Require Function - Allows you to load lua from 'cache/lua/[server_name]' and root mod folder. 2. Switch Function - Better coding style for selection control. 3. Extended Metatable - Extended looping function (next, pairs, and ipairs) to support custom metatable metamethods (Support LUA 5.2 __next, __pairs, __ipairs / simplify custom metatable). - Introduce global 'size' function to get table's size. 4. Extended Table - Introduce table.freeze(t) and table.isfrozen(t). - It's a pure lua implementation so the performance is not the same as C API. 5. Text File Utilities - Less error prone file function call. - Read text files from 'cache/lua/[server_name]' and root mod folder. - Utilities to get all of the text content and execute function per line. 6. CSV - Read CSV files. Header and custom separator supported. File extension is not enforced 7. Event Manager - Allows you to register custom event and triggers it with variable arguments. 8. Streamlined Event Hook Implementation - You can easily hook an event by simply declare 'ModCustomEventsTable.EventName = function'. - Set the value to nil to remove the callback. 9. Command Channels - Streamlined 'OnServerCommand' and 'OnClientCommand' hooks. Same new event hook style. 10. Mod Loader (Scripts) - Introduce branch folder concept. You can switch from unstable version to stable version using custom mod loader. - Streamlined concept where you don't need proxy files to load scripts outside of media folder. The mod loader will look for 'loader.lua' at the root mod folder. - Option's method for changing branch might or might not be supported. And more.. There's too many prototype features I've ALREADY made for the upcoming update and those need intensive testing. Such as custom database, system / in-game timers, and custom meta events manager. Feedbacks on this framework mod is highly appreciated so that I can improve it. Just note that I'm not a professional so the quality might be lacking for you. edited (31/08/2022): I'm too shy to make a new post for attention. The overhaul is almost done. This mod originally meant to be used as simple utility mod. But, due to lack of tools and game architecture's problem for my mods, It has been repurposed into a proper framework. Lot of stuffs will be introduced in the new update and note that there might be some oversights from me. There's too many things I need to consider for the designs and it's hard to check for what I've failed to include into my consideration. Earliest ETA for the update would be one week from now.
-
This mod lets you disassemble guns into parts which can be repaired or replaced. This replaces the built-in "Repair" menu on supported guns. For more info: Workshop: https://steamcommunity.com/sharedfiles/filedetails/?id=2847408431 Github: https://github.com/coavins/zomboid-coavins-firearms Inspect gun: Disassemble gun: Fully stripped down: Repair parts: Put it back together:
-
This mod is designed to simply the process of adding new professions, or editing the default ones. As well as simplifying the addition/modification of a profession's skills, traits and known recipes, it also allows for the creation of custom profession starting kits: both items in inventory and on the ground in front of them, and running a custom OnNewGame event for each profession. The 'special effect traits' (ones that don't edit skill levels) such as brave, lucky, outdoorsman, etc can be properly used by new professions without bugs and extra coding on the modder's part. Please note this mod adds no new professions or changes itself, it is simply a framework for use by other modders. Example of a upgraded Park Ranger, starting with the outdoorsman trait, ORGM's Lee Enfield No4 (with scope and sling attached), spare ammo, a hiking bag, and a tent and campfire kit on the ground at their feet: Example of a new profession: The Military Sniper, starting with Inconspicuous, Graceful and Brave, ORGM's SR-25 (with scope and sling) and spare ammo: Example of a updated Chef, starting with a set of GOOD kitchen knives: List of all 'special effect traits' that can now be added to professions: For best use and compatibility with other profession mods that may use this framework, it is advised you don't actually include this mods lua files in your mod. Instead make it a requirement, and just call the ProfessionFramework.addProfession( ) function from your own mod. Downloads: Current Version (1.00-stable): https://downloads.tekagis.ca/ProjectZomboidMods/ProfessionFramework.zip Steam workshop (1.00-stable): http://steamcommunity.com/sharedfiles/filedetails/?id=1343686691 Github Development Version: https://github.com/FWolfe/ProfessionsFramework