Lightsword
This mod includes multiple models of Lightsword's that is very effective against anything that is thrown at you. Custom sounds for the sword were created just for this mod. Custom script for retracting the blade allowing for the best experience. Objective is to create a mod that creates a new environment for DayZ, expanding the feeling. Any ideas/ suggestions you have for the mod leave a post in the comment section… (more)
This mod includes multiple models of Lightsword's that is very effective against anything that is thrown at you. Custom sounds for the sword were created just for this mod. Custom script for retracting the blade allowing for the best experience. Objective is to create a mod that creates a new environment for DayZ, expanding the feeling. Any ideas/ suggestions you have for the mod leave a post in the comment section down below. I hope you enjoy want this mod brings! - The lightsword gives off a light source - Extends and retracts - Requires diatium power cell to operate - Realistic sounds - Unique sounds for each saber - Powerful blow to any sort of enemy Unique blades Normal Lightsword Enemy has a chance of living depending on the armor OVERKILL Lightsword Enemy is definitely not living through a hit unless they're cheating Upcoming Features: - More Lightsword variants? - Weapons? - Clothing? iKR0GH#0157 from RESONATE DayZ server donated - Cloak nswett2014#0215 from Mandalore RP DayZ server donated - Darksaber Crocodoc#8532 from Modder has donated - Mandalorian Helmet 2 Draad#6204 a Modeller has donated - Beskar Spear 1st Lightsaber/ Scripts: Cashew-san Importing New Models: tteett Sounds: Zakhar Model: Luke Skywalker Lightsaber created by pep168999 Model: Rey Skywalker Lightsaber created by Filip Włodarczyk Model: Obi Wan Lightsaber created by thedocinabox Model: Ahsoka Tano Lightsaber created by SiabarGroot Model: Mace Windu Lightsaber created by art_em Model: Sith Lightsaber created by Unknown (no longer can find) Model: Count Dooku Lightsaber created by art_em Model: Darksaber created by HELL Model: Beskar Spear created by Draad#6204 Model: Stormtrooper Helmet created by Trector Model: Mandalorian Helmet created by Trector Model: Mandalorian Helmet 2 created by McCarthy3D Model: Cloak created by dustypeek#9836 Model: Baby Yoda Plush created by Nom I do not authorize this to be re-packed, re-uploaded, or modified in any way.
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.000 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; 36 others share it. Ranked list.
Event hooks carry 99.8% of this mod's structural load. 0.000 ms/s in all.
1 hook · 0.0002 ms/s
| Event hooksrun when something happens: an inventory move, a hit, an action | 1 hook | 0.0002 ms/s | 99.8% | ActionTurnOnWhileInHands.ActionCondition |
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 · 1 · warning
- ActionTurnOnWhileInHands.OnExecuteServer calls super.OnExecuteServer() only on some paths — on the others the chain below this mod is dropped.
Lightsaber.pbo::scripts\4_world\classes\useractionscomponent\actions\singleuse\ActionTurnOnWhileInHands.c:81
- ActionTurnOnWhileInHands.OnExecuteServer calls super.OnExecuteServer() 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 4 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 |
|---|---|---|---|---|
ActionTurnOnWhileInHands.ActionCondition |
T2 | yes | ✓ | Lightsaber.pbo::scripts\4_world\classes\useractionscomponent\actions\singleuse\ActionTurnOnWhileInHands.c:70 |
ActionTurnOnWhileInHands.OnExecuteServer |
— | yes | conditional | Lightsaber.pbo::scripts\4_world\classes\useractionscomponent\actions\singleuse\ActionTurnOnWhileInHands.c:81 |
ModItemRegisterCallbacks.RegisterOneHanded |
— | yes | ✓ | Lightsaber.pbo::scripts\4_world\entities\manbase\dayzplayer\AnimRegistration.c:3 |
ModItemRegisterCallbacks.RegisterPoleArms |
— | yes | ✓ | Lightsaber.pbo::scripts\4_world\entities\manbase\dayzplayer\AnimRegistration.c:14 |
Dispatch surfaces and timers the grade prices
| surface | tier | rate (Hz) | rate source | ms/s |
|---|---|---|---|---|
ActionTurnOnWhileInHands.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
Includes 0.000 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.
Lightsaber.pbo
LightsaberrequiredVersion 0.1 — requiresDZ_DataLightsaber_HeadgearrequiredVersion 0.1 — requiresDZ_Characters_Headgear,DZ_DataLightsaber_WeaponsrequiredVersion 0.1 — requiresDZ_Data,DZ_Weapons_Projectiles,DZ_Weapons_Melee,DZ_Weapons_Firearms,DZ_Gear_Consumablestteett_Lightsaber_SoundsrequiredVersion 0.1 — requiresDZ_DataLightsaber_Other_WeaponsrequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_Crafting,DZ_Weapons_MeleeLightsaber_PropsrequiredVersion 0.1 — requiresDZ_Gear_Containers,DZ_Data
census 1.1 · findings 1.1 · hash 75151e11190004e7