MaharlikaPH_Boats
This mod contains custom boats based on the vanilla BoatScript. Originally exclusive to Maharlika PH DayZ Server, I am now publishing this mod for everyone. Purchased all models from CGTrader. Currently contains: - Yacht - RHIB - Jet Ski - Craftable Wooden Boat - Sailboat - Fishing Trawler (Has 20% chance to catch fish per 100 meters traveled - can be changed in config) - Catamaran - Houseboat (Credits to… (more)
This mod contains custom boats based on the vanilla BoatScript. Originally exclusive to Maharlika PH DayZ Server, I am now publishing this mod for everyone. Purchased all models from CGTrader. Currently contains: - Yacht - RHIB - Jet Ski - Craftable Wooden Boat - Sailboat - Fishing Trawler (Has 20% chance to catch fish per 100 meters traveled - can be changed in config) - Catamaran - Houseboat (Credits to Spaghettieis for the P3D) - Airboat - Interceptor (Credits to Llama for the shooting script) Current features: - You can flip capsized boats. - You can cook in Yacht, Sailboat, Catamaran and Houseboat. (Can be disabled in config) - You can drink water and refill water from the Yacht, Sailboat, Catamaran and Houseboat's faucet. (Can be disabled in config) - Sailboat has a working fridge. (Will keep food fresh - can be disabled in config) - Sailboat has a working washing machine. (Will repair clothes - can be disabled in config) - You can catch fish by driving the Fishing Trawler. (Configurable via config) Planned Boats: - Speedboat Planned Features: - Cruise control in yacht and RHIB. Known Issues: - RHIB and Jet Skis may roll over. (Just control your speed. Slow down before steering left/right.) Special Thanks to: Deanos Beano (Learned the vehicle fundamentals from him) Enfusion Modders HunterzCZ RaG Llama Spaghettieis Soft Dependency: The Jet Ski has a soft dependency on Survivor Animations for a proper animation, it is not required though. Link to Survivor Animations: https://steamcommunity.com/sharedfiles/filedetails/?id=2918418331 Key and Types.xml is inside. If you like the mod, please thumbs up. Thanks! If you want to give suggestions or report bugs, feel free to reach out via Discord. Monetization and Repacking This mod is not allowed to be repacked or reuploaded. However, you are allowed to monetize this on your approved Monetized Server. Read more here: Monetization Any "Can i repack" questions will be ignored. The Answer is no. Don't even ask. That includes including the PBOs in a server pack or in a map mod. I do not accept commissioned work.
No file I/O on hot paths, no timers created per event, no per-player-per-frame hooks.
1 chain break on base classes or persisted data. 2 more are whole-class replacements of specific classes.
0.0285% of each server frame at 100 players (0.285 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; 25 others share it. Ranked list.
Repeating timers carry 99% of this mod's structural load. 0.285 ms/s in all.
8 hooks · 0.0016 ms/s
11 hooks · 0.000022 ms/s
2 timers · 0.28 ms/s
| Event hooksrun when something happens: an inventory move, a hit, an action | 8 hooks | 0.0016 ms/s | 0.6% | ActionGetOutTransport.ActionCondition, Hammer.SetActions, Hatchet.SetActions and 1 more |
| Lifecycle hooksrun when an entity is created, loaded or deleted | 11 hooks | 0.000022 ms/s | <0.1% | MissionServer.InvokeOnConnect, MissionServer.OnInit |
| Repeating timersstay in the timer queue, which is walked every frame | 2 timers | 0.28 ms/s | 99% | 2 × every 15 ms |
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
3 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.
Edible_Base.SoundCookingStart
Vanilla's work on this method, and any earlier-loaded mod's, never runs for any Edible_Base.
MaharlikaPH_Boats_Core.pbo::scripts\4_world\entities\items\modded\Edible_Base.c:35ParticleCookingStart
Only these classes are affected. Matters only if another mod in your stack patches the same classes.
2 classes
Bottle_Base, FryingPan2 locations
MaharlikaPH_Boats_Core.pbo::scripts\4_world\entities\items\modded\Bottle_Base.c:3MaharlikaPH_Boats_Core.pbo::scripts\4_world\entities\items\modded\FryingPan.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 · 6 · warning
- Hologram.EvaluateCollision calls super.EvaluateCollision() only on some paths — on the others the chain below this mod is dropped.
Van_WoodenBoat.pbo::scripts\4_world\Hologram\Hologram.c:35 - Hologram.GetProjectionEntityPosition calls super.GetProjectionEntityPosition() only on some paths — on the others the chain below this mod is dropped.
Van_WoodenBoat.pbo::scripts\4_world\Hologram\Hologram.c:59 - Hologram.GetProjectionName calls super.GetProjectionName() only on some paths — on the others the chain below this mod is dropped.
Van_WoodenBoat.pbo::scripts\4_world\Hologram\Hologram.c:23 - Hologram.RefreshVisual calls super.RefreshVisual() only on some paths — on the others the chain below this mod is dropped.
Van_WoodenBoat.pbo::scripts\4_world\Hologram\Hologram.c:47 - PlayerBase.CameraHandler calls super.CameraHandler() only on some paths — on the others the chain below this mod is dropped.
Van_PatrolBoat.pbo::scripts\4_World\Van_PatrolBoat\modded\Van_PatrolBoat_PlayerBase.c:122 - ActionGetOutTransport.ActionCondition vetoes early (returns false) on some paths and defers to super.ActionCondition() otherwise — composes safely with vanilla's and earlier mods' conditions.
Van_PatrolBoat.pbo::scripts\4_World\Van_PatrolBoat\actions\modded\ActionGetOutTransport.c:3
- Hologram.EvaluateCollision calls super.EvaluateCollision() only on some paths — on the others the chain below this mod is dropped.
Several overrides of one hot surface · 1 · info
- 5 overrides of PlayerBase.OnRPC within this mod.
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 48 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 | ✓ | MaharlikaPH_Boats_Core.pbo::scripts\4_world\classes\actions\ActionConstructor.c:3 |
ActionConstructor.RegisterActions |
— | yes | ✓ | Van_Airboat.pbo::scripts\4_World\van_airboat\Actions\ActionConstructor.c:3 |
ActionConstructor.RegisterActions |
— | yes | ✓ | Van_Catamaran.pbo::scripts\4_World\van_catamaran\Actions\ActionConstructor.c:3 |
ActionConstructor.RegisterActions |
— | yes | ✓ | Van_FishingTrawler.pbo::scripts\4_world\van_fishingtrawler\Actions\ActionConstructor.c:3 |
ActionConstructor.RegisterActions |
— | yes | ✓ | Van_HouseBoat.pbo::scripts\4_World\Van_HouseBoat\actions\ActionConstructor.c:3 |
ActionConstructor.RegisterActions |
— | yes | ✓ | Van_Jetski.pbo::scripts\4_world\Actions\ActionConstructor.c:3 |
ActionConstructor.RegisterActions |
— | yes | ✓ | Van_PatrolBoat.pbo::scripts\4_World\Van_PatrolBoat\actions\ActionConstructor.c:3 |
ActionConstructor.RegisterActions |
— | yes | ✓ | Van_RHIB.pbo::scripts\4_world\Actions\ActionConstructor.c:3 |
ActionConstructor.RegisterActions |
— | yes | ✓ | Van_Sailboat.pbo::scripts\4_world\van_sailboat\Actions\ActionConstructor.c:3 |
ActionConstructor.RegisterActions |
— | yes | ✓ | Van_WoodenBoat.pbo::scripts\4_world\Actions\ActionConstructor.c:3 |
ActionConstructor.RegisterActions |
— | yes | ✓ | Van_Yacht.pbo::scripts\4_world\van_yacht\Actions\ActionConstructor.c:3 |
ActionGetInTransport.OnEnd |
— | yes | ✓ | Van_PatrolBoat.pbo::scripts\4_World\Van_PatrolBoat\actions\modded\ActionGetInTransport.c:3 |
ActionGetOutTransport.ActionCondition |
T2 | yes | conditional | Van_PatrolBoat.pbo::scripts\4_World\Van_PatrolBoat\actions\modded\ActionGetOutTransport.c:3 |
ActionGetOutTransport.OnStart |
— | yes | ✓ | Van_PatrolBoat.pbo::scripts\4_World\Van_PatrolBoat\actions\modded\ActionGetOutTransport.c:21 |
Bottle_Base.ParticleCookingStart |
— | yes | ✗ none | MaharlikaPH_Boats_Core.pbo::scripts\4_world\entities\items\modded\Bottle_Base.c:3 |
DayZPlayerCameras.RegisterCameras |
— | yes | ✓ | Van_PatrolBoat.pbo::scripts\4_World\Van_PatrolBoat\modded\DayZPlayerCameras.c:15 |
DayZPlayerCameras.OnCameraChange |
— | yes | conditional | Van_PatrolBoat.pbo::scripts\4_World\Van_PatrolBoat\modded\DayZPlayerCameras.c:24 |
Edible_Base.SoundCookingStart |
— | yes | ✗ none | MaharlikaPH_Boats_Core.pbo::scripts\4_world\entities\items\modded\Edible_Base.c:35 |
FryingPan.ParticleCookingStart |
— | yes | ✗ none | MaharlikaPH_Boats_Core.pbo::scripts\4_world\entities\items\modded\FryingPan.c:3 |
Hammer.SetActions |
T2 | yes | ✓ | Van_WoodenBoat.pbo::scripts\4_world\Entities\items\Tools.c:3 |
Hatchet.SetActions |
T2 | yes | ✓ | Van_WoodenBoat.pbo::scripts\4_world\Entities\items\Tools.c:12 |
Hologram.UpdateHologram |
— | yes | ✓ | Van_WoodenBoat.pbo::scripts\4_world\Hologram\Hologram.c:3 |
Hologram.GetProjectionName |
— | yes | conditional | Van_WoodenBoat.pbo::scripts\4_world\Hologram\Hologram.c:23 |
Hologram.EvaluateCollision |
— | yes | conditional | Van_WoodenBoat.pbo::scripts\4_world\Hologram\Hologram.c:35 |
Hologram.RefreshVisual |
— | yes | conditional | Van_WoodenBoat.pbo::scripts\4_world\Hologram\Hologram.c:47 |
Hologram.GetProjectionEntityPosition |
— | yes | conditional | Van_WoodenBoat.pbo::scripts\4_world\Hologram\Hologram.c:59 |
MissionGameplay.CreateScriptedMenu |
— | yes | ✓ | Van_PatrolBoat.pbo::scripts\5_Mission\MissionGameplay.c:3 |
MissionServer.OnInit |
T3 | yes | ✓ | Van_Catamaran.pbo::scripts\5_Mission\van_catamaran\MissionServer.c:3 |
MissionServer.InvokeOnConnect |
T3 | yes | ✓ | Van_Catamaran.pbo::scripts\5_Mission\van_catamaran\MissionServer.c:12 |
MissionServer.OnInit |
T3 | yes | ✓ | Van_FishingTrawler.pbo::scripts\5_Mission\MissionServer.c:5 |
MissionServer.OnInit |
T3 | yes | ✓ | Van_HouseBoat.pbo::scripts\5_Mission\van_houseboat\MissionServer.c:3 |
MissionServer.InvokeOnConnect |
T3 | yes | ✓ | Van_HouseBoat.pbo::scripts\5_Mission\van_houseboat\MissionServer.c:12 |
MissionServer.OnInit |
T3 | yes | ✓ | Van_PatrolBoat.pbo::scripts\5_Mission\MissionServer.c:3 |
MissionServer.InvokeOnConnect |
T3 | yes | ✓ | Van_PatrolBoat.pbo::scripts\5_Mission\MissionServer.c:12 |
MissionServer.OnInit |
T3 | yes | ✓ | Van_Sailboat.pbo::scripts\5_Mission\van_sailboat\MissionServer.c:3 |
MissionServer.InvokeOnConnect |
T3 | yes | ✓ | Van_Sailboat.pbo::scripts\5_Mission\van_sailboat\MissionServer.c:20 |
MissionServer.OnInit |
T3 | yes | ✓ | Van_Yacht.pbo::scripts\5_Mission\van_yacht\MissionServer.c:3 |
MissionServer.InvokeOnConnect |
T3 | yes | ✓ | Van_Yacht.pbo::scripts\5_Mission\van_yacht\MissionServer.c:12 |
ModItemRegisterCallbacks.RegisterHeavy |
— | yes | ✓ | MaharlikaPH_Boats_Core.pbo::scripts\4_world\entities\manbase\dayzplayer\playerbase.c:3 |
ModItemRegisterCallbacks.RegisterHeavy |
— | yes | ✓ | Van_WoodenBoat.pbo::scripts\4_world\Entities\core\inherited\playerbase.c:3 |
PlayerBase.OnRPC |
T2 | yes | ✓ | Van_Catamaran.pbo::scripts\4_World\van_catamaran\Modded\PlayerBase.c:3 |
PlayerBase.OnRPC |
T2 | yes | ✓ | Van_HouseBoat.pbo::scripts\4_World\Van_HouseBoat\modded\PlayerBase.c:3 |
PlayerBase.OnRPC |
T2 | yes | ✓ | Van_PatrolBoat.pbo::scripts\4_World\Van_PatrolBoat\modded\Van_PatrolBoat_PlayerBase.c:7 |
PlayerBase.OnCommandDeathStart |
— | yes | ✓ | Van_PatrolBoat.pbo::scripts\4_World\Van_PatrolBoat\modded\Van_PatrolBoat_PlayerBase.c:67 |
PlayerBase.CameraHandler |
— | yes | conditional | Van_PatrolBoat.pbo::scripts\4_World\Van_PatrolBoat\modded\Van_PatrolBoat_PlayerBase.c:122 |
PlayerBase.OnRPC |
T2 | yes | ✓ | Van_Sailboat.pbo::scripts\4_world\van_sailboat\Modded\PlayerBase.c:3 |
PlayerBase.OnRPC |
T2 | yes | ✓ | Van_Yacht.pbo::scripts\4_world\van_yacht\Modded\PlayerBase.c:3 |
PluginRecipesManagerBase.RegisterRecipies |
— | yes | ✓ | Van_WoodenBoat.pbo::scripts\4_world\Recipe\PluginRecipesManagerBase.c:3 |
Dispatch surfaces and timers the grade prices
| surface | tier | rate (Hz) | rate source | ms/s |
|---|---|---|---|---|
PlayerBase.OnRPC | T2 | 8.0 | placeholder | 0.0002 |
PlayerBase.OnRPC | T2 | 8.0 | placeholder | 0.0002 |
ActionGetOutTransport.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
PlayerBase.OnRPC | T2 | 8.0 | placeholder | 0.0002 |
PlayerBase.OnRPC | T2 | 8.0 | placeholder | 0.0002 |
Hammer.SetActions | T2 | 8.0 | placeholder | 0.0002 |
Hatchet.SetActions | T2 | 8.0 | placeholder | 0.0002 |
PlayerBase.OnRPC | T2 | 8.0 | placeholder | 0.0002 |
MissionServer.OnInit | T3 | 0.1 | placeholder | 0.0000 |
MissionServer.InvokeOnConnect | T3 | 0.1 | placeholder | 0.0000 |
MissionServer.OnInit | T3 | 0.1 | placeholder | 0.0000 |
MissionServer.OnInit | T3 | 0.1 | placeholder | 0.0000 |
MissionServer.InvokeOnConnect | T3 | 0.1 | placeholder | 0.0000 |
MissionServer.OnInit | T3 | 0.1 | placeholder | 0.0000 |
MissionServer.InvokeOnConnect | T3 | 0.1 | placeholder | 0.0000 |
MissionServer.OnInit | T3 | 0.1 | placeholder | 0.0000 |
MissionServer.InvokeOnConnect | T3 | 0.1 | placeholder | 0.0000 |
MissionServer.OnInit | T3 | 0.1 | placeholder | 0.0000 |
MissionServer.InvokeOnConnect | T3 | 0.1 | placeholder | 0.0000 |
Repeating timers
| period (ms) | residency ms/s | firing ms/s | where |
|---|---|---|---|
| 15 | 0.1400 | 0.001653 | Van_PatrolBoat.pbo::scripts\4_World\Van_PatrolBoat\entities\van_patrolboat_missile.c:77 |
| 15 | 0.1400 | 0.001653 | Van_PatrolBoat.pbo::scripts\4_World\Van_PatrolBoat\entities\van_patrolboat_missile.c:184 |
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.
MaharlikaPH_Boats_Core.pbo
MaharlikaPH_Boats_CorerequiredVersion 0.1 — requiresDZ_Scripts,DZ_Data,DZ_Vehicles_Water
Van_Airboat.pbo
Van_AirboatrequiredVersion 0.1 — requiresDZ_Scripts,DZ_Data,DZ_Vehicles_Water
Van_Catamaran.pbo
Van_CatamaranrequiredVersion 0.1 — requiresDZ_Scripts,DZ_Data,DZ_Vehicles_Water
Van_FishingTrawler.pbo
Van_FishingTrawlerrequiredVersion 0.1 — requiresDZ_Scripts,DZ_Data,DZ_Vehicles_Water
Van_HouseBoat.pbo
Van_HouseBoatrequiredVersion 0.1 — requiresDZ_Scripts,DZ_Data,DZ_Vehicles_Water,DZ_Sounds_Effects,DZ_Gear_Containers,DZ_Gear_Camping
Van_Jetski.pbo
Van_JetskirequiredVersion 0.1 — requiresDZ_Scripts,DZ_Data,DZ_Vehicles_Water
Van_PatrolBoat.pbo
Van_PatrolBoatrequiredVersion 0.1 — requiresDZ_Scripts,DZ_Data,DZ_Vehicles_Water,DZ_Sounds_Effects,DZ_Gear_Containers,DZ_Gear_Camping
Van_RHIB.pbo
Van_RHIBrequiredVersion 0.1 — requiresDZ_Scripts,DZ_Data,DZ_Vehicles_Water
Van_Sailboat.pbo
Van_SailboatrequiredVersion 0.1 — requiresDZ_Scripts,DZ_Data,DZ_Vehicles_Water,DZ_Sounds_Effects,DZ_Gear_Containers,DZ_Gear_Camping
Van_WoodenBoat.pbo
Van_WoodenBoatrequiredVersion 0.1 — requiresDZ_Scripts,DZ_Data,DZ_Vehicles_Water
Van_Yacht.pbo
Van_YachtrequiredVersion 0.1 — requiresDZ_Scripts,DZ_Data,DZ_Vehicles_Water
census 1.1 · findings 1.1 · hash 3c2b9d779b690e66