From d51becf7ef01c555a95add9d76a2722ed14baa65 Mon Sep 17 00:00:00 2001 From: ted <88515639+tedthedragon@users.noreply.github.com> Date: Tue, 4 Oct 2022 14:45:22 -0700 Subject: [PATCH] - Menudef and final fixes. --- CVARINFO | 142 +++++------ KEYCONF | 25 ++ MAPINFO | 2 +- MENUDEF | 672 ++++++++++++++++++++++++++++++++++++++++++++++++++-- ZSCRIPT.zsc | 202 ++++++++-------- 5 files changed, 854 insertions(+), 189 deletions(-) create mode 100644 KEYCONF diff --git a/CVARINFO b/CVARINFO index ad6944a..fe58841 100644 --- a/CVARINFO +++ b/CVARINFO @@ -1,118 +1,118 @@ // Main HDBulletLib cvars for handling ammo box and backpack spawns. - [Ted] -server int hdblib_enableammo_1 = 0; -server int hdblib_enableammo_2 = 0; -server int hdblib_enableammo_3 = 0; +server int hdblib_enableammo_1 = -1; +server int hdblib_enableammo_2 = -1; +server int hdblib_enableammo_3 = -1; // My added cvars for world spawning, these each control every specific spawn for each ammo. If you're adding your own, do it at the bottom like with the main cvars. // I keep them at 0 by default to have the opt-in nature respected. - [Ted] // .500 S&W -server int 500sw_shellbox_spawn_bias = 0; -server int 500sw_rocket_spawn_bias = 0; -server int 500sw_casing_spawn_bias = 0; -server bool 500sw_persistent_spawning = false; +server int hdb_500sw_shellbox_spawn_bias = -1; +server int hdb_500sw_rocket_spawn_bias = -1; +server int hdb_500sw_casing_spawn_bias = -1; +server bool hdb_500sw_persistent_spawning = false; // 12 Gauge Slugs -server int 12gslug_shellbox_spawn_bias = 0; -server int 12gslug_shell_spawn_bias = 0; -server int 12gslug_casing_spawn_bias = 0; -server bool 12gslug_persistent_spawning = false; +server int hdb_12gslug_shellbox_spawn_bias = -1; +server int hdb_12gslug_shell_spawn_bias = -1; +server int hdb_12gslug_casing_spawn_bias = -1; +server bool hdb_12gslug_persistent_spawning = false; // .420 Frei -server int 420frei_box_spawn_bias = 0; -server int 420frei_casing_spawn_bias = 0; -server bool 420frei_persistent_spawning = false; +server int hdb_420frei_box_spawn_bias = -1; +server int hdb_420frei_casing_spawn_bias = -1; +server bool hdb_420frei_persistent_spawning = false; // .069 Bore -server int 069bore_box_spawn_bias = 0; -server int 069bore_casing_spawn_bias = 0; -server bool 069bore_persistent_spawning = false; +server int hdb_069bore_box_spawn_bias = -1; +server int hdb_069bore_casing_spawn_bias = -1; +server bool hdb_069bore_persistent_spawning = false; // .50 AE -server int 50ae_box_spawn_bias = 0; -server int 50ae_casing_spawn_bias = 0; -server bool 50ae_persistent_spawning = false; +server int hdb_50ae_box_spawn_bias = -1; +server int hdb_50ae_casing_spawn_bias = -1; +server bool hdb_50ae_persistent_spawning = false; // .50 OMG -server int 50omg_box_spawn_bias = 0; -server int 50omg_casing_spawn_bias = 0; -server bool 50omg_persistent_spawning = false; +server int hdb_50omg_box_spawn_bias = -1; +server int hdb_50omg_casing_spawn_bias = -1; +server bool hdb_50omg_persistent_spawning = false; // .45 ACP -server int 45acp_box_spawn_bias = 0; -server int 45acp_casing_spawn_bias = 0; -server bool 45acp_persistent_spawning = false; +server int hdb_45acp_box_spawn_bias = -1; +server int hdb_45acp_casing_spawn_bias = -1; +server bool hdb_45acp_persistent_spawning = false; // 10mm -server int 10mm_box_spawn_bias = 0; -server int 10mm_casing_spawn_bias = 0; -server bool 10mm_persistent_spawning = false; +server int hdb_10mm_box_spawn_bias = -1; +server int hdb_10mm_casing_spawn_bias = -1; +server bool hdb_10mm_persistent_spawning = false; // .45 LC -server int 45lc_box_spawn_bias = 0; -server int 45lc_casing_spawn_bias = 0; -server bool 45lc_persistent_spawning = false; +server int hdb_45lc_box_spawn_bias = -1; +server int hdb_45lc_casing_spawn_bias = -1; +server bool hdb_45lc_persistent_spawning = false; // Golden .45 LC -server int g45lc_box_spawn_bias = 0; -server int g45lc_casing_spawn_bias = 0; -server bool g45lc_persistent_spawning = false; +server int hdb_g45lc_box_spawn_bias = -1; +server int hdb_g45lc_casing_spawn_bias = -1; +server bool hdb_g45lc_persistent_spawning = false; // Less-Lethal Shells -server int LLS_shellbox_spawn_bias = 0; -server int LLS_shell_spawn_bias = 0; -server int LLS_casing_spawn_bias = 0; -server bool LLS_persistent_spawning = false; +server int hdb_LLS_shellbox_spawn_bias = -1; +server int hdb_LLS_shell_spawn_bias = -1; +server int hdb_LLS_casing_spawn_bias = -1; +server bool hdb_LLS_persistent_spawning = false; // Explosive Slugs -server int ESlug_shellbox_spawn_bias = 0; -server int ESlug_shell_spawn_bias = 0; -server int ESlug_casing_spawn_bias = 0; -server bool ESlug_persistent_spawning = false; +server int hdb_ESlug_shellbox_spawn_bias = -1; +server int hdb_ESlug_shell_spawn_bias = -1; +server int hdb_ESlug_casing_spawn_bias = -1; +server bool hdb_ESlug_persistent_spawning = false; -// Explosive Slugs -server int FShell_shellbox_spawn_bias = 0; -server int FShell_shell_spawn_bias = 0; -server bool FShell_persistent_spawning = false; +// Flare Shells +server int hdb_FShell_shellbox_spawn_bias = -1; +server int hdb_FShell_shell_spawn_bias = -1; +server bool hdb_FShell_persistent_spawning = false; // Musket Balls -server int MBall_casing_spawn_bias = 0; -server bool MBall_persistent_spawning = false; +server int hdb_MBall_casing_spawn_bias = -1; +server bool hdb_MBall_persistent_spawning = false; // 4-Gauge Saboted Slugs -server int 4gss_shellbox_spawn_bias = 0; -server int 4gss_shell_spawn_bias = 0; -server int 4gss_casing_spawn_bias = 0; -server bool 4gss_persistent_spawning = false; +server int hdb_4gss_shellbox_spawn_bias = -1; +server int hdb_4gss_shell_spawn_bias = -1; +server int hdb_4gss_casing_spawn_bias = -1; +server bool hdb_4gss_persistent_spawning = false; // 5mm Bumblebee Rimfire -server int 5mm_box_spawn_bias = 0; -server int 5mm_casing_spawn_bias = 0; -server bool 5mm_persistent_spawning = false; +server int hdb_5mm_box_spawn_bias = -1; +server int hdb_5mm_casing_spawn_bias = -1; +server bool hdb_5mm_persistent_spawning = false; // .50 Action-Mega -server int 50am_box_spawn_bias = 0; -server int 50am_casing_spawn_bias = 0; -server bool 50am_persistent_spawning = false; +server int hdb_50am_box_spawn_bias = -1; +server int hdb_50am_casing_spawn_bias = -1; +server bool hdb_50am_persistent_spawning = false; // 6mm Flechette -server int 6mm_box_spawn_bias = 0; -server int 6mm_casing_spawn_bias = 0; -server bool 6mm_persistent_spawning = false; +server int hdb_6mm_box_spawn_bias = -1; +server int hdb_6mm_casing_spawn_bias = -1; +server bool hdb_6mm_persistent_spawning = false; // 20mm Grenades -server int 20mm_rbox_spawn_bias = 0; -server bool 20mm_persistent_spawning = false; +server int hdb_20mm_rbox_spawn_bias = -1; +server bool hdb_20mm_persistent_spawning = false; // Thunder Rockets -server int ThuRKT_rbox_spawn_bias = 0; -server bool ThuRKT_persistent_spawning = false; +server int hdb_ThuRKT_rbox_spawn_bias = -1; +server bool hdb_ThuRKT_persistent_spawning = false; // Tortoise Rockets -server int TortRKT_rbox_spawn_bias = 0; -server bool TortRKT_persistent_spawning = false; +server int hdb_TortRKT_rbox_spawn_bias = -1; +server bool hdb_TortRKT_persistent_spawning = false; // .30-06 -server int 3006_box_spawn_bias = 0; -server int 3006_casing_spawn_bias = 0; -server bool 3006_persistent_spawning = false; \ No newline at end of file +server int hdb_3006_box_spawn_bias = -1; +server int hdb_3006_casing_spawn_bias = -1; +server bool hdb_3006_persistent_spawning = false; \ No newline at end of file diff --git a/KEYCONF b/KEYCONF new file mode 100644 index 0000000..cf291b0 --- /dev/null +++ b/KEYCONF @@ -0,0 +1,25 @@ +// Aliases for resetting the spawning cvars only, not technically necessary but helpful to have to reset all of the world spawning options to off for an ammo type. - [Ted] +alias hdb_50ae_reset_cvars "resetcvar hdb_50ae_box_spawn_bias; resetcvar hdb_50ae_casing_spawn_bias; resetcvar hdb_50ae_persistent_spawning" +alias hdb_500sw_reset_cvars "resetcvar hdb_500sw_shellbox_spawn_bias; resetcvar hdb_500sw_rocket_spawn_bias; resetcvar hdb_500sw_casing_spawn_bias; resetcvar hdb_500sw_persistent_spawning" +alias hdb_12gslug_reset_cvars "resetcvar hdb_12gslug_shellbox_spawn_bias; resetcvar hdb_12gslug_shell_spawn_bias; resetcvar hdb_12gslug_casing_spawn_bias; resetcvar hdb_12gslug_persistent_spawning" +alias hdb_420frei_reset_cvars "resetcvar hdb_420frei_persistent_spawning; resetcvar hdb_420frei_casing_spawn_bias; resetcvar hdb_420frei_box_spawn_bias" +alias hdb_069bore_reset_cvars "resetcvar hdb_069bore_persistent_spawning; resetcvar hdb_069bore_casing_spawn_bias; resetcvar hdb_069bore_box_spawn_bias" +alias hdb_50OMG_reset_cvars "resetcvar hdb_50omg_persistent_spawning, resetcvar hdb_50omg_casing_spawn_bias; resetcvar hdb_50omg_box_spawn_bias" +alias hdb_45ACP_reset_cvars "resetcvar hdb_45acp_persistent_spawning, resetcvar hdb_45acp_casing_spawn_bias; resetcvar hdb_45acp_box_spawn_bias" +alias hdb_10mmAuto_reset_cvars "resetcvar hdb_10mm_box_spawn_bias; resetcvar hdb_10mm_casing_spawn_bias; resetcvar hdb_10mm_persistent_spawning" +alias hdb_45lc_reset_cvars "resetcvar hdb_45lc_box_spawn_bias; resetcvar hdb_45lc_casing_spawn_bias; resetcvar hdb_45lc_persistent_spawning" +alias hdb_g45lc_reset_cvars "resetcvar hdb_g45lc_box_spawn_bias; resetcvar hdb_g45lc_casing_spawn_bias; resetcvar hdb_g45lc_persistent_spawning" +alias hdb_lesslethalshells_reset_cvars "resetcvar hdb_LLS_shellbox_spawn_bias; resetcvar hdb_LLS_shell_spawn_bias; resetcvar hdb_LLS_casing_spawn_bias; resetcvar hdb_LLS_persistent_spawning" +alias hdb_explosiveslugs_reset_cvars "resetcvar hdb_ESlug_shellbox_spawn_bias; resetcvar hdb_ESlug_shell_spawn_bias; resetcvar hdb_ESlug_persistent_spawning" +alias hdb_fshells_reset_cvars "resetcvar hdb_FShell_shellbox_spawn_bias; resetcvar hdb_FShell_shell_spawn_bias; resetcvar hdb_FShell_persistent_spawning" +alias hdb_mball_reset_cvars "resetcvar hdb_MBall_casing_spawn_bias; resetcvar hdb_MBall_persistent_spawning" +alias hdb_4GSS_reset_cvars "resetcvar hdb_4gss_shellbox_spawn_bias; resetcvar hdb_4gss_shell_spawn_bias; resetcvar hdb_4gss_casing_spawn_bias; resetcvar hdb_4gss_persistent_spawning" +alias hdb_5mm_reset_cvars "resetcvar hdb_5mm_box_spawn_bias; resetcvar hdb_5mm_casing_spawn_bias; resetcvar hdb_5mm_persistent_spawning" +alias hdb_50am_reset_cvars "resetcvar hdb_50am_box_spawn_bias; resetcvar hdb_50am_casing_spawn_bias; resetcvar hdb_50am_persistent_spawning" +alias hdb_6mm_reset_cvars "resetcvar hdb_6mm_box_spawn_bias; resetcvar hdb_6mm_casing_spawn_bias; resetcvar hdb_6mm_persistent_spawning" +alias hdb_20mm_reset_cvars "resetcvar hdb_20mm_rbox_spawn_bias; resetcvar hdb_20mm_persistent_spawning" +alias hdb_ThuRKT_reset_cvars "resetcvar hdb_ThuRKT_rbox_spawn_bias; resetcvar hdb_ThuRKT_persistent_spawning" +alias hdb_TortRKT_reset_cvars "resetcvar hdb_TortRKT_rbox_spawn_bias; resetcvar hdb_TortRKT_persistent_spawning" +alias hdb_3006_reset_cvars "resetcvar hdb_3006_box_spawn_bias; resetcvar hdb_3006_casing_spawn_bias; resetcvar hdb_3006_persistent_spawning" + +alias hdb_reset_cvars "hdb_50ae_reset_cvars; hdb_500sw_reset_cvars; hdb_12gslug_reset_cvars; hdb_420frei_reset_cvars; hdb_069bore_reset_cvars; hdb_50OMG_reset_cvars; hdb_45ACP_reset_cvars; hdb_45lc_reset_cvars; hdb_10mmAuto_reset_cvars; hdb_g45lc_reset_cvars; hdb_lesslethalshells_reset_cvars; hdb_explosiveslugs_reset_cvars; hdb_fshells_reset_cvars; hdb_mball_reset_cvars; hdb_4GSS_reset_cvars; hdb_hdb_5mm_reset_cvars; hdb_50am_reset_cvars; hdb_6mm_reset_cvars; hdb_20mm_reset_cvars; hdb_ThuRKT_reset_cvars; hdb_TortRKT_reset_cvars; hdb_3006_reset_cvars; resetcvar hdblib_enableammo_1; resetcvar hdblib_enableammo_2; resetcvar hdblib_enableammo_3;" \ No newline at end of file diff --git a/MAPINFO b/MAPINFO index 936bde1..785a98c 100644 --- a/MAPINFO +++ b/MAPINFO @@ -1,4 +1,4 @@ GameInfo { - AddEventHandlers = "HDBulletLibHandler, HDBulletLibAmmoSpawner" + AddEventHandlers = "HDBulletLibHandler", "HDBulletLibAmmoSpawner" } \ No newline at end of file diff --git a/MENUDEF b/MENUDEF index 73d8c0c..a6a3b05 100644 --- a/MENUDEF +++ b/MENUDEF @@ -1,3 +1,9 @@ + +AddOptionMenu "OptionsMenu" +{ + Submenu "Bullet Library", "HDBulletLibMenu" +} + OptionMenu "HDBulletLibMenu" { Title "Standard Bullet Library Options" @@ -8,53 +14,687 @@ OptionMenu "HDBulletLibMenu" StaticText "mods that utilize it.", "White" StaticText "Does not actually control spawning by other mods.", "Fire" StaticText "" + SafeCommand "Reset all options for HDBulletLib-Recasted", "hdb_reset_cvars" + StaticText "" StaticText "Created by Accensus", "cyan" - FlagOption ".50 Action Express", "hdblib_enableammo_1", "OnOff", 0 + Submenu ".50 AE", "50AE", 0, 1 StaticText "" StaticText "Created by Sledge & prettyFist", "purple" - FlagOption "12 ga Slugs", "hdblib_enableammo_1", "OnOff", 1 + Submenu "12 Gauge Slugs", "12GaugeSlugs", 0, 1 + Submenu ".500 S&W", "500SW", 0, 1 + Submenu ".420 Frei", "420Frei", 0, 1 + Submenu ".069 Bore", "069Bore", 0, 1 + StaticText "" + StaticText "Created by Bogus", "white" + Submenu ".50 OMG", "50OMG", 0, 1 + StaticText "" + StaticText "Created by Popguy", "purple" + Submenu ".45 ACP", "45ACP", 0, 1 + StaticText "" + StaticText "Created by Swampyrad", "orange" + Submenu "10mm Auto", "10mmAuto", 0, 1 + Submenu ".45 LC", "45LC", 0, 1 + Submenu "Golden .45 LC", "Gold45LC", 0, 1 + Submenu "Less-Lethal Shells", "LessLethalShells", 0, 1 + Submenu "Explosive Slugs", "ExplosiveSlugs", 0, 1 + Submenu "Flare Shells", "FlareShells", 0, 1 + StaticText "" + StaticText "Created by Cozi & Ted", "green" + Submenu ".56 Caliber Musket Balls", "MusketBalls", 0, 1 + StaticText "" + StaticText "Created by Khan", "orange" + Submenu "4-Gauge Saboted Slugs", "4GSS", 0, 1 + StaticText "" + StaticText "Created by Potetobloke", "Blue" + Submenu "5mm Bumblebee Rimfire", "5mm", 0, 1 + Submenu ".50 Action-Mega", "50AM", 0, 1 + Submenu "6mm Flechettes", "6mmF", 0, 1 + StaticText "" + StaticText "Created by Wanzer", "Light Blue" + Submenu "Thunder Rockets", "ThuRKT", 0, 1 + Submenu "Tortoise Rockets", "TortRKT", 0, 1 + Submenu "20mm Grenades", "20mmG", 0, 1 + StaticText "" + StaticText "Created by HexaDoken", "Dark Green" + Submenu ".30-06", "3006", 0, 1 +} + +OptionMenu 50AE +{ + Title "------ .50 AE Options ------" + StaticText "Notice:", "Cyan" + StaticText "Setting 'spawn rate' to Replace All will suppress", "white" + StaticText "spawns of that given type.", "white" + StaticText "" + StaticText "Spawn Options", "Cyan" + StaticText "Control the spawn rate of .50 AE on Clip Boxes", "white" + Option "Spawn Rate: ", "hdb_50ae_box_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_50ae_box_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of .50 AE casings", "white" + Option "Spawn Rate: ", "hdb_50ae_casing_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_50ae_casing_spawn_bias" + StaticText "" + StaticText "Enable/Disable .50 AE from spawning in Ammo Boxes and Backpacks.", "Cyan" + FlagOption ".50 Action Express", "hdblib_enableammo_1", "OnOff", 0 + StaticText "" + StaticText "Control whether replacements happen after a mapload.", "white" + Option "Persistent Spawns: ", "hdb_50ae_persistent_spawning", "OnOff" + SafeCommand "Reset persistence options", "resetcvar hdb_50ae_persistent_spawning" + StaticText "" + StaticText "" + StaticText "Reset Options", "Cyan" + SafeCommand "Reset all options", "hdb_50ae_reset_cvars" +} + +OptionMenu 500SW +{ + Title "------ .500 S&W Options ------" + StaticText "Notice:", "purple" + StaticText "Setting 'spawn rate' to Replace All will suppress", "white" + StaticText "spawns of that given type.", "white" + StaticText "" + StaticText "Spawn Options", "purple" + StaticText "Control the spawn rate of .500 S&W lights on Shell Boxes", "white" + Option "Spawn Rate: ", "hdb_500sw_shellbox_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_500sw_shellbox_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of .500 S&W heavies on Rocket Boxes", "white" + Option "Spawn Rate: ", "hdb_500sw_rocket_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_500sw_rocket_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of .500 S&W casings", "white" + Option "Spawn Rate: ", "hdb_500sw_casing_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_500sw_casing_spawn_bias" + StaticText "" + StaticText "Enable/Disable .500 S&W from spawning in Ammo Boxes and Backpacks.", "purple" FlagOption ".500 S&W Light", "hdblib_enableammo_1", "OnOff", 2 FlagOption ".500 S&W Heavy", "hdblib_enableammo_1", "OnOff", 3 + StaticText "" + StaticText "Control whether replacements happen after a mapload.", "white" + Option "Persistent Spawns: ", "hdb_500sw_persistent_spawning", "OnOff" + SafeCommand "Reset persistence options", "resetcvar hdb_500sw_persistent_spawning" + StaticText "" + StaticText "" + StaticText "Reset Options", "purple" + SafeCommand "Reset all options", "hdb_500sw_reset_cvars" +} + +OptionMenu 12GaugeSlugs +{ + Title "------ 12 Gauge Slug Options ------" + StaticText "Notice:", "purple" + StaticText "Setting 'spawn rate' to Replace All will suppress", "white" + StaticText "spawns of that given type.", "white" + StaticText "" + StaticText "Spawn Options", "purple" + StaticText "Control the spawn rate of 12-Gauge Slugs on Shell Boxes", "white" + Option "Spawn Rate: ", "hdb_12gslug_shellbox_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_12gslug_shellbox_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of 12-Gauge Slugs on Shells", "white" + Option "Spawn Rate: ", "hdb_12gslug_shell_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_12gslug_shell_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of 12-Gauge Slug casings", "white" + Option "Spawn Rate: ", "hdb_12gslug_casing_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_12gslug_casing_spawn_bias" + StaticText "" + StaticText "Enable/Disable 12 Gauge Slugs from spawning in Ammo Boxes and Backpacks.", "purple" + FlagOption "12 gauge Slugs", "hdblib_enableammo_1", "OnOff", 1 + StaticText "" + StaticText "Control whether replacements happen after a mapload.", "white" + Option "Persistent Spawns: ", "hdb_12gslug_persistent_spawning", "OnOff" + SafeCommand "Reset persistence options", "resetcvar hdb_12gslug_persistent_spawning" + StaticText "" + StaticText "" + StaticText "Reset Options", "purple" + SafeCommand "Reset all options", "hdb_12gslug_reset_cvars" +} + +OptionMenu 420Frei +{ + Title "------ .420 Frei Options ------" + StaticText "Notice:", "purple" + StaticText "Setting 'spawn rate' to Replace All will suppress", "white" + StaticText "spawns of that given type.", "white" + StaticText "" + StaticText "Spawn Options", "purple" + StaticText "Control the spawn rate of .420 Frei on Clip Boxes", "white" + Option "Spawn Rate: ", "hdb_420frei_box_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_420frei_box_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of .420 Frei casings", "white" + Option "Spawn Rate: ", "hdb_420frei_casing_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_420frei_casing_spawn_bias" + StaticText "" + StaticText "Enable/Disable .420 Frei from spawning in Ammo Boxes and Backpacks.", "purple" FlagOption ".420 Frei", "hdblib_enableammo_1", "OnOff", 17 + StaticText "" + StaticText "Control whether replacements happen after a mapload.", "white" + Option "Persistent Spawns: ", "hdb_420frei_persistent_spawning", "OnOff" + SafeCommand "Reset persistence options", "resetcvar hdb_420frei_persistent_spawning" + StaticText "" + StaticText "" + StaticText "Reset Options", "purple" + SafeCommand "Reset all options", "hdb_420frei_reset_cvars" +} + +OptionMenu 069Bore +{ + Title "------ .069 Bore Options ------" + StaticText "Notice:", "purple" + StaticText "Setting 'spawn rate' to Replace All will suppress", "white" + StaticText "spawns of that given type.", "white" + StaticText "" + StaticText "Spawn Options", "purple" + StaticText "Control the spawn rate of .069 Bore on Clip Boxes", "white" + Option "Spawn Rate: ", "hdb_069bore_box_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_069bore_box_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of .069 Bore casings", "white" + Option "Spawn Rate: ", "hdb_069bore_casing_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_069bore_casing_spawn_bias" + StaticText "" + StaticText "Enable/Disable .069 Bore from spawning in Ammo Boxes and Backpacks.", "purple" FlagOption ".069 Bore", "hdblib_enableammo_1", "OnOff", 18 StaticText "" - StaticText "Created by Bogus", "white" + StaticText "Control whether replacements happen after a mapload.", "white" + Option "Persistent Spawns: ", "hdb_069bore_persistent_spawning", "OnOff" + SafeCommand "Reset persistence options", "resetcvar hdb_069bore_persistent_spawning" + StaticText "" + StaticText "" + StaticText "Reset Options", "purple" + SafeCommand "Reset all options", "hdb_069bore_reset_cvars" +} + +OptionMenu 50OMG +{ + Title "------ .50 OMG Options ------" + StaticText "Notice:", "white" + StaticText "Setting 'spawn rate' to Replace All will suppress", "white" + StaticText "spawns of that given type.", "white" + StaticText "" + StaticText "Spawn Options", "white" + StaticText "Control the spawn rate of .50 OMG on Rocket Boxes", "white" + Option "Spawn Rate: ", "hdb_50omg_box_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_50omg_box_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of .50 OMG casings", "white" + Option "Spawn Rate: ", "hdb_50omg_casing_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_50omg_casing_spawn_bias" + StaticText "" + StaticText "Enable/Disable .50 OMG from spawning in Ammo Boxes and Backpacks.", "white" FlagOption ".50 OMG", "hdblib_enableammo_1", "OnOff", 4 StaticText "" - StaticText "Created by Popguy", "purple" + StaticText "Control whether replacements happen after a mapload.", "white" + Option "Persistent Spawns: ", "hdb_50omg_persistent_spawning", "OnOff" + SafeCommand "Reset persistence options", "resetcvar hdb_50omg_persistent_spawning" + StaticText "" + StaticText "" + StaticText "Reset Options", "white" + SafeCommand "Reset all options", "hdb_50OMG_reset_cvars" +} + +OptionMenu 45ACP +{ + Title "------ .45 ACP Options ------" + StaticText "Notice:", "Purple" + StaticText "Setting 'spawn rate' to Replace All will suppress", "white" + StaticText "spawns of that given type.", "white" + StaticText "" + StaticText "Spawn Options", "Purple" + StaticText "Control the spawn rate of .45 ACP on Clip Boxes", "white" + Option "Spawn Rate: ", "hdb_45acp_box_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_45acp_box_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of .45 ACP casings", "white" + Option "Spawn Rate: ", "hdb_45acp_casing_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_45acp_casing_spawn_bias" + StaticText "" + StaticText "Enable/Disable .45 ACP from spawning in Ammo Boxes and Backpacks.", "purple" FlagOption ".45 ACP", "hdblib_enableammo_1", "OnOff", 5 StaticText "" - StaticText "Created by Swampyrad", "orange" + StaticText "Control whether replacements happen after a mapload.", "white" + Option "Persistent Spawns: ", "hdb_45acp_persistent_spawning", "OnOff" + SafeCommand "Reset persistence options", "resetcvar hdb_45acp_persistent_spawning" + StaticText "" + StaticText "" + StaticText "Reset Options", "Purple" + SafeCommand "Reset all options", "hdb_45ACP_reset_cvars" +} + +OptionMenu 10mmAuto +{ + Title "------ 10mm Auto Options ------" + StaticText "Notice:", "Orange" + StaticText "Setting 'spawn rate' to Replace All will suppress", "white" + StaticText "spawns of that given type.", "white" + StaticText "" + StaticText "Spawn Options", "Orange" + StaticText "Control the spawn rate of 10mm Auto on Clip Boxes", "white" + Option "Spawn Rate: ", "hdb_10mm_box_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_10mm_box_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of 10mm Auto casings", "white" + Option "Spawn Rate: ", "hdb_10mm_casing_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_10mm_casing_spawn_bias" + StaticText "" + StaticText "Enable/Disable 10mm Auto and its casings from spawning in Ammo Boxes and Backpacks.", "Orange" FlagOption "10mm Auto", "hdblib_enableammo_1", "OnOff", 6 + FlagOption "10mm Auto Brass", "hdblib_enableammo_1", "OnOff", 19 + StaticText "" + StaticText "Control whether replacements happen after a mapload.", "white" + Option "Persistent Spawns: ", "hdb_10mm_persistent_spawning", "OnOff" + SafeCommand "Reset persistence options", "resetcvar hdb_10mm_persistent_spawning" + StaticText "" + StaticText "" + StaticText "Reset Options", "Orange" + SafeCommand "Reset all options", "hdb_10mmAuto_reset_cvars" +} + +OptionMenu 45LC +{ + Title "------ .45 LC Options ------" + StaticText "Notice:", "Orange" + StaticText "Setting 'spawn rate' to Replace All will suppress", "white" + StaticText "spawns of that given type.", "white" + StaticText "" + StaticText "Spawn Options", "Orange" + StaticText "Control the spawn rate of .45 LC on Clip Boxes", "white" + Option "Spawn Rate: ", "hdb_45lc_box_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_45lc_box_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of 10mm Auto casings", "white" + Option "Spawn Rate: ", "hdb_45lc_casing_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_45lc_casing_spawn_bias" + StaticText "" + StaticText "Enable/Disable .45 LC from spawning in Ammo Boxes and Backpacks.", "Orange" FlagOption ".45 LC", "hdblib_enableammo_1", "OnOff", 7 + StaticText "" + StaticText "Control whether replacements happen after a mapload.", "white" + Option "Persistent Spawns: ", "hdb_45lc_persistent_spawning", "OnOff" + SafeCommand "Reset persistence options", "resetcvar hdb_45lc_persistent_spawning" + StaticText "" + StaticText "" + StaticText "Reset Options", "Orange" + SafeCommand "Reset all options", "hdb_45lc_reset_cvars" +} + +OptionMenu Gold45LC +{ + Title "------ Gold .45 LC Options ------" + StaticText "Notice:", "Orange" + StaticText "Setting 'spawn rate' to Replace All will suppress", "white" + StaticText "spawns of that given type.", "white" + StaticText "" + StaticText "Spawn Options", "Orange" + StaticText "Control the spawn rate of .45 LC on Clip Boxes", "white" + Option "Spawn Rate: ", "hdb_g45lc_box_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_g45lc_box_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of 10mm Auto casings", "white" + Option "Spawn Rate: ", "hdb_g45lc_casing_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_g45lc_casing_spawn_bias" + StaticText "" + StaticText "Enable/Disable Gold .45 LC from spawning in Ammo Boxes and Backpacks.", "Orange" + FlagOption "Golden .45 LC", "hdblib_enableammo_1", "OnOff", 10 + StaticText "" + StaticText "Control whether replacements happen after a mapload.", "white" + Option "Persistent Spawns: ", "hdb_g45lc_persistent_spawning", "OnOff" + SafeCommand "Reset persistence options", "resetcvar hdb_g45lc_persistent_spawning" + StaticText "" + StaticText "" + StaticText "Reset Options", "Orange" + SafeCommand "Reset all options", "hdb_g45lc_reset_cvars" +} + +OptionMenu LessLethalShells +{ + Title "------ Less-Lethal Shell Options ------" + StaticText "Notice:", "Orange" + StaticText "Setting 'spawn rate' to Replace All will suppress", "white" + StaticText "spawns of that given type.", "white" + StaticText "" + StaticText "Spawn Options", "Orange" + StaticText "Control the spawn rate of Less-Lethal Shells on Shell Boxes", "white" + Option "Spawn Rate: ", "hdb_LLS_shellbox_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_LLS_shellbox_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of Less-Lethal Shells on Shells", "white" + Option "Spawn Rate: ", "hdb_LLS_shell_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_LLS_shell_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of Less-Lethal Shell casings", "white" + Option "Spawn Rate: ", "hdb_LLS_casing_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_LLS_casing_spawn_bias" + StaticText "" + StaticText "Enable/Disable Less-Lethal Shells from spawning in Ammo Boxes and Backpacks.", "Orange" FlagOption "Less-Lethal Shells", "hdblib_enableammo_1", "OnOff", 8 + StaticText "" + StaticText "Control whether replacements happen after a mapload.", "white" + Option "Persistent Spawns: ", "hdb_LLS_persistent_spawning", "OnOff" + SafeCommand "Reset persistence options", "resetcvar hdb_LLS_persistent_spawning" + StaticText "" + StaticText "" + StaticText "Reset Options", "Orange" + SafeCommand "Reset all options", "hdb_lesslethalshells_reset_cvars" +} + +OptionMenu ExplosiveSlugs +{ + Title "------ Explosve Slug Options ------" + StaticText "Notice:", "Orange" + StaticText "Setting 'spawn rate' to Replace All will suppress", "white" + StaticText "spawns of that given type.", "white" + StaticText "" + StaticText "Spawn Options", "Orange" + StaticText "Control the spawn rate of Explosive Slug boxes on Shell Boxes", "white" + Option "Spawn Rate: ", "hdb_ESlug_shellbox_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_ESlug_shellbox_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of Explosive Slugs on Shells", "white" + Option "Spawn Rate: ", "hdb_ESlug_shell_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_ESlug_shell_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of Explosive Slug casings", "white" + Option "Spawn Rate: ", "hdb_ESlug_casing_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_ESlug_casing_spawn_bias" + StaticText "" + StaticText "Enable/Disable Explosive Slugs from spawning in Ammo Boxes and Backpacks.", "Orange" FlagOption "Explosive Slugs", "hdblib_enableammo_1", "OnOff", 9 - FlagOption "Golden .45 LC", "hdblib_enableammo_1", "OnOff", 10 + StaticText "" + StaticText "Control whether replacements happen after a mapload.", "white" + Option "Persistent Spawns: ", "hdb_ESlug_persistent_spawning", "OnOff" + SafeCommand "Reset persistence options", "resetcvar hdb_ESlug_persistent_spawning" + StaticText "" + StaticText "" + StaticText "Reset Options", "Orange" + SafeCommand "Reset all options", "hdb_explosiveslugs_reset_cvars" +} + +OptionMenu FlareShells +{ + Title "------ Flare Shell Options ------" + StaticText "Notice:", "Orange" + StaticText "Setting 'spawn rate' to Replace All will suppress", "white" + StaticText "spawns of that given type.", "white" + StaticText "" + StaticText "Spawn Options", "Orange" + StaticText "Control the spawn rate of Flare Shell Boxes on Shell Boxes", "white" + Option "Spawn Rate: ", "hdb_FShell_shellbox_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_FShell_shellbox_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of Flare Shells on Shells", "white" + Option "Spawn Rate: ", "hdb_FShell_shell_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_FShell_shell_spawn_bias" + StaticText "" + StaticText "Enable/Disable Flare Shells from spawning in Ammo Boxes and Backpacks.", "Orange" FlagOption "Flare Shells", "hdblib_enableammo_1", "OnOff", 11 - FlagOption "10mm Auto Brass", "hdblib_enableammo_1", "OnOff", 19 StaticText "" - StaticText "Created by Cozi & Ted", "green" + StaticText "Control whether replacements happen after a mapload.", "white" + Option "Persistent Spawns: ", "hdb_FShell_persistent_spawning", "OnOff" + SafeCommand "Reset persistence options", "resetcvar hdb_FShell_persistent_spawning" + StaticText "" + StaticText "" + StaticText "Reset Options", "Orange" + SafeCommand "Reset all options", "hdb_fshells_reset_cvars" +} + +OptionMenu MusketBalls +{ + Title "------ .56 Caliber Musket Balls Options ------" + StaticText "Notice:", "Green" + StaticText "Setting 'spawn rate' to Replace All will suppress", "white" + StaticText "spawns of that given type.", "white" + StaticText "" + StaticText "Spawn Options", "Green" + StaticText "Control the spawn rate of Musket Balls on Casings", "white" + Option "Spawn Rate: ", "hdb_MBall_casing_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_MBall_casing_spawn_bias" + StaticText "" + StaticText "Enable/Disable Musket Balls from spawning in Ammo Boxes and Backpacks.", "Green" FlagOption ".56 Caliber Musket Balls", "hdblib_enableammo_1", "OnOff", 12 StaticText "" - StaticText "Created by Khan", "orange" + StaticText "Control whether replacements happen after a mapload.", "white" + Option "Persistent Spawns: ", "hdb_MBall_persistent_spawning", "OnOff" + SafeCommand "Reset persistence options", "resetcvar hdb_MBall_persistent_spawning" + StaticText "" + StaticText "" + StaticText "Reset Options", "Green" + SafeCommand "Reset all options", "hdb_mball_reset_cvars" +} + +OptionMenu 4GSS +{ + Title "------ 4-Gauge Saboted Slug Options ------" + StaticText "Notice:", "Orange" + StaticText "Setting 'spawn rate' to Replace All will suppress", "white" + StaticText "spawns of that given type.", "white" + StaticText "" + StaticText "Spawn Options", "Orange" + StaticText "Control the spawn rate of 4-Gauge Slugs on Shell Boxes", "white" + Option "Spawn Rate: ", "hdb_4gss_shellbox_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_4gss_shellbox_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of 4-Gauge Slugs on Shells", "white" + Option "Spawn Rate: ", "hdb_4gss_shell_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_4gss_shell_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of 4-Gauge Slug casings", "white" + Option "Spawn Rate: ", "hdb_4gss_casing_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_4gss_casing_spawn_bias" + StaticText "" + StaticText "Enable/Disable 4-Gauge Slugs from spawning in Ammo Boxes and Backpacks.", "Orange" FlagOption "4-Gauge Saboted Slugs", "hdblib_enableammo_1", "OnOff", 13 StaticText "" - StaticText "Created by Potetobloke", "Blue" + StaticText "Control whether replacements happen after a mapload.", "white" + Option "Persistent Spawns: ", "hdb_4gss_persistent_spawning", "OnOff" + SafeCommand "Reset persistence options", "resetcvar hdb_4gss_persistent_spawning" + StaticText "" + StaticText "" + StaticText "Reset Options", "Orange" + SafeCommand "Reset all options", "hdb_4GSS_reset_cvars" +} + +OptionMenu 5mm +{ + Title "------ 5mm Bumblebee Rimfire Options ------" + StaticText "Notice:", "Blue" + StaticText "Setting 'spawn rate' to Replace All will suppress", "white" + StaticText "spawns of that given type.", "white" + StaticText "" + StaticText "Spawn Options", "Blue" + StaticText "Control the spawn rate of 5mm Bumblebee Rimfire on Clip Boxes", "white" + Option "Spawn Rate: ", "hdb_5mm_box_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_5mm_box_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of 5mm Bumblebee Rimfire casings", "white" + Option "Spawn Rate: ", "hdb_5mm_casing_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_5mm_casing_spawn_bias" + StaticText "" + StaticText "Enable/Disable 5mm Bumblebee Rimfire from spawning in Ammo Boxes and Backpacks.", "Blue" FlagOption "5mm Bumblebee Rimfire", "hdblib_enableammo_1", "OnOff", 14 - FlagOption "6mm Flechettes", "hdblib_enableammo_1", "OnOff", 15 + StaticText "" + StaticText "Control whether replacements happen after a mapload.", "white" + Option "Persistent Spawns: ", "hdb_5mm_persistent_spawning", "OnOff" + SafeCommand "Reset persistence options", "resetcvar hdb_5mm_persistent_spawning" + StaticText "" + StaticText "" + StaticText "Reset Options", "Blue" + SafeCommand "Reset all options", "hdb_5mm_reset_cvars" +} + +OptionMenu 50AM +{ + Title "------ .50 Action-Mega Options ------" + StaticText "Notice:", "Blue" + StaticText "Setting 'spawn rate' to Replace All will suppress", "white" + StaticText "spawns of that given type.", "white" + StaticText "" + StaticText "Spawn Options", "Blue" + StaticText "Control the spawn rate of .50 Action-Mega on Clip Boxes", "white" + Option "Spawn Rate: ", "hdb_50am_box_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_50am_box_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of .50 Action-Mega casings", "white" + Option "Spawn Rate: ", "hdb_50am_casing_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_50am_casing_spawn_bias" + StaticText "" + StaticText "Enable/Disable .50 Action-Mega from spawning in Ammo Boxes and Backpacks.", "Blue" FlagOption ".50 Action-Mega", "hdblib_enableammo_1", "OnOff", 16 StaticText "" - StaticText "Created by Wanzer", "Light Blue" + StaticText "Control whether replacements happen after a mapload.", "white" + Option "Persistent Spawns: ", "hdb_50am_persistent_spawning", "OnOff" + SafeCommand "Reset persistence options", "resetcvar hdb_50am_persistent_spawning" + StaticText "" + StaticText "" + StaticText "Reset Options", "Blue" + SafeCommand "Reset all options", "hdb_50am_reset_cvars" +} + +OptionMenu 6mmF +{ + Title "------ 6mm Flechettes Options ------" + StaticText "Notice:", "Blue" + StaticText "Setting 'spawn rate' to Replace All will suppress", "white" + StaticText "spawns of that given type.", "white" + StaticText "" + StaticText "Spawn Options", "Blue" + StaticText "Control the spawn rate of 6mm Flechettes on Clip Boxes", "white" + Option "Spawn Rate: ", "hdb_6mm_box_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_6mm_box_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of 6mm Flechettes casings", "white" + Option "Spawn Rate: ", "hdb_6mm_casing_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_6mm_casing_spawn_bias" + StaticText "" + StaticText "Enable/Disable 6mm Flechettes from spawning in Ammo Boxes and Backpacks.", "Blue" + FlagOption "6mm Flechettes", "hdblib_enableammo_1", "OnOff", 15 + StaticText "" + StaticText "Control whether replacements happen after a mapload.", "white" + Option "Persistent Spawns: ", "hdb_6mm_persistent_spawning", "OnOff" + SafeCommand "Reset persistence options", "resetcvar hdb_6mm_persistent_spawning" + StaticText "" + StaticText "" + StaticText "Reset Options", "Blue" + SafeCommand "Reset all options", "hdb_6mm_reset_cvars" +} + +OptionMenu 20mmG +{ + Title "------ 20mm Grenade Options ------" + StaticText "Notice:", "Light Blue" + StaticText "Setting 'spawn rate' to Replace All will suppress", "white" + StaticText "spawns of that given type.", "white" + StaticText "" + StaticText "Spawn Options", "Light Blue" + StaticText "Control the spawn rate of 20mm Grenades on Rocket Boxes", "white" + Option "Spawn Rate: ", "hdb_20mm_rbox_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_20mm_rbox_spawn_bias" + StaticText "" + StaticText "Enable/Disable 20mm Grenades from spawning in Ammo Boxes and Backpacks.", "Light Blue" + FlagOption "20mm Grenades", "hdblib_enableammo_1", "OnOff", 22 + StaticText "" + StaticText "Control whether replacements happen after a mapload.", "white" + Option "Persistent Spawns: ", "hdb_20mm_persistent_spawning", "OnOff" + SafeCommand "Reset persistence options", "resetcvar hdb_20mm_persistent_spawning" + StaticText "" + StaticText "" + StaticText "Reset Options", "Light Blue" + SafeCommand "Reset all options", "hdb_20mm_reset_cvars" +} + +OptionMenu ThuRKT +{ + Title "------ Thunder Rocket Options ------" + StaticText "Notice:", "Light Blue" + StaticText "Setting 'spawn rate' to Replace All will suppress", "white" + StaticText "spawns of that given type.", "white" + StaticText "" + StaticText "Spawn Options", "Light Blue" + StaticText "Control the spawn rate of Thunder Rockets on Rocket Boxes", "white" + Option "Spawn Rate: ", "hdb_ThuRKT_rbox_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_ThuRKT_rbox_spawn_bias" + StaticText "" + StaticText "Enable/Disable Thunder Rockets from spawning in Ammo Boxes and Backpacks.", "Light Blue" FlagOption "Thunder Rockets", "hdblib_enableammo_1", "OnOff", 20 + StaticText "" + StaticText "Control whether replacements happen after a mapload.", "white" + Option "Persistent Spawns: ", "hdb_ThuRKT_persistent_spawning", "OnOff" + SafeCommand "Reset persistence options", "resetcvar hdb_ThuRKT_persistent_spawning" + StaticText "" + StaticText "" + StaticText "Reset Options", "Light Blue" + SafeCommand "Reset all options", "hdb_ThuRKT_reset_cvars" +} + +OptionMenu TortRKT +{ + Title "------ Tortoise Rocket Options ------" + StaticText "Notice:", "Light Blue" + StaticText "Setting 'spawn rate' to Replace All will suppress", "white" + StaticText "spawns of that given type.", "white" + StaticText "" + StaticText "Spawn Options", "Light Blue" + StaticText "Control the spawn rate of Tortoise Rockets on Rocket Boxes", "white" + Option "Spawn Rate: ", "hdb_TortRKT_rbox_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_TortRKT_rbox_spawn_bias" + StaticText "" + StaticText "Enable/Disable Tortoise Rockets from spawning in Ammo Boxes and Backpacks.", "Light Blue" FlagOption "Tortoise Rockets", "hdblib_enableammo_1", "OnOff", 21 - FlagOption "20mm Grenades", "hdblib_enableammo_1", "OnOff", 22 StaticText "" - StaticText "Created by HexaDoken", "Light Green" + StaticText "Control whether replacements happen after a mapload.", "white" + Option "Persistent Spawns: ", "hdb_TortRKT_persistent_spawning", "OnOff" + SafeCommand "Reset persistence options", "resetcvar hdb_TortRKT_persistent_spawning" + StaticText "" + StaticText "" + StaticText "Reset Options", "Light Blue" + SafeCommand "Reset all options", "hdb_TortRKT_reset_cvars" +} + +OptionMenu 3006 +{ + Title "------ .30-06 Options ------" + StaticText "Notice:", "Dark Green" + StaticText "Setting 'spawn rate' to Replace All will suppress", "white" + StaticText "spawns of that given type.", "white" + StaticText "" + StaticText "Spawn Options", "Dark Green" + StaticText "Control the spawn rate of .30-06 on Clip Boxes", "white" + Option "Spawn Rate: ", "hdb_3006_box_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_3006_box_spawn_bias" + StaticText "" + StaticText "Control the spawn rate of .30-06 casings", "white" + Option "Spawn Rate: ", "hdb_3006_casing_spawn_bias", "SpawnBias" + SafeCommand "Reset spawn options", "resetcvar hdb_3006_casing_spawn_bias" + StaticText "" + StaticText "Enable/Disable .30-06 and its casings from spawning in Ammo Boxes and Backpacks.", "Dark Green" FlagOption ".30-06", "hdblib_enableammo_1", "OnOff", 23 FlagOption ".30-06 Brass", "hdblib_enableammo_1", "OnOff", 24 + StaticText "" + StaticText "Control whether replacements happen after a mapload.", "white" + Option "Persistent Spawns: ", "hdb_3006_persistent_spawning", "OnOff" + SafeCommand "Reset persistence options", "resetcvar hdb_3006_persistent_spawning" + StaticText "" + StaticText "" + StaticText "Reset Options", "Dark Green" + SafeCommand "Reset all options", "hdb_3006_reset_cvars" } -AddOptionMenu "OptionsMenu" +// Spawn Bias (for items that do replace) +OptionValue "SpawnBias" { - Submenu "Bullet Library", "HDBulletLibMenu" + -1, "Disabled" + 0, "Replace All" + 2, "1 in 3" + 4, "1 in 5" + 9, "1 in 10" + 14, "1 in 15" + 19, "1 in 20" + 24, "1 in 25" + 49, "1 in 50" + 99, "1 in 100" + 149, "1 in 150" + 199, "1 in 200" } \ No newline at end of file diff --git a/ZSCRIPT.zsc b/ZSCRIPT.zsc index f07b5b1..20f5546 100644 --- a/ZSCRIPT.zsc +++ b/ZSCRIPT.zsc @@ -213,225 +213,225 @@ class HDBulletLibAmmoSpawner: EventHandler // 500 S&W Lights Array spawns_500SWL; - spawns_500SWL.push(addAmmoentry('ShellBoxRandom', 500sw_shellbox_spawn_bias)); - addAmmo('HD500SWLightBoxPickup', spawns_500SWL, 500sw_persistent_spawning); + spawns_500SWL.push(addAmmoentry('ShellBoxRandom', hdb_500sw_shellbox_spawn_bias)); + addAmmo('HD500SWLightBoxPickup', spawns_500SWL, hdb_500sw_persistent_spawning); // 500 S&W Heavies Array spawns_500SWH; - spawns_500SWH.push(addAmmoentry('RocketBoxRandom', 500sw_rocket_spawn_bias)); - addAmmo('HD500SWHeavyBoxPickup', spawns_500SWH, 500sw_persistent_spawning); + spawns_500SWH.push(addAmmoentry('RocketBoxRandom', hdb_500sw_rocket_spawn_bias)); + addAmmo('HD500SWHeavyBoxPickup', spawns_500SWH, hdb_500sw_persistent_spawning); // 500 S&W Casing Array spawns_500SWC; - spawns_500SWC.push(addAmmoentry('HDCasingBits', 500sw_casing_spawn_bias)); - addAmmo('HDSpent500', spawns_500SWC, 500sw_persistent_spawning); + spawns_500SWC.push(addAmmoentry('HDCasingBits', hdb_500sw_casing_spawn_bias)); + addAmmo('HDSpent500', spawns_500SWC, hdb_500sw_persistent_spawning); // 12 Gauge Slug Box Array spawns_12gslugbox; - spawns_12gslugbox.push(addAmmoentry('ShellBoxRandom', 12gslug_shellbox_spawn_bias)); - addAmmo('SlugBoxPickup', spawns_12gslugbox, 12gslug_persistent_spawning); + spawns_12gslugbox.push(addAmmoentry('ShellBoxRandom', hdb_12gslug_shellbox_spawn_bias)); + addAmmo('SlugBoxPickup', spawns_12gslugbox, hdb_12gslug_persistent_spawning); // 12 Gauge Slug Pickup Array spawns_12gslugpick; - spawns_12gslugpick.push(addAmmoentry('ShellRandom', 12gslug_shell_spawn_bias)); - addAmmo('SlugPickup', spawns_12gslugpick, 12gslug_persistent_spawning); + spawns_12gslugpick.push(addAmmoentry('ShellRandom', hdb_12gslug_shell_spawn_bias)); + addAmmo('SlugPickup', spawns_12gslugpick, hdb_12gslug_persistent_spawning); // 12 Gauge Slug Ammo Array spawns_12gslugammo; - spawns_12gslugammo.push(addAmmoentry('ShellRandom', 12gslug_shell_spawn_bias)); - addAmmo('HDSlugAmmo', spawns_12gslugammo, 12gslug_persistent_spawning); + spawns_12gslugammo.push(addAmmoentry('ShellRandom', hdb_12gslug_shell_spawn_bias)); + addAmmo('HDSlugAmmo', spawns_12gslugammo, hdb_12gslug_persistent_spawning); // 12 Gauge Slug Casing Array spawns_12gslugcase; - spawns_12gslugcase.push(addAmmoentry('HDCasingBits', 12gslug_casing_spawn_bias)); - addAmmo('HDSpentSlug', spawns_12gslugcase, 12gslug_persistent_spawning); + spawns_12gslugcase.push(addAmmoentry('HDCasingBits', hdb_12gslug_casing_spawn_bias)); + addAmmo('HDSpentSlug', spawns_12gslugcase, hdb_12gslug_persistent_spawning); // .420 Frei Box Pickup Array spawns_420freibox; - spawns_420freibox.push(addAmmoentry('ClipBoxPickup', 420frei_box_spawn_bias)); - addAmmo('HD420BoxPickup', spawns_420freibox, 420frei_persistent_spawning); + spawns_420freibox.push(addAmmoentry('ClipBoxPickup', hdb_420frei_box_spawn_bias)); + addAmmo('HD420BoxPickup', spawns_420freibox, hdb_420frei_persistent_spawning); // .420 Frei Casing Array spawns_420freicasing; - spawns_420freicasing.push(addAmmoentry('HDCasingBits', 420frei_casing_spawn_bias)); - addAmmo('HDSpent420', spawns_420freicasing, 420frei_persistent_spawning); + spawns_420freicasing.push(addAmmoentry('HDCasingBits', hdb_420frei_casing_spawn_bias)); + addAmmo('HDSpent420', spawns_420freicasing, hdb_420frei_persistent_spawning); // .069 Bore Box Pickup Array spawns_069borebox; - spawns_069borebox.push(addAmmoentry('ShellBoxRandom', 069bore_box_spawn_bias)); - addAmmo('HD069BoreBox', spawns_069borebox, 069bore_persistent_spawning); + spawns_069borebox.push(addAmmoentry('ShellBoxRandom', hdb_069bore_box_spawn_bias)); + addAmmo('HD069BoreBox', spawns_069borebox, hdb_069bore_persistent_spawning); // .069 Bore Casing Array spawns_069borecasing; - spawns_069borecasing.push(addAmmoentry('HDCasingBits', 069bore_casing_spawn_bias)); - addAmmo('HDSpent069Bore', spawns_069borecasing, 069bore_persistent_spawning); + spawns_069borecasing.push(addAmmoentry('HDCasingBits', hdb_069bore_casing_spawn_bias)); + addAmmo('HDSpent069Bore', spawns_069borecasing, hdb_069bore_persistent_spawning); // .50 AE Box Pickup Array spawns_50aebox; - spawns_50aebox.push(addAmmoentry('ClipBoxPickup', 50ae_box_spawn_bias)); - addAmmo('HD50AEBoxPickup', spawns_50aebox, 50ae_persistent_spawning); + spawns_50aebox.push(addAmmoentry('ClipBoxPickup', hdb_50ae_box_spawn_bias)); + addAmmo('HD50AEBoxPickup', spawns_50aebox, hdb_50ae_persistent_spawning); // .50 AE Casing Array spawns_50aecasing; - spawns_50aecasing.push(addAmmoentry('HDCasingBits', 50ae_casing_spawn_bias)); - addAmmo('HDSpent50AE', spawns_50aecasing, 50ae_persistent_spawning); + spawns_50aecasing.push(addAmmoentry('HDCasingBits', hdb_50ae_casing_spawn_bias)); + addAmmo('HDSpent50AE', spawns_50aecasing, hdb_50ae_persistent_spawning); // .50 OMG Box Pickup Array spawns_50omgbox; - spawns_50omgbox.push(addAmmoentry('RocketBoxRandom', 50omg_box_spawn_bias)); - addAmmo('HD50OMGBoxPickup', spawns_50omgbox, 50omg_persistent_spawning); + spawns_50omgbox.push(addAmmoentry('RocketBoxRandom', hdb_50omg_box_spawn_bias)); + addAmmo('HD50OMGBoxPickup', spawns_50omgbox, hdb_50omg_persistent_spawning); // .50 OMG Casing Array spawns_50omgcasing; - spawns_50omgcasing.push(addAmmoentry('HDCasingBits', 50omg_casing_spawn_bias)); - addAmmo('HDSpent50OMG', spawns_50omgcasing, 50omg_persistent_spawning); + spawns_50omgcasing.push(addAmmoentry('HDCasingBits', hdb_50omg_casing_spawn_bias)); + addAmmo('HDSpent50OMG', spawns_50omgcasing, hdb_50omg_persistent_spawning); // .45 ACP Box Pickup Array spawns_45acpbox; - spawns_45acpbox.push(addAmmoentry('ClipBoxPickup', 45acp_box_spawn_bias)); - addAmmo('HD45ACPBoxPickup', spawns_45acpbox, 45acp_persistent_spawning); + spawns_45acpbox.push(addAmmoentry('ClipBoxPickup', hdb_45acp_box_spawn_bias)); + addAmmo('HD45ACPBoxPickup', spawns_45acpbox, hdb_45acp_persistent_spawning); // .45 ACP Casing Array spawns_45acpcasing; - spawns_45acpcasing.push(addAmmoentry('HDCasingBits', 45acp_casing_spawn_bias)); - addAmmo('HDSpent45ACP', spawns_45acpcasing, 45acp_persistent_spawning); + spawns_45acpcasing.push(addAmmoentry('HDCasingBits', hdb_45acp_casing_spawn_bias)); + addAmmo('HDSpent45ACP', spawns_45acpcasing, hdb_45acp_persistent_spawning); // 10mm Box Pickup Array spawns_10mmBox; - spawns_10mmBox.push(addAmmoentry('ClipBoxPickup', 10mm_box_spawn_bias)); - addAmmo('HD10mBoxPickup', spawns_10mmBox, 10mm_persistent_spawning); + spawns_10mmBox.push(addAmmoentry('ClipBoxPickup', hdb_10mm_box_spawn_bias)); + addAmmo('HD10mBoxPickup', spawns_10mmBox, hdb_10mm_persistent_spawning); // 10mm Casing Array spawns_10mmBrass; - spawns_10mmBrass.push(addAmmoentry('HDCasingBits', 10mm_casing_spawn_bias)); - addAmmo('HDSpent10mm', spawns_10mmBrass, 10mm_persistent_spawning); + spawns_10mmBrass.push(addAmmoentry('HDCasingBits', hdb_10mm_casing_spawn_bias)); + addAmmo('HDSpent10mm', spawns_10mmBrass, hdb_10mm_persistent_spawning); // .45 LC Box Pickup Array spawns_45lcbox; - spawns_45lcbox.push(addAmmoentry('ClipBoxPickup', 45lc_box_spawn_bias)); - addAmmo('HD45LCBoxPickup', spawns_45lcbox, 45lc_persistent_spawning); + spawns_45lcbox.push(addAmmoentry('ClipBoxPickup', hdb_45lc_box_spawn_bias)); + addAmmo('HD45LCBoxPickup', spawns_45lcbox, hdb_45lc_persistent_spawning); // .45 LC Casing Array spawns_45lccasing; - spawns_45lccasing.push(addAmmoentry('HDCasingBits', 45lc_casing_spawn_bias)); - addAmmo('HDSpent45LC', spawns_45lccasing, 45lc_persistent_spawning); + spawns_45lccasing.push(addAmmoentry('HDCasingBits', hdb_45lc_casing_spawn_bias)); + addAmmo('HDSpent45LC', spawns_45lccasing, hdb_45lc_persistent_spawning); // Gold .45 LC Box Pickup Array spawns_g45lcbox; - spawns_g45lcbox.push(addAmmoentry('ClipBoxPickup', g45lc_box_spawn_bias)); - addAmmo('HDGold45LCBoxPickup', spawns_g45lcbox, g45lc_persistent_spawning); + spawns_g45lcbox.push(addAmmoentry('ClipBoxPickup', hdb_g45lc_box_spawn_bias)); + addAmmo('HDGold45LCBoxPickup', spawns_g45lcbox, hdb_g45lc_persistent_spawning); // Gold .45 LC Casing Array spawns_g45lccasing; - spawns_g45lccasing.push(addAmmoentry('HDCasingBits', g45lc_casing_spawn_bias)); - addAmmo('HDSpentGold45LC', spawns_g45lccasing, g45lc_persistent_spawning); + spawns_g45lccasing.push(addAmmoentry('HDCasingBits', hdb_g45lc_casing_spawn_bias)); + addAmmo('HDSpentGold45LC', spawns_g45lccasing, hdb_g45lc_persistent_spawning); // Less-Lethal Shell Box Array spawns_llsbox; - spawns_llsbox.push(addAmmoentry('ShellBoxRandom', LLS_shellbox_spawn_bias)); - addAmmo('LLShellBoxPickup', spawns_llsbox, LLS_persistent_spawning); + spawns_llsbox.push(addAmmoentry('ShellBoxRandom', hdb_LLS_shellbox_spawn_bias)); + addAmmo('LLShellBoxPickup', spawns_llsbox, hdb_LLS_persistent_spawning); // Less-Lethal Shell Pickup Array spawns_llspickup; - spawns_llspickup.push(addAmmoentry('ShellRandom', LLS_shell_spawn_bias)); - addAmmo('LLShellPickup', spawns_llspickup, LLS_persistent_spawning); + spawns_llspickup.push(addAmmoentry('ShellRandom', hdb_LLS_shell_spawn_bias)); + addAmmo('LLShellPickup', spawns_llspickup, hdb_LLS_persistent_spawning); // Less-Lethal Shell Ammo Array spawns_llsammo; - spawns_llsammo.push(addAmmoentry('ShellRandom', LLS_shell_spawn_bias)); - addAmmo('HDLLShellAmmo', spawns_llsammo, LLS_persistent_spawning); + spawns_llsammo.push(addAmmoentry('ShellRandom', hdb_LLS_shell_spawn_bias)); + addAmmo('HDLLShellAmmo', spawns_llsammo, hdb_LLS_persistent_spawning); // Less-Lethal Shell Casing Array spawns_llscasing; - spawns_llscasing.push(addAmmoentry('HDCasingBits', LLS_casing_spawn_bias)); - addAmmo('HDLLSpentShell', spawns_llscasing, LLS_persistent_spawning); + spawns_llscasing.push(addAmmoentry('HDCasingBits', hdb_LLS_casing_spawn_bias)); + addAmmo('HDLLSpentShell', spawns_llscasing, hdb_LLS_persistent_spawning); // Explosive Slug Box Array spawns_eslugbox; - spawns_eslugbox.push(addAmmoentry('ShellBoxRandom', ESlug_shellbox_spawn_bias)); - addAmmo('ExplosiveShellBoxPickup', spawns_eslugbox, ESlug_persistent_spawning); + spawns_eslugbox.push(addAmmoentry('ShellBoxRandom', hdb_ESlug_shellbox_spawn_bias)); + addAmmo('ExplosiveShellBoxPickup', spawns_eslugbox, hdb_ESlug_persistent_spawning); // Explosive Slug Pickup Array spawns_elugpickup; - spawns_elugpickup.push(addAmmoentry('ShellRandom', ESlug_shell_spawn_bias)); - addAmmo('ExplosiveShellPickup', spawns_elugpickup, ESlug_persistent_spawning); + spawns_elugpickup.push(addAmmoentry('ShellRandom', hdb_ESlug_shell_spawn_bias)); + addAmmo('ExplosiveShellPickup', spawns_elugpickup, hdb_ESlug_persistent_spawning); // Explosive Slug Ammo Array spawns_eslugammo; - spawns_eslugammo.push(addAmmoentry('ShellRandom', ESlug_shell_spawn_bias)); - addAmmo('HDExplosiveShellAmmo', spawns_eslugammo, ESlug_persistent_spawning); + spawns_eslugammo.push(addAmmoentry('ShellRandom', hdb_ESlug_shell_spawn_bias)); + addAmmo('HDExplosiveShellAmmo', spawns_eslugammo, hdb_ESlug_persistent_spawning); // Explosive Slug Casing Array spawns_eslugcasing; - spawns_eslugcasing.push(addAmmoentry('HDCasingBits', ESlug_casing_spawn_bias)); - addAmmo('HDSpentExplosiveShell', spawns_eslugcasing, ESlug_persistent_spawning); + spawns_eslugcasing.push(addAmmoentry('HDCasingBits', hdb_ESlug_casing_spawn_bias)); + addAmmo('HDSpentExplosiveShell', spawns_eslugcasing, hdb_ESlug_persistent_spawning); // Flare Shell Box Array spawns_fshellbox; - spawns_fshellbox.push(addAmmoentry('ShellBoxRandom', FShell_shellbox_spawn_bias)); - addAmmo('FlareShellBoxPickup', spawns_fshellbox, FShell_persistent_spawning); + spawns_fshellbox.push(addAmmoentry('ShellBoxRandom', hdb_FShell_shellbox_spawn_bias)); + addAmmo('FlareShellBoxPickup', spawns_fshellbox, hdb_FShell_persistent_spawning); // Flare Shell Pickup Array spawns_fshellpickup; - spawns_fshellpickup.push(addAmmoentry('ShellRandom', FShell_shell_spawn_bias)); - addAmmo('FlareShellPickup', spawns_fshellpickup, FShell_persistent_spawning); + spawns_fshellpickup.push(addAmmoentry('ShellRandom', hdb_FShell_shell_spawn_bias)); + addAmmo('FlareShellPickup', spawns_fshellpickup, hdb_FShell_persistent_spawning); // Flare Shell Ammo Array spawns_fshellammo; - spawns_fshellammo.push(addAmmoentry('ShellRandom', FShell_shell_spawn_bias)); - addAmmo('HDFlareAmmo', spawns_fshellammo, FShell_persistent_spawning); + spawns_fshellammo.push(addAmmoentry('ShellRandom', hdb_FShell_shell_spawn_bias)); + addAmmo('HDFlareAmmo', spawns_fshellammo, hdb_FShell_persistent_spawning); // .56 Caliber Musket Ball Array spawns_mball; - spawns_mball.push(addAmmoentry('HDCasingBits', MBall_casing_spawn_bias)); - addAmmo('HDBallAmmo', spawns_mball, MBall_persistent_spawning); + spawns_mball.push(addAmmoentry('HDCasingBits', hdb_MBall_casing_spawn_bias)); + addAmmo('HDBallAmmo', spawns_mball, hdb_MBall_persistent_spawning); // 4-Gauge Saboted Slug Box Array spawns_4gssbox; - spawns_4gssbox.push(addAmmoentry('ShellBoxRandom', 4gss_shellbox_spawn_bias)); - addAmmo('HD4GSSpawn', spawns_4gssbox, 4gss_persistent_spawning); + spawns_4gssbox.push(addAmmoentry('ShellBoxRandom', hdb_4gss_shellbox_spawn_bias)); + addAmmo('HD4GSSpawn', spawns_4gssbox, hdb_4gss_persistent_spawning); // 4-Gauge Saboted Slug Pickup Array spawns_4gsspickup; - spawns_4gsspickup.push(addAmmoentry('ShellRandom', 4gss_shell_spawn_bias)); - addAmmo('HDFumbled4GS', spawns_4gsspickup, 4gss_persistent_spawning); + spawns_4gsspickup.push(addAmmoentry('ShellRandom', hdb_4gss_shell_spawn_bias)); + addAmmo('HDFumbled4GS', spawns_4gsspickup, hdb_4gss_persistent_spawning); // 4-Gauge Saboted Slug Ammo Array spawns_4gssammo; - spawns_4gssammo.push(addAmmoentry('ShellRandom', 4gss_shell_spawn_bias)); - addAmmo('HD4GSAmmo', spawns_4gssammo, 4gss_persistent_spawning); + spawns_4gssammo.push(addAmmoentry('ShellRandom', hdb_4gss_shell_spawn_bias)); + addAmmo('HD4GSAmmo', spawns_4gssammo, hdb_4gss_persistent_spawning); // 4-Gauge Saboted Slug Casing Array spawns_4gsscasing; - spawns_4gsscasing.push(addAmmoentry('HDCasingBits', 4gss_casing_spawn_bias)); - addAmmo('HDSpent4GS', spawns_4gsscasing, 4gss_persistent_spawning); + spawns_4gsscasing.push(addAmmoentry('HDCasingBits', hdb_4gss_casing_spawn_bias)); + addAmmo('HDSpent4GS', spawns_4gsscasing, hdb_4gss_persistent_spawning); // 5mm Bumblebee Rimfire Box Pickup Array spawns_5mmbox; - spawns_5mmbox.push(addAmmoentry('ClipBoxPickup', 5mm_box_spawn_bias)); - addAmmo('PB_5mmBoxPickup', spawns_5mmbox, 5mm_persistent_spawning); + spawns_5mmbox.push(addAmmoentry('ClipBoxPickup', hdb_5mm_box_spawn_bias)); + addAmmo('PB_5mmBoxPickup', spawns_5mmbox, hdb_5mm_persistent_spawning); // 5mm Bumblebee Rimfire Casing - Array spawns_5mmbox; - spawns_5mmbox.push(addAmmoentry('HDCasingBits', 5mm_casing_spawn_bias)); - addAmmo('HDSpent5mmMR', spawns_5mmbox, 5mm_persistent_spawning); + Array spawns_5mmcasing; + spawns_5mmcasing.push(addAmmoentry('HDCasingBits', hdb_5mm_casing_spawn_bias)); + addAmmo('HDSpent5mmMR', spawns_5mmcasing, hdb_5mm_persistent_spawning); // .50 Action Mega Box Pickup Array spawns_50ambox; - spawns_5mmbox.push(addAmmoentry('ClipBoxPickup', 50am_box_spawn_bias)); - addAmmo('PB_50AMBoxPickup', spawns_50ambox, 50am_persistent_spawning); + spawns_5mmbox.push(addAmmoentry('ClipBoxPickup', hdb_50am_box_spawn_bias)); + addAmmo('PB_50AMBoxPickup', spawns_50ambox, hdb_50am_persistent_spawning); // .50 Action Mega Casing Array spawns_50amcasing; - spawns_50amcasing.push(addAmmoentry('HDCasingBits', 50am_casing_spawn_bias)); - addAmmo('HDSpent50AM', spawns_50amcasing, 50am_persistent_spawning); + spawns_50amcasing.push(addAmmoentry('HDCasingBits', hdb_50am_casing_spawn_bias)); + addAmmo('HDSpent50AM', spawns_50amcasing, hdb_50am_persistent_spawning); // 6mm Flechette Box Pickup Array spawns_6mmBox; - spawns_6mmBox.push(addAmmoentry('ClipBoxPickup', 6mm_box_spawn_bias)); - addAmmo('HD6mmFlechetteBoxPickup', spawns_6mmBox, 6mm_persistent_spawning); + spawns_6mmBox.push(addAmmoentry('ClipBoxPickup', hdb_6mm_box_spawn_bias)); + addAmmo('HD6mmFlechetteBoxPickup', spawns_6mmBox, hdb_6mm_persistent_spawning); // 6mm Flechette Casing Array spawns_6mmcasing; - spawns_6mmcasing.push(addAmmoentry('HDCasingBits', 6mm_casing_spawn_bias)); - addAmmo('HDSpent6mmFlechette', spawns_6mmcasing, 6mm_persistent_spawning); + spawns_6mmcasing.push(addAmmoentry('HDCasingBits', hdb_6mm_casing_spawn_bias)); + addAmmo('HDSpent6mmFlechette', spawns_6mmcasing, hdb_6mm_persistent_spawning); // 20mm Grenade Ammo Array spawns_20mmgrenades; - spawns_20mmgrenades.push(addAmmoentry('RocketBoxRandom', 20mm_rbox_spawn_bias)); - addAmmo('WAN_20mmGrenadeAmmo', spawns_20mmgrenades, 20mm_persistent_spawning); + spawns_20mmgrenades.push(addAmmoentry('RocketBoxRandom', hdb_20mm_rbox_spawn_bias)); + addAmmo('WAN_20mmGrenadeAmmo', spawns_20mmgrenades, hdb_20mm_persistent_spawning); // Thunder Rockets Array spawns_thunderrockets; - spawns_thunderrockets.push(addAmmoentry('RocketBoxRandom', ThuRKT_rbox_spawn_bias)); - addAmmo('WAN_ThuRKT', spawns_thunderrockets, ThuRKT_persistent_spawning); + spawns_thunderrockets.push(addAmmoentry('RocketBoxRandom', hdb_ThuRKT_rbox_spawn_bias)); + addAmmo('WAN_ThuRKT', spawns_thunderrockets, hdb_ThuRKT_persistent_spawning); // Tortoise Missiles Array spawns_tortrockets; - spawns_tortrockets.push(addAmmoentry('RocketBoxRandom', TortRKT_rbox_spawn_bias)); - addAmmo('Wan_TortRkt', spawns_tortrockets, TortRKT_persistent_spawning); + spawns_tortrockets.push(addAmmoentry('RocketBoxRandom', hdb_TortRKT_rbox_spawn_bias)); + addAmmo('Wan_TortRkt', spawns_tortrockets, hdb_TortRKT_persistent_spawning); // .30-06 Box Pickup Array spawns_3006box; - spawns_5mmbox.push(addAmmoentry('ClipBoxPickup', 3006_box_spawn_bias)); - addAmmo('HD3006BoxPickup', spawns_3006box, 3006_persistent_spawning); + spawns_5mmbox.push(addAmmoentry('ClipBoxPickup', hdb_3006_box_spawn_bias)); + addAmmo('HD3006BoxPickup', spawns_3006box, hdb_3006_persistent_spawning); // .30-06 Casing/Brass Array spawns_3006casing; - spawns_3006casing.push(addAmmoentry('HDCasingBits', 3006_casing_spawn_bias)); - addAmmo('HDSpent3006', spawns_3006casing, 3006_persistent_spawning); + spawns_3006casing.push(addAmmoentry('HDCasingBits', hdb_3006_casing_spawn_bias)); + addAmmo('HDSpent3006', spawns_3006casing, hdb_3006_persistent_spawning); } // Random stuff, stores it and forces negative values just to be 0.