LOADRATES

reference

Also known as: LOAD-RATES

Help Topic: Load Rates When building mobs or objects into zone files, the fourth argument (Arg4) determines how likely they are to load when the zone resets. This help file explains how to interpret and set those rates, including how the builder-friendly percentage values are converted behind the scenes. ------------------------------------ USAGE In OLC ZEDIT, when prompted for: Chance to Load: (Example: 100, 5, 0.01) You may enter: 100 → Always loads (Arg4 = 0) 95 → 95%% chance to load (Arg4 = 5) 50 → 50%% chance to load (Arg4 = 50) 1 → 1%% chance to load (Arg4 = 99) 0.01 → 0.01%% chance to load (Arg4 = 9999, 1 in 10,000) ------------------------------------ HOW IT WORKS The engine uses Arg4 behind the scenes to determine load rarity. You no longer need to guess the right Arg4 — just enter the percent chance directly. Internally: 100%% → Arg4 = 0 (Always load) 99%% → Arg4 = 1 (Almost always) 50%% → Arg4 = 50 (Coin flip) 1%% → Arg4 = 99 (Rare) 0.01%%→ Arg4 = 9999 (Ultra rare) NOTE: If Arg4 is set directly (like in legacy zone files), those values will still work. This system is fully backward-compatible. ------------------------------------ TESTING A LOAD RATE Imms can use the command: loadtest <chance> To simulate how many "rolls" it would take for something to load at a given chance. Examples: loadtest 25 → Tests a 25%% load rate. loadtest 0.1 → Tests a 1-in-1000 scenario. This can help balance rare loot, boss spawns, or event triggers. ------------------------------------ Questions? Contact a Senior Builder or Admin if you're unsure how to tune your zone's load rates.