-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7bbc820
commit d51becf
Showing
5 changed files
with
854 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
server int hdb_3006_box_spawn_bias = -1; | ||
server int hdb_3006_casing_spawn_bias = -1; | ||
server bool hdb_3006_persistent_spawning = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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;" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
GameInfo | ||
{ | ||
AddEventHandlers = "HDBulletLibHandler, HDBulletLibAmmoSpawner" | ||
AddEventHandlers = "HDBulletLibHandler", "HDBulletLibAmmoSpawner" | ||
} |
Oops, something went wrong.