← modperf · analyzed mods

Simple Roof

A simple roof building mod to help secure your base. The roof panels can be accessed to dismantle, but only from inside the base. -To build a roof you'll need 10 planks and 30 nails. -A wooden pillar requires 1 log and 10 nails. You will currently get all those resources back if you dismantle the item. I've also included a step ladder in the mod to help with roof construction, the ladders will spawn in industrial… (more)

A simple roof building mod to help secure your base. The roof panels can be accessed to dismantle, but only from inside the base. -To build a roof you'll need 10 planks and 30 nails. -A wooden pillar requires 1 log and 10 nails. You will currently get all those resources back if you dismantle the item. I've also included a step ladder in the mod to help with roof construction, the ladders will spawn in industrial areas, but they currently cannot be crafted to prevent raiding abuse. SNAPPING Press B while holding a kit to toggle snap mode. Press F to cycle through the snap points. Press K to focus on an object. IMPORTANT This is now just a roof mod as it was originally intended!! The other base parts have been moved to a new mod called Simple Base. Only roofs and pillars can be crafted. If you want to craft walls, floors, windows and doors, use the new mod: Simple Base https://steamcommunity.com/sharedfiles/filedetails/?id=1814422822 BaseBuildingPlus For even more advanced base building features, check out BaseBuildingPlus. A new mod i'm working on with Hennessy, Juusto, Jest, Fourth and others: https://steamcommunity.com/sharedfiles/filedetails/?id=1710977250 CREDITS Credit to Ectotherm for the roof model: https://sketchfab.com/3d-models/wooden-wall-385bd34ec7e34243ac860449d99a4746 Credit to Francesco Coldesina for the step ladder model: https://sketchfab.com/3d-models/ladder-7f7c32e807e5490b89ebba02c1aed656 Credit to WholeTrees for the pillar model: https://sketchfab.com/3d-models/column-pole-1-f50e2fbf01ff49699ef920343538f1a2 Credit to TraianDumbrava for the saw model: https://sketchfab.com/3d-models/saw-tool-daff4bc1ecf14d43af365839d727a2f0 Credit to OP, I only managed to get this working by studying OP_Baseitems: https://steamcommunity.com/sharedfiles/filedetails/?id=1617874376 Credit to Cleetus for all his help along the way: https://steamcommunity.com/id/aussiecleetus/myworkshopfiles/ and credit to Hennessy who helped fix all the issues. Check out his mod More_Containers_and_Decorations: https://steamcommunity.com/sharedfiles/filedetails/?id=1638457776 SERVER OWNER INSTRUCTIONS 1. Copy the @Simple Roof folder from !Workshop to your DayZServer root folder. 2. Copy ChopperRoof.bikey file from the keys folder to your keys folder. 3. Add "-mod=@Simple Roof" to your server startup parameters. 4. Merge types.xml (located in mpmissions\dayzOffline.chernarusplus\db) with the file provided. 5. OPTIONAL: Merge TraderConfig.txt (located in YOURSERVERPROFILE\Trader) with the file provided. RECENT CHANGES ----------------------------------------------------------------------------------------------- New: Look-to-snap feature. Snapping is now auto-enabled. Just look to snap and use F to cycle snap points. New: K now locks the snapping target to the object you are currently looking at. Fixed: 1.13 issue with digging gardenplots. Fixed: Removed ability to climb onto roof. Fixed: Step ladder collision fixed. Fixed: Null pointers fixed. Thanks to Krypton91. DayZ 1.13 compatible. ----------------------------------------------------------------------------------------------- Have fun! Donations All my mods are completely free to use. If you want to contribute towards future development you can do so by donating via my Patreon page. Any donations are much appreciated, thanks :) https://www.patreon.com/ChopperMods MidEvil If you have time, please check out the new game I'm working on with HennySea. MidEvil on Steam

Workshop 1667135157 · mod updated 2021-07-20 · analyzed 2026-10-03 02:24 UTC · history · 29 script files

EquipmentProps Workshop tags, chosen by the author

Stall risks
None found

No file I/O on hot paths, no timers created per event, no per-player-per-frame hooks.

Compatibility
2 to review

2 chain breaks on base classes or persisted data.

Structural footprint 1.1
A
2 to review
Heavier than 76% of 328 scripted mods analyzed.

0.0165% of each server frame at 100 players (0.165 ms/s). Counts hook dispatch and timers only, not what the hooks do inside. Methodology.

Where this mod sits

Structural load of the 328 scripted mods analyzed, lightest on the left. This mod's bar is lit; 40 others share it. Ranked list.

20
40
60
  • 24 mods
    0.0000022 to 0.0000046 ms/s · grade A
  • 7 mods
    0.0000046 to 0.00001 ms/s · grade A
  • 1 mod
    0.00001 to 0.000022 ms/s · grade A
  • 1 mod
    0.000022 to 0.000046 ms/s · grade A
  • 37 mods
    0.0001 to 0.00022 ms/s · grade A
  • 26 mods
    0.00022 to 0.00046 ms/s · grade A
  • 33 mods
    0.00046 to 0.001 ms/s · grade A
  • 22 mods
    0.001 to 0.0022 ms/s · grade A
  • 13 mods
    0.0022 to 0.0046 ms/s · grade A
  • 10 mods
    0.0046 to 0.01 ms/s · grade A
  • 5 mods
    0.01 to 0.022 ms/s · grade A
  • 18 mods
    0.022 to 0.046 ms/s · grade A
  • 17 mods
    0.046 to 0.1 ms/s · grade A
  • This mod
  • 26 mods
    0.22 to 0.46 ms/s · grade A
  • 28 mods
    0.46 to 1 ms/s · grade A
  • 8 mods
    1 to 2.2 ms/s · grade A to B
  • 10 mods
    2.2 to 4.6 ms/s · grade B
  • 1 mod
    4.6 to 10 ms/s · grade B to C
A316
B11
C1
D0
E0
ms/s, log scale: each labelled step is ten times the one before. Letter grade and mods holding it below the axis.
Where the load comes from

Repeating timers carry 99.6% of this mod's structural load. 0.165 ms/s in all.

Event hooks · 0.4%
3 hooks · 0.00059 ms/s
99.6%Repeating timers · 99.6%
1 timer · 0.16 ms/s
Event hooksrun when something happens: an inventory move, a hit, an action 3 hooks 0.00059 ms/s 0.4% ActionDestroyPart.ActionCondition, PlayerBase.SetActions, SledgeHammer.SetActions
Repeating timersstay in the timer queue, which is walked every frame 1 timer 0.16 ms/s 99.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.

Chain breaks, by consequence

2 overrides that skip super(), ranked by how much they can affect. On any server a break replaces vanilla's behaviour on that method and silences every earlier-loaded mod hooking it.

Review
Base class · every Hologram
Hologram.AddProjectionRotation

Vanilla rotation handling is replaced — expected for placement-system overhauls.

What it is for: Vanilla placement hologram rotation input.

simpleroof.pbo::scripts\4_World\overrides\Hologram.c:153
Review
Base class · every Hologram
Hologram.SubtractProjectionRotation

Vanilla rotation handling is replaced — expected for placement-system overhauls.

What it is for: Vanilla placement hologram rotation input.

simpleroof.pbo::scripts\4_World\overrides\Hologram.c:158

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.

SetActions × 2 classes
per event
no I/O, timers or RPC
ActionCondition on ActionDestroyPart
per event
no I/O, timers or RPC replaces vanilla

Other findings

What this report can tell you

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.

What it cannot

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 19 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.

methodsurfaceserversuper()where
ActionConstructor.RegisterActions — yes ✓ simpleroof.pbo::scripts\4_World\actions\ActionConstructor.c:3
ActionDeployObject.OnEndServer — yes conditional simpleroof.pbo::scripts\4_World\overrides\ActionDeployObject.c:3
ActionDestroyPart.ActionCondition T2 yes ✗ none simpleroof.pbo::scripts\4_World\overrides\ActionDestroyPart.c:3
ActionFoldBaseBuildingObject.GetText — yes ✗ none simpleroof.pbo::scripts\4_World\overrides\ActionFoldBaseBuildingObject.c:3
Hologram.GetProjectionEntityPosition — yes conditional simpleroof.pbo::scripts\4_World\overrides\Hologram.c:3
Hologram.ProjectionBasedOnParent — yes conditional simpleroof.pbo::scripts\4_World\overrides\Hologram.c:40
Hologram.EvaluateCollision — yes conditional simpleroof.pbo::scripts\4_World\overrides\Hologram.c:55
Hologram.SetProjectionOrientation — yes conditional simpleroof.pbo::scripts\4_World\overrides\Hologram.c:134
Hologram.GetProjectionRotation — yes ✗ none simpleroof.pbo::scripts\4_World\overrides\Hologram.c:148
Hologram.AddProjectionRotation — yes ✗ none simpleroof.pbo::scripts\4_World\overrides\Hologram.c:153
Hologram.SubtractProjectionRotation — yes ✗ none simpleroof.pbo::scripts\4_World\overrides\Hologram.c:158
MiscGameplayFunctions.ComplexBuildCollideCheckClient — yes ✗ none simpleroof.pbo::scripts\4_World\overrides\MiscGameplayFunctions.c:3
MiscGameplayFunctions.BuildCondition — yes ✗ none simpleroof.pbo::scripts\4_World\overrides\MiscGameplayFunctions.c:31
MissionGameplay.OnKeyRelease — yes ✓ simpleroof.pbo::scripts\5_Mission\mission\missionGameplay.c:4
MissionGameplay.OnUpdate T0 yes ✓ simpleroof.pbo::scripts\5_Mission\mission\missionGameplay.c:57
PlayerBase.SetActions T2 yes ✓ simpleroof.pbo::scripts\4_World\overrides\PlayerBase.c:3
PluginRecipesManager.RegisterRecipies — yes ✓ simpleroof.pbo::scripts\4_World\recipes\moddedrecipe.c:3
SledgeHammer.SetActions T2 yes ✓ simpleroof.pbo::scripts\4_World\overrides\Tools.c:3
VicinityItemManager.IsObstructed — yes conditional simpleroof.pbo::scripts\5_Mission\mission\VicinityItemManager.c:3
Dispatch surfaces and timers the grade prices
surfacetierrate (Hz)rate sourcems/s
ActionDestroyPart.ActionConditionT2 8.0placeholder0.0002
PlayerBase.SetActionsT2 8.0placeholder0.0002
SledgeHammer.SetActionsT2 8.0placeholder0.0002

Repeating timers

period (ms)residency ms/sfiring ms/swhere
00.1400 0.024800simpleroof.pbo::scripts\4_World\items\Chopper_Base.c:388

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.

simpleroof.pbo

  • SimpleRoof requiredVersion 0.1 — requires DZ_Data, DZ_Gear_Camping, DZ_Gear_Consumables

census 1.1 · findings 1.1 · hash a3b0b1e4f842d010