RadZone
THIS MOD ADD RADIATION ZONE TO YOUR SERVER. PLAYER - CLOTHES - WEAPONS - TOOLS CAN GET RADIATION POINT ! FIXED RADZONE: -By default, the NWAF and NEAF are radzone, you will need a full NBC Set and a GasMask to survive in the zone. GasMask will need a filter in order to survive in it. If at some point, some parts of your suits are ruined or missing, you'll start to get radiation at some point. After getting the sick… (more)
THIS MOD ADD RADIATION ZONE TO YOUR SERVER. PLAYER - CLOTHES - WEAPONS - TOOLS CAN GET RADIATION POINT ! FIXED RADZONE: -By default, the NWAF and NEAF are radzone, you will need a full NBC Set and a GasMask to survive in the zone. GasMask will need a filter in order to survive in it. If at some point, some parts of your suits are ruined or missing, you'll start to get radiation at some point. After getting the sick notification, you'll start to loose blood, health ,vomit, having blur vision and finally die. The only thing that can save you is the radcure, inject it into yourself and you'll be slowly loosing some radiation point in your blood and after some time, you'll be cured. There is many way to survive in the RadZone: First of all, once you're in a radzone, you'll get a radiation logo next to the health logo in your dayz menu. If you've got the proper devices, numbers will appear on the top and at the bottom of the logo. =>Top number = Radiation level in player's blood =>Bottom number = Radiation level outside at player's position You can use: -A radiation blocker to prevent the big effect of the radiation sickness -A radiation cure to cure yourself after being sick of radiation sickness -A decontamination shower to decontaminate all items that you WEAR ( = the one in your inventory won't be irradied except you wear them at some point) =>The decontamination shower exist in two version : a static one (= to place one the map) - a dynamic one (= player can find the shower kit ingame and place it and then pack it with a wrench) =>In both case, to make the shower work, you'll need a canistergasoline full of water. Turn on the shower and particles and sound will appear ! -A decontamination spray to decontaminate one part at a time -Devices to mesure each differents types of radiation : OUTSIDE - INSIDE PLAYER'S BLOOD - ON ITEMS =>The geigercounter can be used to get the radiation value of OUTSIDE =>The geigercounter_Opal can be used to get radiation value of INSIDE PLAYER'S BLOOD & TARGET PLAYER =>The geigercounter_Sova can be used to get radiation value of ON ITEMS & ON TARGET PLAYER'S BODY =>The geigercounter_Osa can be used to get radiation value of OUTSIDE AND INSIDE PLAYER'S BLOOD CRATE'S SYSTEM -Inside those area, you will find some crate called "RadiationCase" that contain really good gear. By default, a crate spawn every hour randomly in each radiationZone of the server. Those crate are hidden inside buildings, bunkers, heli platform and back's dead military cars. You can set new crates positions inside the .json file. The loot system has been changed to a probability\chance system to allow attachment and weapons to spawn at the same time to be more efficient. Moreover, you can set different set of loot for each zone and each crate ! =>This Crate system is standalone and allow you to set drop zone outside of radiation area. Feel free to do it if you want ;) INSTRUCTIONS: After downloading the mod: make sure to deal with the types.xml (= add the new items to your types.xml) .You can set everything with the Json fils located in your \RadZone\RZConfig. There is a txt file called explanation.txt with explanation about the variables. -if something doesn't work, check inside the RadZone log located in \RadZone\RZLogs. =>CONFIG FILE CAN HELP YOU CONFIG ALMOST EVERYTHING ! PLANNED FEATURES -A RadiationNukeMission is currently under experimental version of the mod. It's not completely finish now but it works. Basically a plane will drop a nuke nomb in a city of your choosing and players will be able to clean some nukes waste after the explosions. A drop case will appear in the city if it has been clean completely. -A Truck transporting a nuke missile. Players will have to find access card, the nukelaptop and will be able to target a position in to mod in order to make the missile launch on the truck and go at the location chosen by the player. Then the area will be irradied after the explosion. (not in experimental yet) (Experimental version won't be public. Only supporters of the mods will get access to it. Once thoses features are finisihed, it will be added to the main mod ;) ) LINK OF THE NUKE MISSION:RadZoneExperimentalAddons Recommended mod: A nuclear plant was made by a modder on chernarus check his work: https://steamcommunity.com/sharedfiles/filedetails/?id=2296668701 DONATION -This mod has been coded with love for this game and represent 5 month of work. If you like my work and want more content, don't hesitate to donate, it's always motivating ;) LINK: Paypal Patreon PROMOTED SERVERS: (If you want to promote your server that is using the mod, contact me on discord) CONTACT BUG REPORT AND FEATURES REQUEST Here is the trello dedicated to the mod, you can reports bugs, propose features, fund features there. ] CREDITS I want to thank Morty, Dave and Chubby for helping me fixing bugs and providing me most of the models in the mod. Feel free to check their works: Morty:Morty's work Chubby:Chubby's work - Chubby's work Dave:Dave's work DO NOT ALLOW REPACK FOR THIS MOD. I DO NOT ALLOW ANY REWORK OR RE USE OF MY WORK WITHOUT MY CONSENT Pls report bugs or any issues you meet to improve the mod over time !
Patterns that can stall a single frame regardless of the load figure — see below.
Every server-visible override preserves its chain.
0.0361% of each server frame at 100 players (0.361 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 78% of this mod's structural load. 0.361 ms/s in all.
1 hook · 0.074 ms/s
3 hooks · 0.0066 ms/s
3 hooks · 0.000006 ms/s
2 timers · 0.28 ms/s
| Per-player hooksrun about 30 times a second for each player | 1 hook | 0.074 ms/s | 21% | PlayerBase.OnScheduledTick |
| Event hooksrun when something happens: an inventory move, a hit, an action | 3 hooks | 0.0066 ms/s | 1.8% | PlayerBase.EEItemAttached, PlayerBase.EEItemDetached, Wrench.SetActions |
| Lifecycle hooksrun when an entity is created, loaded or deleted | 3 hooks | 0.000006 ms/s | <0.1% | ItemBase.OnStoreLoad, ItemBase.OnStoreSave, MissionServer.InvokeOnConnect |
| Repeating timersstay in the timer queue, which is walked every frame | 2 timers | 0.28 ms/s | 78% | every 2 s, every 60 s |
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 · 3 · warning
- Hologram.EvaluateCollision calls super.EvaluateCollision() only on some paths — on the others the chain below this mod is dropped.
RadZone.pbo::scripts\4_World\entities\Holograms.c:46 - Hologram.PlaceEntity calls super.PlaceEntity() only on some paths — on the others the chain below this mod is dropped.
RadZone.pbo::scripts\4_World\entities\Holograms.c:14 - Hologram.ProjectionBasedOnParent calls super.ProjectionBasedOnParent() only on some paths — on the others the chain below this mod is dropped.
RadZone.pbo::scripts\4_World\entities\Holograms.c:4
- Hologram.EvaluateCollision calls super.EvaluateCollision() only on some paths — on the others the chain below this mod is dropped.
Per-player-per-frame hooks · 1 · warning
- PlayerBase.OnScheduledTick runs once per player per tick (~30 Hz/player): cost scales with population on the hottest per-player surface.
RadZone.pbo::scripts\4_World\entities\ManBase\PlayerBase.c:170
- PlayerBase.OnScheduledTick runs once per player per tick (~30 Hz/player): cost scales with population on the hottest per-player surface.
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 22 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 | ✓ | RadZone.pbo::scripts\4_World\classes\Actions\ActionConstructor.c:3 |
ActionConstructor.RegisterActions |
— | yes | ✓ | RadZone_Data.pbo::scripts\4_World\Actions\ActionConstructor.c:3 |
Hologram.ProjectionBasedOnParent |
— | yes | conditional | RadZone.pbo::scripts\4_World\entities\Holograms.c:4 |
Hologram.PlaceEntity |
— | yes | conditional | RadZone.pbo::scripts\4_World\entities\Holograms.c:14 |
Hologram.SetOnGround |
— | yes | ✗ none | RadZone.pbo::scripts\4_World\entities\Holograms.c:22 |
Hologram.EvaluateCollision |
— | yes | conditional | RadZone.pbo::scripts\4_World\entities\Holograms.c:46 |
IngameHud.Init |
— | yes | ✓ | RadZone.pbo::scripts\5_Mission\GUI\Ingame_hud.c:5 |
IngameHud.RefreshHudVisibility |
— | yes | ✓ | RadZone.pbo::scripts\5_Mission\GUI\Ingame_hud.c:27 |
ItemBase.InitItemVariables |
— | yes | ✓ | RadZone.pbo::scripts\4_World\entities\ItemBase.c:56 |
ItemBase.OnStoreLoad |
T3 | yes | ✓ | RadZone.pbo::scripts\4_World\entities\ItemBase.c:73 |
ItemBase.OnStoreSave |
T3 | yes | ✓ | RadZone.pbo::scripts\4_World\entities\ItemBase.c:83 |
MissionServer.InvokeOnConnect |
T3 | yes | ✓ | RadZone.pbo::scripts\5_Mission\MissionServer.c:12 |
ModifiersManager.Init |
— | yes | ✓ | RadZone.pbo::scripts\4_World\classes\Playermodifiers\modifiersmanager.c:3 |
ModItemRegisterCallbacks.RegisterOneHanded |
— | yes | ✓ | RadZone_Data.pbo::scripts\4_World\AnimRegistration.c:3 |
ModItemRegisterCallbacks.RegisterHeavy |
— | yes | ✓ | RadZone_Data.pbo::scripts\4_World\AnimRegistration.c:9 |
PlayerBase.Init |
— | yes | ✓ | RadZone.pbo::scripts\4_World\entities\ManBase\PlayerBase.c:38 |
PlayerBase.EEItemAttached |
T2 | yes | ✓ | RadZone.pbo::scripts\4_World\entities\ManBase\PlayerBase.c:99 |
PlayerBase.EEItemDetached |
T2 | yes | ✓ | RadZone.pbo::scripts\4_World\entities\ManBase\PlayerBase.c:113 |
PlayerBase.OnScheduledTick |
T1 | yes | ✓ | RadZone.pbo::scripts\4_World\entities\ManBase\PlayerBase.c:170 |
PlayerBase.Init |
— | yes | ✓ | RadZone_Data.pbo::scripts\4_World\AnimRegisterIK.c:4 |
PluginManager.Init |
— | yes | ✓ | RadZone.pbo::scripts\4_World\plugins\PluginManager.c:3 |
Wrench.SetActions |
T2 | yes | ✓ | RadZone.pbo::scripts\4_World\entities\Tools\Wrench.c:3 |
Dispatch surfaces and timers the grade prices
| surface | tier | rate (Hz) | rate source | ms/s |
|---|---|---|---|---|
PlayerBase.OnScheduledTick | T1 | 3000.0 | measured | 0.0744 |
PlayerBase.EEItemAttached | T2 | 130.0 | measured | 0.0032 |
PlayerBase.EEItemDetached | T2 | 130.0 | measured | 0.0032 |
Wrench.SetActions | T2 | 8.0 | placeholder | 0.0002 |
ItemBase.OnStoreLoad | T3 | 0.1 | placeholder | 0.0000 |
ItemBase.OnStoreSave | 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 |
|---|---|---|---|
| 2000 | 0.1400 | 0.000012 | RadZone.pbo::scripts\4_World\classes\SystemRZHandler\Core\RZRadZoneClient.c:49 |
| 60000 | 0.1400 | 0.000000 | RadZone.pbo::scripts\4_World\classes\SystemRZHandler\Core\RZRadZoneClient.c:48 |
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.
RadZone.pbo
RadZone_ScriptrequiredVersion 0.1 — requiresDZ_Data,DZ_Characters_Headgear,DZ_Characters_Gloves,DZ_Characters_Masks,DZ_Characters_Tops,DZ_Characters_Pants,DZ_Characters_Shoes
RadZone_Data.pbo
RadZone_Data_ScriptrequiredVersion 0.1 — requiresDZ_DataNukeLaptoprequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_ContainersRZ_SoundsrequiredVersion 0.1 — requiresDZ_Data,DZ_Weapons_Firearms,DZ_Weapons_Ammunition,DZ_Weapons_MagazinesRadZone_NBC_SuitrequiredVersion 0.1 — requiresDZ_Characters
census 1.1 · findings 1.1 · hash 0d1741fce34ce1c6