Cabin_Mod_RaGed
Cabin Mod with Hand-Water-Faucet Information: Stinkenator and Killerek were kind enough to gave me the source files so i can further Maintain and Fix issues on the Cabin. That being said, a big shoutout to both of you for providing the DayZ Community a free Cabin Model and giving me the trust to Maintain this awesome Mod from now on <3 What's updated/fixed? - Door opening selection - Collision of the Floor (Items… (more)
Cabin Mod with Hand-Water-Faucet Information: Stinkenator and Killerek were kind enough to gave me the source files so i can further Maintain and Fix issues on the Cabin. That being said, a big shoutout to both of you for providing the DayZ Community a free Cabin Model and giving me the trust to Maintain this awesome Mod from now on <3 What's updated/fixed? - Door opening selection - Collision of the Floor (Items won't fall through the ground anymore) - Fireplace rearranged - Windows added - Fixed all Textures with proper rvmats - Fixed Codelock/CombinationLock selection - added a grill grate along with visual cooking attachments (Cooking Pot/Frying Pan) to the Fireplace Known Bugs: - ????? Description: Craft-able Log Cabin made of Wooden Planks, Logs, Nails and Rocks with a Water-Faucet. The Cabin has dependencies, you MUST first build the foundation made of rocks. Then the floor, the walls one after another (left wall is also consuming rocks for the chimney) and then the roof and the door. Locks: - The Cabin works with vanilla combination locks and CodeLock Mod. - If your server uses CodeLock mod, you need to add an additional mod to make it work. (Cabin_Mod_CodeLock_RaGed) Credits: - This mod was developed by Stinkenator, after he stopped developing, he gave to Killerek and now to me for futher developing of this mod. Many thanks! - The Cabin Mod was inspired by https://www.youtube.com/watch?v=WmYCUljsrDg - Hennessy/Chopper - best boys around! - 3D Model purchased from https://www.turbosquid.com/FullPreview/Index.cfm/ID/1185538 - Using the TurboSquid Royalty Free License (https://blog.turbosquid.com/royalty-free-license/#game-mods) - Water-Faucet Model purchased from https://www.turbosquid.com/3d-models/3d-model-bucket-hand-pump-1219830 To add the mod to your server: Copy the @Cabin_mod_RaGed folder to your server mod folder Copy the content of the keys folder to your server keys folder Copy content from the types.xml to your server types.xml Materials needed: Cabin Kit - 8 Rocks and 5 Wooden Planks Foundation - 40 Rocks (stackable) Floor - 30 Nails & 50 Planks Rear wall - 30 Logs & 30 Nails Front wall - 30 Logs & 30 Nails Right wall - 30 Logs & 30 Nails Left wall - 30 Logs & 30 Nails & 24 Rocks Door - 10 Nails & 10 Planks Roof - 40 Nails & 40 Planks Front Window Shutter - 40 Nails & 10 Metal Plates Back Window Shutter - 40 Nails & 10 Metal Plates Once the Cabin is build, you can also add 1 Epoxy putty 1 Pipe 1 MetalWire to build the Water-Faucet with a Shovel. To destroy the Water-Faucet also use a Shovel. Tools needed: Shovel (for the foundation and Water-Faucet), Hammer or Hatchet (unless server admins disabled Hatched being used as Hammer) Server-Admins: This mod allows server-admins to adjust the amount of materials being used for building the cabin. //Not ready yet - Mod brings a cabinet with 150 slots and attachable items for additional space. The Cabin mod must be started after the CodeLock mod. Permission: ... is given to repack in a server-mod ... is NOT given for any kind of monetarization! ... is NOT given to re-upload! Copyright 2020 | RaG | Tyson This workshop-item is not authorized for posting on Steam, except under the Steam account named Stinkenator / Micha / Killerek / | RaG | Tyson
No file I/O on hot paths, no timers created per event, no per-player-per-frame hooks.
Every server-visible override preserves its chain.
0.099% of each server frame at 100 players (0.990 ms/s). Counts hook dispatch and timers only, not what the hooks do inside. Methodology.
Structural load of the 328 scripted mods analyzed, lightest on the left. This mod's bar is lit; 27 others share it. Ranked list.
Repeating timers carry 99.9% of this mod's structural load. 0.990 ms/s in all.
6 hooks · 0.0012 ms/s
6 timers · 0.99 ms/s
| Event hooksrun when something happens: an inventory move, a hit, an action | 6 hooks | 0.0012 ms/s | 0.1% | ActionCreateIndoorFireplace.ActionCondition, Fireplace.SetActions, Hacksaw.SetActions and 3 more |
| Repeating timersstay in the timer queue, which is walked every frame | 6 timers | 0.99 ms/s | 99.9% | 6 × every frame |
Counts how often each hook is dispatched and how many timers stay alive, not what the code inside does. Some rates are order-of-magnitude estimates; the methodology lists which.
Where this mod runs often
Hooks on per-frame and high-rate surfaces, with what their bodies call. Body work, not the hook itself, is what costs frame time.
ActionCondition on ActionCreateIndoorFireplaceOther findings
super() only on some paths · 6 · warning
- ActionCreateIndoorFireplace.ActionCondition returns true without consulting super.ActionCondition() on some paths — vanilla's conditions and every earlier-loaded mod's vetoes are bypassed there.
cabin_mod.pbo::scripts\4_World\actions\modded\ActionCreateIndoorFireplace.c:3 - ActionDeployObject.OnEndServer calls super.OnEndServer() only on some paths — on the others the chain below this mod is dropped.
cabin_mod.pbo::scripts\4_World\actions\ActionDeployObject.c:3 - CombinationLock.IsLockAttached returns true without consulting super.IsLockAttached() on some paths — vanilla's conditions and every earlier-loaded mod's vetoes are bypassed there.
cabin_mod.pbo::scripts\4_World\combinationlock.c:49 - CombinationLock.IsLockedOnGate returns true without consulting super.IsLockedOnGate() on some paths — vanilla's conditions and every earlier-loaded mod's vetoes are bypassed there.
cabin_mod.pbo::scripts\4_World\combinationlock.c:34 - Hologram.EvaluateCollision calls super.EvaluateCollision() only on some paths — on the others the chain below this mod is dropped.
cabin_mod.pbo::scripts\4_World\Hologram.c:13 - Hologram.ProjectionBasedOnParent calls super.ProjectionBasedOnParent() only on some paths — on the others the chain below this mod is dropped.
cabin_mod.pbo::scripts\4_World\Hologram.c:3
- ActionCreateIndoorFireplace.ActionCondition returns true without consulting super.ActionCondition() on some paths — vanilla's conditions and every earlier-loaded mod's vetoes are bypassed there.
Which vanilla methods the mod hooks, which of them drop the chain, how often each hook fires, and which risky calls sit inside hot hooks.
How long hook bodies take, network cost, or engine-side load. Measured across live fleets, most server lag comes from the engine and world state, not mod script chains — a light footprint does not clear a mod of lag, and a heavy one does not convict it. Methodology.
Everything else
All 14 overrides
Surface is the dispatch tier the rubric can price (— = unpriced); server is whether the override exists on a dedicated server; super() shows whether the vanilla chain is preserved on a server.
| method | surface | server | super() | where |
|---|---|---|---|---|
ActionConstructor.RegisterActions |
— | yes | ✓ | cabin_mod.pbo::scripts\4_World\actions\ActionConstructor.c:3 |
ActionCreateIndoorFireplace.ActionCondition |
T2 | yes | conditional | cabin_mod.pbo::scripts\4_World\actions\modded\ActionCreateIndoorFireplace.c:3 |
ActionDeployObject.OnEndServer |
— | yes | conditional | cabin_mod.pbo::scripts\4_World\actions\ActionDeployObject.c:3 |
CombinationLock.UnlockServer |
— | yes | ✓ | cabin_mod.pbo::scripts\4_World\combinationlock.c:3 |
CombinationLock.IsLockedOnGate |
— | yes | conditional | cabin_mod.pbo::scripts\4_World\combinationlock.c:34 |
CombinationLock.IsLockAttached |
— | yes | conditional | cabin_mod.pbo::scripts\4_World\combinationlock.c:49 |
Fireplace.SetActions |
T2 | yes | ✓ | cabin_mod.pbo::scripts\4_World\fireplace.c:3 |
Hacksaw.SetActions |
T2 | yes | ✓ | cabin_mod.pbo::scripts\4_World\Hacksaw.c:3 |
HandSaw.SetActions |
T2 | yes | ✓ | cabin_mod.pbo::scripts\4_World\Handsaw.c:3 |
Hologram.ProjectionBasedOnParent |
— | yes | conditional | cabin_mod.pbo::scripts\4_World\Hologram.c:3 |
Hologram.EvaluateCollision |
— | yes | conditional | cabin_mod.pbo::scripts\4_World\Hologram.c:13 |
PluginRecipesManager.RegisterRecipies |
— | yes | ✓ | cabin_mod.pbo::scripts\4_World\recipes\moddedrecipe.c:3 |
Shovel.SetActions |
T2 | yes | ✓ | cabin_mod.pbo::scripts\4_World\actions\ActionConstructor.c:25 |
Stone.SetActions |
T2 | yes | ✓ | cabin_mod.pbo::scripts\4_World\Stone.c:3 |
Dispatch surfaces and timers the grade prices
| surface | tier | rate (Hz) | rate source | ms/s |
|---|---|---|---|---|
Shovel.SetActions | T2 | 8.0 | placeholder | 0.0002 |
ActionCreateIndoorFireplace.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
Fireplace.SetActions | T2 | 8.0 | placeholder | 0.0002 |
Hacksaw.SetActions | T2 | 8.0 | placeholder | 0.0002 |
HandSaw.SetActions | T2 | 8.0 | placeholder | 0.0002 |
Stone.SetActions | T2 | 8.0 | placeholder | 0.0002 |
Repeating timers
| period (ms) | residency ms/s | firing ms/s | where |
|---|---|---|---|
| 0 | 0.1400 | 0.024800 | cabin_mod.pbo::scripts\4_World\placement\cabin\Prefab_Cabin.c:439 |
| 0 | 0.1400 | 0.024800 | cabin_mod.pbo::scripts\4_World\placement\cabin\Prefab_Cabin.c:469 |
| 0 | 0.1400 | 0.024800 | cabin_mod.pbo::scripts\4_World\placement\cabin\Prefab_Cabin.c:542 |
| 0 | 0.1400 | 0.024800 | cabin_mod.pbo::scripts\4_World\placement\cabin\Prefab_Cabin.c:572 |
| 0 | 0.1400 | 0.024800 | cabin_mod.pbo::scripts\4_World\placement\cabin\Prefab_Cabin.c:672 |
| 0 | 0.1400 | 0.024800 | cabin_mod.pbo::scripts\4_World\placement\cabin\Prefab_Cabin.c:702 |
Includes 0.001 ms/s from placeholder-rated surfaces.
Load-order constraints (CfgPatches)
What each PBO declares: its addon identity and the addons it requires to be loaded first (requiredAddons). A partial load-order signal from the mod's own metadata.
cabin_mod.pbo
cabin_modrequiredVersion 0.1 — requiresDZ_Gear_Containers,DZ_Gear_Camping,DZ_Gear_Crafting,DZ_Gear_Tools,DZ_Data
census 1.1 · findings 1.1 · hash 3723bbfed745d5fe