Custom Keycards
Features This modification adds Keycards System to the game. You can use it to add Keycard Doors, Keycard Buildings, as well as Loot Crates linked to these doors. Currently the modification contains: 36 Keycard Doors and Gates 15 Keycards and 2 Keycard Holders 4 Loot Crate variants (5 colors each) You can also add regular DayZ building to this system to make its doors work as Keycard Doors. Configuration After the… (more)
Features This modification adds Keycards System to the game. You can use it to add Keycard Doors, Keycard Buildings, as well as Loot Crates linked to these doors. Currently the modification contains: 36 Keycard Doors and Gates 15 Keycards and 2 Keycard Holders 4 Loot Crate variants (5 colors each) You can also add regular DayZ building to this system to make its doors work as Keycard Doors. Configuration After the first server startup, the mod will create CustomKeycards folder in the profiles folder of your server. Inside this folder you will find: Logs Folder Locations Folder for Keycard Doors LootTables Folder for your Loot Tables. Static_Locations Folder for Keycard Buildings itemsRename.json config More info about this folders and configs can be found on mod's wiki Inside mod's folder you can also find .INFO folder with: types.xml file for Keycards ClassNames.txt with all ClassNames Default Configs with links to specific mod's wiki pages If you need help with editing your configs, please go to Mod's Wiki Important Info Placing doors using DayZ Editor or other mods/tools (like VPPAdminTools) will break Keycard Doors -> they will become regular doors!!! You MUST add them via config files!!! If you are using VPPAdminTools to get Keycard Doors coordinates, you need to have this checkbox enabled in Object Manager for Keycard Doors to show up. Repacking or re-uploading is not allowed. Monetization of content from this modification is prohibited. Custom Keycards Wiki, Lowner.dev Discord, Lowner.dev Site If you want to support me: Boosty This item is not authorized for posting on Steam, except under the Steam account named Evgeny__N
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.
less than 0.001% of each server frame at 100 players (0.001 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; 21 others share it. Ranked list.
Event hooks carry 99.6% of this mod's structural load. 0.001 ms/s in all.
7 hooks · 0.0014 ms/s
1 hook · 0.000002 ms/s
| Event hooksrun when something happens: an inventory move, a hit, an action | 7 hooks | 0.0014 ms/s | 99.6% | ActionCloseDoors.ActionCondition, ActionLockDoors.ActionCondition, ActionLockedDoors.ActionCondition and 4 more |
| Lifecycle hooksrun when an entity is created, loaded or deleted | 1 hook | 0.000002 ms/s | 0.1% | MissionServer.OnMissionStart |
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.
Other findings
super() only on some paths · 6 · warning
- DayZGame.OnRPC calls super.OnRPC() only on some paths — on the others the chain below this mod is dropped.
evg_customKeycards_Scripts.pbo::Scripts\3_Game\EVG_RPC.c:57 - ActionCloseDoors.ActionCondition vetoes early (returns false) on some paths and defers to super.ActionCondition() otherwise — composes safely with vanilla's and earlier mods' conditions.
evg_customKeycards_Scripts.pbo::Scripts\4_World\UserActions\EVG_ActionModded.c:131 - ActionLockDoors.ActionCondition vetoes early (returns false) on some paths and defers to super.ActionCondition() otherwise — composes safely with vanilla's and earlier mods' conditions.
evg_customKeycards_Scripts.pbo::Scripts\4_World\UserActions\EVG_ActionModded.c:35 - ActionLockedDoors.ActionCondition vetoes early (returns false) on some paths and defers to super.ActionCondition() otherwise — composes safely with vanilla's and earlier mods' conditions.
evg_customKeycards_Scripts.pbo::Scripts\4_World\UserActions\EVG_ActionModded.c:3 - ActionOpenDoors.ActionCondition vetoes early (returns false) on some paths and defers to super.ActionCondition() otherwise — composes safely with vanilla's and earlier mods' conditions.
evg_customKeycards_Scripts.pbo::Scripts\4_World\UserActions\EVG_ActionModded.c:99 - ActionUnlockDoors.ActionCondition vetoes early (returns false) on some paths and defers to super.ActionCondition() otherwise — composes safely with vanilla's and earlier mods' conditions.
evg_customKeycards_Scripts.pbo::Scripts\4_World\UserActions\EVG_ActionModded.c:67
- DayZGame.OnRPC calls super.OnRPC() only on some paths — on the others the chain below this mod is dropped.
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 11 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 |
|---|---|---|---|---|
ActionCloseDoors.ActionCondition |
T2 | yes | conditional | evg_customKeycards_Scripts.pbo::Scripts\4_World\UserActions\EVG_ActionModded.c:131 |
ActionConstructor.RegisterActions |
— | yes | ✓ | evg_customKeycards_Scripts.pbo::Scripts\4_World\UserActions\EVG_ActionConstuctor.c:3 |
ActionLockDoors.ActionCondition |
T2 | yes | conditional | evg_customKeycards_Scripts.pbo::Scripts\4_World\UserActions\EVG_ActionModded.c:35 |
ActionLockedDoors.ActionCondition |
T2 | yes | conditional | evg_customKeycards_Scripts.pbo::Scripts\4_World\UserActions\EVG_ActionModded.c:3 |
ActionOpenDoors.ActionCondition |
T2 | yes | conditional | evg_customKeycards_Scripts.pbo::Scripts\4_World\UserActions\EVG_ActionModded.c:99 |
ActionUnlockDoors.ActionCondition |
T2 | yes | conditional | evg_customKeycards_Scripts.pbo::Scripts\4_World\UserActions\EVG_ActionModded.c:67 |
DayZGame.OnRPC |
T2 | yes | conditional | evg_customKeycards_Scripts.pbo::Scripts\3_Game\EVG_RPC.c:57 |
MissionServer.OnMissionStart |
T3 | yes | ✓ | evg_customKeycards_Scripts.pbo::Scripts\5_Mission\EVG_MissionServer.c:3 |
ModItemRegisterCallbacks.RegisterOneHanded |
— | yes | ✓ | evg_customKeycards_Scripts.pbo::Scripts\4_World\EVG_Misc.c:3 |
PlayerBase.OnConnect |
— | yes | ✓ | evg_customKeycards_Scripts.pbo::Scripts\4_World\EVG_PlayerBase.c:3 |
PlayerBase.SetActions |
T2 | yes | ✓ | evg_customKeycards_Scripts.pbo::Scripts\4_World\EVG_PlayerBase.c:23 |
Dispatch surfaces and timers the grade prices
| surface | tier | rate (Hz) | rate source | ms/s |
|---|---|---|---|---|
DayZGame.OnRPC | T2 | 8.0 | placeholder | 0.0002 |
PlayerBase.SetActions | T2 | 8.0 | placeholder | 0.0002 |
ActionLockedDoors.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
ActionLockDoors.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
ActionUnlockDoors.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
ActionOpenDoors.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
ActionCloseDoors.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
MissionServer.OnMissionStart | T3 | 0.1 | placeholder | 0.0000 |
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.
evg_customKeycards.pbo
evg_customKeycardsrequiredVersion 0.1 — requiresDZ_Dataevg_customKeycards_BarDoorrequiredVersion 0.1 — requiresDZ_Dataevg_customKeycards_CratesrequiredVersion 0.1 — requiresDZ_Dataevg_customKeycards_GaterequiredVersion 0.1 — requiresDZ_Dataevg_customKeycards_KeycardHoldersrequiredVersion 0.1 — requiresDZ_Dataevg_customKeycards_KeycardsrequiredVersion 0.1 — requiresDZ_Dataevg_customKeycards_OutsideDoorrequiredVersion 0.1 — requiresDZ_Dataevg_customKeycards_SimpleDoor1requiredVersion 0.1 — requiresDZ_Dataevg_customKeycards_SimpleDoor2requiredVersion 0.1 — requiresDZ_Dataevg_customKeycards_SimpleDoor3requiredVersion 0.1 — requiresDZ_Data
evg_customKeycards_Scripts.pbo
evg_customKeycards_Scripts— requiresDZ_Data,JM_CF_Scripts,evg_customKeycards
census 1.1 · findings 1.1 · hash ad2f588a2ee13142