Kamaz_Truck
Kamaz Truck This is still WIP do not hesitate to report any issue Car Specifications & features: 10 seats (Driver, codriver, 8 rear seats) for Kamaz and Kamaz Covered Cargo: 450slots for KamazCargo /Kamaz & KamazCovered - 250for KamazFuel Drive: 6 Wheels Transmission: 5-speed manual Fuel capacity: 175L Spare tire slot available Animated suspension/cabin/fuelPump/SideBox/Switch buttons for the lights on the dashboard… (more)
Kamaz Truck This is still WIP do not hesitate to report any issue Car Specifications & features: 10 seats (Driver, codriver, 8 rear seats) for Kamaz and Kamaz Covered Cargo: 450slots for KamazCargo /Kamaz & KamazCovered - 250for KamazFuel Drive: 6 Wheels Transmission: 5-speed manual Fuel capacity: 175L Spare tire slot available Animated suspension/cabin/fuelPump/SideBox/Switch buttons for the lights on the dashboard Working speedometer, tachometer, fuel level, radiator fluid level Glass damage Working lights (headlights, rear, reverse, brake) Known issues/inaccuracies: No phyisics on the tent for Kamaz and KamazCargo Classnames & required parts: Car ClassName Kamaz KamazFuel KamazFuel_Shell KamazFuel_White KamazFuel_Civ_Orange KamazCovered KamazCovered_Winter KamazCovered_Civ_Orange_Blue KamazCovered_Civ_Red KamazCovered_Civ_Blue KamazCovered_Civ_Yellow KamazCargo Driver Door KamazDoors_Driver KamazDoors_Driver_Winter KamazDoors_Driver_Civ_Orange KamazDoors_Driver_Civ_Red KamazDoors_Driver_Civ_Blue KamazDoors_Driver_Civ_Yellow KamazDoors_Driver_Shell KamazDoors_Driver_Fuel_White KamazDoors_Driver_Fuel_Orange CoDriver Door KamazDoors_CoDriver KamazDoors_CoDriver_Winter KamazDoors_CoDriver_Civ_Orange KamazDoors_CoDriver_Civ_Red KamazDoors_CoDriver_Civ_Blue KamazDoors_CoDriver_Civ_Yellow KamazDoors_CoDriver_Shell KamazDoors_CoDriver_Fuel_White KamazDoors_CoDriver_Fuel_Orange Hood KamazHood KamazHood_Winter KamazHood_Civ_Orange KamazHood_Civ_Red KamazHood_Civ_Blue KamazHood_Civ_Yellow KamazHood_Shell KamazHood_Fuel_White KamazHood_Fuel_Orange trunk KamazTrunk KamazTrunk_Winter KamazTrunk_Civ_Orange_Blue KamazTrunk_Civ_Green Attachments SparkPlug TruckBattery CarRadiator HeadlightH7 2x KamazWheel 6x Kamaz Spare Wheel For Cargo: 4x Barrels / 3x Wooden Crate / 100x Planks / 50x Wooden Logs / 40x Metal Sheet For KamazFuel: 1x Kamaz_fuelPump For KamazCargo & Kamaz : 1x FirstAidKit / 1x Kamaz_Tent For KamazCovered : 1x FirstAidKit Thanks to DeanosBeano, NotABanana, Nehr for your help ! You may not reupload/modify/build on this mod You may not redistribute this mod without my permission You may monetize your server with my mod installed (if approved by BI) Add me if you want custom version of this car to be made for your server (€) Please Rate the mod, comment your issues below and i will try to find time and help you :) If you like my work and want more, you can help me here. Donation:
No file I/O on hot paths, no timers created per event, no per-player-per-frame hooks.
2 chain breaks, all on specific classes the mod replaces wholesale — matters only if another mod patches the same classes.
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; 32 others share it. Ranked list.
Event hooks carry 99.8% of this mod's structural load. 0.001 ms/s in all.
5 hooks · 0.00099 ms/s
| Event hooksrun when something happens: an inventory move, a hit, an action | 5 hooks | 0.00099 ms/s | 99.8% | ActionGetInTransport.ActionCondition, ActionSwitchSeats.ActionCondition, FirstAidKit.SetActions and 2 more |
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.
CreateConditionComponents
Only this class is affected. Matters only if another mod in your stack patches the same class.
1 class
ActionSwitchSeats1 location
MDZ_Kamaz_core.pbo::Scripts\4_World\classes\useractionscomponent\actions\singleuse\vehicles\ActionSwitchSeats.c:3ParticleCookingStart
Only this class is affected. Matters only if another mod in your stack patches the same class.
1 class
Bottle_Base1 location
MDZ_Kamaz_core.pbo::Scripts\4_World\entities\ItemBase\bottle_base.c:3Where 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 · 2 · warning
- FryingPan.ParticleCookingStart calls super.ParticleCookingStart() only on some paths — on the others the chain below this mod is dropped.
MDZ_Kamaz_core.pbo::Scripts\4_World\entities\ItemBase\fryingpan.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.
MDZ_Kamaz_core.pbo::Scripts\4_World\classes\useractionscomponent\actions\interact\ActionGetInTransport.c:3
- FryingPan.ParticleCookingStart calls super.ParticleCookingStart() 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 12 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 | ✓ | MDZ_Kamaz_core.pbo::Scripts\4_World\classes\useractionscomponent\actionconstructor.c:3 |
ActionGetInTransport.ActionCondition |
T2 | yes | conditional | MDZ_Kamaz_core.pbo::Scripts\4_World\classes\useractionscomponent\actions\interact\ActionGetInTransport.c:3 |
ActionSwitchSeats.CreateConditionComponents |
— | yes | ✗ none | MDZ_Kamaz_core.pbo::Scripts\4_World\classes\useractionscomponent\actions\singleuse\vehicles\ActionSwitchSeats.c:3 |
ActionSwitchSeats.ActionCondition |
T2 | yes | ✓ | MDZ_Kamaz_core.pbo::Scripts\4_World\classes\useractionscomponent\actions\singleuse\vehicles\ActionSwitchSeats.c:11 |
Bottle_Base.ParticleCookingStart |
— | yes | ✗ none | MDZ_Kamaz_core.pbo::Scripts\4_World\entities\ItemBase\bottle_base.c:3 |
Edible_Base.SoundCookingStart |
— | yes | ✓ | MDZ_Kamaz_core.pbo::Scripts\4_World\entities\ItemBase\edible_base.c:3 |
FirstAidKit.SetActions |
T2 | yes | ✓ | MDZ_Kamaz_core.pbo::Scripts\4_World\entities\game\super\firstaidkit.c:3 |
FryingPan.ParticleCookingStart |
— | yes | conditional | MDZ_Kamaz_core.pbo::Scripts\4_World\entities\ItemBase\fryingpan.c:3 |
FuelStation.OnVariablesSynchronized |
T2 | yes | ✓ | MDZ_Kamaz_core.pbo::Scripts\4_World\entities\buildings\fuelstation.c:32 |
FuelStation.DeferredInit |
— | yes | ✓ | MDZ_Kamaz_core.pbo::Scripts\4_World\entities\buildings\fuelstation.c:50 |
ModItemRegisterCallbacks.RegisterHeavy |
— | yes | ✓ | MDZ_Kamaz_core.pbo::Scripts\4_World\entities\vehicles\manbase\ModItemRegisterCallbacks.c:3 |
Wrench.SetActions |
T2 | yes | ✓ | MDZ_Kamaz_core.pbo::Scripts\4_World\entities\ItemBase\Wrench.c:3 |
Dispatch surfaces and timers the grade prices
| surface | tier | rate (Hz) | rate source | ms/s |
|---|---|---|---|---|
ActionGetInTransport.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
ActionSwitchSeats.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
FuelStation.OnVariablesSynchronized | T2 | 8.0 | placeholder | 0.0002 |
FirstAidKit.SetActions | T2 | 8.0 | placeholder | 0.0002 |
Wrench.SetActions | T2 | 8.0 | placeholder | 0.0002 |
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.
MDZ_Kamaz.pbo
MD_Vehicles_KamazrequiredVersion 0.1 — requiresDZ_Vehicles_Wheeled,DZ_Vehicles_Parts,DZ_Sounds_Effects,DZ_Data,MDZ_Kamaz_CoreMDZ_Kamaz_GUIrequiredVersion 0.1 — requiresDZ_DataMDZ_Kamaz_Gear_PortableGasStoverequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_CookingMDZ_Kamaz_ScriptsrequiredVersion 0.1 — requiresDZ_DataMDZ_Kamaz_datarequiredVersion 0.1 — requiresDZ_Vehicles_Wheeled,DZ_Vehicles_Parts,DZ_Sounds_Effects,DZ_Gear_Containers,DZ_Gear_Consumables,DZ_Gear_Camping,DZ_Gear_Cooking,DZ_Gear_Tools,DZ_Data
MDZ_Kamaz_core.pbo
MDZ_Kamaz_CorerequiredVersion 0.1 — requiresDZ_DataMDZ_Kamaz_Core_GUIrequiredVersion 0.1 — requiresDZ_DataMDZ_Kamaz_Core_ScriptsrequiredVersion 0.1 — requiresDZ_Data
census 1.1 · findings 1.1 · hash 35be2d1ab61c8db1