DayZ-Bicycle
Description This mod is an attempt to add the bicycle back into the game. We have done animations for this - thats why the Survivor Animations mod needs to be installed. The bicycle is like the car, but there is obviously no need to start an engine or add fuel. The bicycle comes with a small inventory and we may add attachments possibly in the future. Arma Bicycles is separate addon due ADPL-SA license. How it works… (more)
Description This mod is an attempt to add the bicycle back into the game. We have done animations for this - thats why the Survivor Animations mod needs to be installed. The bicycle is like the car, but there is obviously no need to start an engine or add fuel. The bicycle comes with a small inventory and we may add attachments possibly in the future. Arma Bicycles is separate addon due ADPL-SA license. How it works Its basically car. It start engine when you get in. It will set gear to first as well. So after entering to bicycle just press W to move forward. Installation Install like any other mod. Dont forget install Survivor Animations as depedency. In mod folder are example xml files. Known Issues - incompatible mod: Expansion Animations - lights not yet implemented (will be using dynamo) - likely more Further Info No repacks allowed. Don't ask. Repacking is cancer of DayZ community. You are allowed to look into mod for learning purposes or if you want know how it works. Discord: https://discord.gg/49FvN7rRpF Any feedback welcome! -Hunterz- Credits Kamo - great help with blender animations and adjustments MarioE - general animation lessons Nazzgy - help with rvmats and models Sajid_Alfa - help with models RaG Tyson - help with models of vehicles, simulation and configs Chris P Bacon - sponsored model of bicycle Jacob Mango - hints regarding pedals synchronization
Patterns that can stall a single frame regardless of the load figure — see below.
2 chain breaks, all on specific classes the mod replaces wholesale — matters only if another mod patches the same classes.
0.000863% of each server frame at 100 players (0.009 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; 9 others share it. Ranked list.
Event hooks carry 99.9% of this mod's structural load. 0.009 ms/s in all.
13 hooks · 0.0086 ms/s
1 hook · 0.000002 ms/s
| Event hooksrun when something happens: an inventory move, a hit, an action | 13 hooks | 0.0086 ms/s | 99.9% | CombinationLock.OnItemLocationChanged, ItemBase.EEItemLocationChanged, ActionCarHornLong.ActionCondition and 10 more |
| Lifecycle hooksrun when an entity is created, loaded or deleted | 1 hook | 0.000002 ms/s | <0.1% | CombinationLock.AfterStoreLoad |
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.
OnTick
Only these classes are affected. Matters only if another mod in your stack patches the same classes.
2 classes
HungerMdfr, ThirstMdfr2 locations
Bicycle.pbo::scripts\4_World\modifiers.c:3Bicycle.pbo::scripts\4_World\modifiers.c:48Where 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 · 16 · warning
- ActionCarHornLong.ActionCondition returns true without consulting super.ActionCondition() on some paths — vanilla's conditions and every earlier-loaded mod's vetoes are bypassed there.
Bicycle.pbo::scripts\4_World\actions\actioncarhorn.c:99 - ActionCarHornShort.ActionCondition returns true without consulting super.ActionCondition() on some paths — vanilla's conditions and every earlier-loaded mod's vetoes are bypassed there.
Bicycle.pbo::scripts\4_World\actions\actioncarhorn.c:69 - AnimalBase.RegisterTransportHit calls super.RegisterTransportHit() only on some paths — on the others the chain below this mod is dropped.
Bicycle.pbo::scripts\4_World\entities\animalbase.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.
Bicycle.pbo::scripts\4_World\entities\core\BicycleCombinationLock.c:32 - CombinationLock.IsLockedOnParent returns true without consulting super.IsLockedOnParent() on some paths — vanilla's conditions and every earlier-loaded mod's vetoes are bypassed there.
Bicycle.pbo::scripts\4_World\entities\core\BicycleCombinationLock.c:40 - Environment.GetEnvironmentTemperature calls super.GetEnvironmentTemperature() only on some paths — on the others the chain below this mod is dropped.
Bicycle.pbo::scripts\4_World\environment.c:10 - Hologram.EvaluateCollision calls super.EvaluateCollision() only on some paths — on the others the chain below this mod is dropped.
Bicycle.pbo::scripts\4_World\entities\core\Hologram.c:3 - PlayerBase.CanBeTargetedByAI returns true without consulting super.CanBeTargetedByAI() on some paths — vanilla's conditions and every earlier-loaded mod's vetoes are bypassed there.
Bicycle.pbo::scripts\4_World\entities\playerbase.c:12 - PlayerBase.RegisterTransportHit calls super.RegisterTransportHit() only on some paths — on the others the chain below this mod is dropped.
Bicycle.pbo::scripts\4_World\entities\playerbase.c:52 - ZombieBase.FightAttackLogic returns true without consulting super.FightAttackLogic() on some paths — vanilla's conditions and every earlier-loaded mod's vetoes are bypassed there.
Bicycle.pbo::scripts\4_World\entities\zombiebase.c:45 - ZombieBase.RegisterTransportHit calls super.RegisterTransportHit() only on some paths — on the others the chain below this mod is dropped.
Bicycle.pbo::scripts\4_World\entities\zombiebase.c:3 - ActionGetInTransport.ActionCondition vetoes early (returns false) on some paths and defers to super.ActionCondition() otherwise — composes safely with vanilla's and earlier mods' conditions.
Bicycle.pbo::scripts\4_World\actions\actiongetintransport.c:3 - ActionPushCar.ActionCondition vetoes early (returns false) on some paths and defers to super.ActionCondition() otherwise — composes safely with vanilla's and earlier mods' conditions.
Bicycle.pbo::scripts\4_World\actions\actionpushcar.c:4 - ActionStartEngine.ActionCondition vetoes early (returns false) on some paths and defers to super.ActionCondition() otherwise — composes safely with vanilla's and earlier mods' conditions.
Bicycle.pbo::scripts\4_World\actions\actiongetintransport.c:16 - ActionStopEngine.ActionCondition vetoes early (returns false) on some paths and defers to super.ActionCondition() otherwise — composes safely with vanilla's and earlier mods' conditions.
Bicycle.pbo::scripts\4_World\actions\actiongetintransport.c:26 - Environment.DetermineHeatcomfortBehavior vetoes early (returns false) on some paths and defers to super.DetermineHeatcomfortBehavior() otherwise — composes safely with vanilla's and earlier mods' conditions.
Bicycle.pbo::scripts\4_World\environment.c:26
- ActionCarHornLong.ActionCondition returns true without consulting super.ActionCondition() on some paths — vanilla's conditions and every earlier-loaded mod's vetoes are bypassed there.
Checks answered without super() · 2 · warning
- EmoteManager.CanPlayEmote returns its own answer without consulting super.CanPlayEmote() — vanilla's conditions on this check, and those of every earlier-loaded mod, no longer apply. Intended when a mod owns the rule outright; otherwise it is how another mod's restriction quietly stops working.
Bicycle.pbo::scripts\4_World\emotemanager.c:4 - Environment.IsInsideVehicle returns its own answer without consulting super.IsInsideVehicle() — vanilla's conditions on this check, and those of every earlier-loaded mod, no longer apply. Intended when a mod owns the rule outright; otherwise it is how another mod's restriction quietly stops working.
Bicycle.pbo::scripts\4_World\environment.c:4
- EmoteManager.CanPlayEmote returns its own answer without consulting super.CanPlayEmote() — vanilla's conditions on this check, and those of every earlier-loaded mod, no longer apply. Intended when a mod owns the rule outright; otherwise it is how another mod's restriction quietly stops working.
Timers created inside event paths · 1 · heuristic
- ItemBase.EEItemLocationChanged (T2) registers timers inside a per-event path (CallLater). If these are not cleaned up, each live timer costs ~140 ns/frame of queue residency and the count grows with player activity — verify the cleanup path by reading the code.
Bicycle.pbo::scripts\4_World\entities\core\ItemBase.c:4
- ItemBase.EEItemLocationChanged (T2) registers timers inside a per-event path (CallLater). If these are not cleaned up, each live timer costs ~140 ns/frame of queue residency and the count grows with player activity — verify the cleanup path by reading the code.
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 35 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 |
|---|---|---|---|---|
ActionCarHornLong.ActionCondition |
T2 | yes | conditional | Bicycle.pbo::scripts\4_World\actions\actioncarhorn.c:99 |
ActionCarHornShort.ActionCondition |
T2 | yes | conditional | Bicycle.pbo::scripts\4_World\actions\actioncarhorn.c:69 |
ActionCombinationLockUnlock.ActionCondition |
T2 | yes | ✓ | Bicycle.pbo::scripts\4_World\entities\core\BicycleCombinationLock.c:123 |
ActionConstructor.RegisterActions |
— | yes | ✓ | Bicycle.pbo::scripts\4_World\actions\ActionConstructor.c:3 |
ActionDialCombinationLockOnTarget.ActionCondition |
T2 | yes | ✓ | Bicycle.pbo::scripts\4_World\entities\core\BicycleCombinationLock.c:63 |
ActionGetInTransport.ActionCondition |
T2 | yes | conditional | Bicycle.pbo::scripts\4_World\actions\actiongetintransport.c:3 |
ActionNextCombinationLockDialOnTarget.ActionCondition |
T2 | yes | ✓ | Bicycle.pbo::scripts\4_World\entities\core\BicycleCombinationLock.c:93 |
ActionPushCar.ActionCondition |
T2 | yes | conditional | Bicycle.pbo::scripts\4_World\actions\actionpushcar.c:4 |
ActionStartEngine.ActionCondition |
T2 | yes | conditional | Bicycle.pbo::scripts\4_World\actions\actiongetintransport.c:16 |
ActionStopEngine.ActionCondition |
T2 | yes | conditional | Bicycle.pbo::scripts\4_World\actions\actiongetintransport.c:26 |
AnimalBase.RegisterTransportHit |
— | yes | conditional | Bicycle.pbo::scripts\4_World\entities\animalbase.c:3 |
CombinationLock.OnItemLocationChanged |
T2 | yes | ✓ | Bicycle.pbo::scripts\4_World\entities\core\BicycleCombinationLock.c:8 |
CombinationLock.AfterStoreLoad |
T3 | yes | ✓ | Bicycle.pbo::scripts\4_World\entities\core\BicycleCombinationLock.c:20 |
CombinationLock.IsLockAttached |
— | yes | conditional | Bicycle.pbo::scripts\4_World\entities\core\BicycleCombinationLock.c:32 |
CombinationLock.IsLockedOnParent |
— | yes | conditional | Bicycle.pbo::scripts\4_World\entities\core\BicycleCombinationLock.c:40 |
CombinationLock.SetActions |
T2 | yes | ✓ | Bicycle.pbo::scripts\4_World\entities\core\BicycleCombinationLock.c:54 |
DayZPlayerImplement.ModCommandHandlerInside |
— | yes | ✓ | Bicycle.pbo::scripts\4_World\DayZPlayerImplement.c:6 |
DayZPlayerImplementSwimming.HandleSwimming |
— | yes | ✓ | Bicycle.pbo::scripts\4_World\dayzplayerimplementswimming.c:5 |
EmoteManager.CanPlayEmote |
— | yes | ✗ none | Bicycle.pbo::scripts\4_World\emotemanager.c:4 |
Environment.IsInsideVehicle |
— | yes | ✗ none | Bicycle.pbo::scripts\4_World\environment.c:4 |
Environment.GetEnvironmentTemperature |
— | yes | conditional | Bicycle.pbo::scripts\4_World\environment.c:10 |
Environment.DetermineHeatcomfortBehavior |
— | yes | conditional | Bicycle.pbo::scripts\4_World\environment.c:26 |
Hologram.EvaluateCollision |
— | yes | conditional | Bicycle.pbo::scripts\4_World\entities\core\Hologram.c:3 |
HungerMdfr.OnTick |
— | yes | ✗ none | Bicycle.pbo::scripts\4_World\modifiers.c:3 |
ItemBase.EEItemLocationChanged |
T2 | yes | ✓ | Bicycle.pbo::scripts\4_World\entities\core\ItemBase.c:4 |
ModItemRegisterCallbacks.RegisterTwoHanded |
— | yes | ✓ | Bicycle.pbo::scripts\4_World\entities\core\AnimRegisterIK.c:3 |
ModItemRegisterCallbacks.RegisterHeavy |
— | yes | ✓ | Bicycle.pbo::scripts\4_World\entities\core\AnimRegisterIK.c:12 |
PlayerBase.CanBeTargetedByAI |
— | yes | conditional | Bicycle.pbo::scripts\4_World\entities\playerbase.c:12 |
PlayerBase.OnVehicleSeatDriverEnter |
— | yes | ✓ | Bicycle.pbo::scripts\4_World\entities\playerbase.c:25 |
PlayerBase.OnVehicleSeatDriverLeft |
— | yes | ✓ | Bicycle.pbo::scripts\4_World\entities\playerbase.c:45 |
PlayerBase.RegisterTransportHit |
— | yes | conditional | Bicycle.pbo::scripts\4_World\entities\playerbase.c:52 |
ThirstMdfr.OnTick |
— | yes | ✗ none | Bicycle.pbo::scripts\4_World\modifiers.c:48 |
Wrench.SetActions |
T2 | yes | ✓ | Bicycle.pbo::scripts\4_World\entities\wrench.c:3 |
ZombieBase.RegisterTransportHit |
— | yes | conditional | Bicycle.pbo::scripts\4_World\entities\zombiebase.c:3 |
ZombieBase.FightAttackLogic |
— | yes | conditional | Bicycle.pbo::scripts\4_World\entities\zombiebase.c:45 |
Dispatch surfaces and timers the grade prices
| surface | tier | rate (Hz) | rate source | ms/s |
|---|---|---|---|---|
CombinationLock.OnItemLocationChanged | T2 | 130.0 | measured | 0.0032 |
ItemBase.EEItemLocationChanged | T2 | 130.0 | measured | 0.0032 |
ActionCarHornShort.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
ActionCarHornLong.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
ActionGetInTransport.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
ActionStartEngine.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
ActionStopEngine.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
ActionPushCar.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
CombinationLock.SetActions | T2 | 8.0 | placeholder | 0.0002 |
ActionDialCombinationLockOnTarget.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
ActionNextCombinationLockDialOnTarget.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
ActionCombinationLockUnlock.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
Wrench.SetActions | T2 | 8.0 | placeholder | 0.0002 |
CombinationLock.AfterStoreLoad | T3 | 0.1 | placeholder | 0.0000 |
Includes 0.002 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.
0_DayzBicycleDefines.pbo
DayzBicycleDefinesrequiredVersion 0.1 — no requiredAddons
Bicycle.pbo
BicyclerequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_Camping,DZ_Vehicles_Wheeled,DZ_Sounds_Effects,DZ_Scripts
census 1.1 · findings 1.1 · hash 393774b228b72a6f