Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Spawn Handler to latest changes #6

Merged
merged 4 commits into from
Jul 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 45 additions & 11 deletions CVARINFO
Original file line number Diff line number Diff line change
@@ -1,31 +1,65 @@
// 9mm Boss Rifle
server int boss9mm_boss_spawn_bias = 19;
server int boss9mm_pistol_spawn_bias = 24;
server int boss9mm_smg_spawn_bias = 14;
server bool boss9mm_allowBackpacks = true;
server bool boss9mm_persistent_spawning = false;

server bool boss9mmmag_allowBackpacks = true;

// 4mm Boss Rifle
server int boss4mm_boss_spawn_bias = 19;
server int boss4mm_chaingun_spawn_bias = 14;
server bool boss4mm_allowBackpacks = true;
server bool boss4mm_persistent_spawning = false;

// 12ga Boss Rifle
server int bas_boss_spawn_bias = 19;
server int bas_hunter_spawn_bias = 14;
server int bas_slayer_spawn_bias = 14;
server bool bas_allowBackpacks = true;
server bool bas_persistent_spawning = false;

// .50 OMG Boss Rifle
server int bog_boss_spawn_bias = 19;
server int bog_plasma_spawn_bias = 24;
server int bog_bfg_spawn_bias = 14;
server bool bog_allowBackpacks = true;
server bool bog_persistent_spawning = false;

server bool bogmag_allowBackpacks = true;

// 5mm Boss Rifle
server int boss5mm_boss_spawn_bias = 24;
server int boss5mm_chaingun_spawn_bias = 49;
server bool boss5mm_allowBackpacks = true;
server bool boss5mm_persistent_spawning = false;

// No-scope Boss Rifle
server int nsb_boss_spawn_bias = 19;
server bool nsb_allowBackpacks = true;
server bool nsb_persistent_spawning = false;

// .50 OMG Boss Rifle
server int bog_plasma_spawn_bias = 19;
server int bog_ssg_spawn_bias = 49;
server int bog_chaingun_spawn_bias = 19;
server bool bog_persistent_spawning = false;
// The Worst Boss Rifle
server int worstBoss_boss_spawn_bias = 99;
server bool worstBoss_allowBackpacks = true;
server bool worstBoss_persistent_spawning = false;

// M1 Garand
server int hd_garand_ammotype=1;
server int hd_garand_reloadspeed=0;
server int hd_garand_reloadcapacity=8;

server int gar_shellbox_spawn_bias = 24;
server bool gar_allowBackpacks = true;
server bool gar_persistent_spawning = false;

// Bossmerg
server int bas_hunter_spawn_bias = 14;
server bool bas_persistent_spawning = false;

// Shotbossting
server bool hd_shitbossting_spawn = false;
server bool garmag_allowBackpacks = true;

// Dedicated Medical Scanner
server int dms_stimpack_bias = 49;
server int dms_medikit_bias = 19;
server bool dms_allowBackpacks = true;
server bool dms_persistent_spawning = false;

// Speed Reloader
Expand Down
15 changes: 11 additions & 4 deletions KEYCONF
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
alias nsb_reset_cvars "resetcvar nsb_boss_spawn_bias; resetcvar nsb_persistent_spawning"
alias bog_reset_cvars "resetcvar bog_plasma_spawn_bias; resetcvar bog_ssg_spawn_bias; resetcvar bog_chaingun_spawn_bias; resetcvar bog_persistent_spawning"
alias dms_reset_cvars "resetcvar dms_stimpack_bias; resetcvar dms_medikit_bias; resetcvar dms_persistent_spawning"
alias boss9mm_reset_cvars "resetcvar boss9mm_boss_spawn_bias; resetcvar boss9mm_pistol_spawn_bias; resetcvar boss9mm_smg_spawn_bias; resetcvar boss9mm_allowBackpacks; resetcvar boss9mm_persistent_spawning"
alias boss4mm_reset_cvars "resetcvar boss4mm_boss_spawn_bias; resetcvar boss4mm_chaingun_spawn_bias; resetcvar boss4mm_allowBackpacks; resetcvar boss4mm_persistent_spawning"
alias bas_reset_cvars "resetcvar bas_boss_spawn_bias; resetcvar bas_hunter_spawn_bias; resetcvar bas_slayer_spawn_bias; resetcvar bas_allowBackpacks; resetcvar bas_persistent_spawning"
alias bog_reset_cvars "resetcvar bog_boss_spawn_bias; resetcvar bog_plasma_spawn_bias; resetcvar bog_bfg_spawn_bias; resetcvar bog_allowBackpacks; resetcvar bogmag_allowBackpacks; resetcvar bog_persistent_spawning"
alias boss5mm_reset_cvars "resetcvar boss5mm_boss_spawn_bias; boss5mm_chaingun_spawn_bias; resetcvar boss5mm_allowBackpacks; resetcvar boss5mm_persistent_spawning"
alias nsb_reset_cvars "resetcvar nsb_boss_spawn_bias; resetcvar nsb_allowBackpacks; resetcvar nsb_persistent_spawning"
alias worstBoss_reset_cvars "resetcvar worstBoss_boss_spawn_bias; resetcvar worstBoss_allowBackpacks; resetcvar worstBoss_persistent_spawning"
alias gar_reset_cvars "resetcvar gar_boss_spawn_bias; resetcvar gar_allowBackpacks; resetcvar garmag_allowBackpacks; resetcvar gar_persistent_spawning"

alias Hexa_Reset_Cvars "nsb_reset_cvars; bog_reset_cvars; dms_reset_cvars"
alias dms_reset_cvars "resetcvar dms_stimpack_bias; resetcvar dms_medikit_bias; resetcvar dms_persistent_spawning"

alias Hexa_Reset_Cvars "boss9mm_reset_cvars; boss4mm_reset_cvars; bas_reset_cvars; bog_reset_cvars; boss5mm_reset_cvars; nsb_reset_cvars; gar_reset_cvars; dms_reset_cvars"
112 changes: 88 additions & 24 deletions LANGUAGE
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ HEXA_MENU = "\c[Green]Ⓗ\c- Hexadoken's Legacy Continued";

// Weapon Tags
TAG_NSB = "Scopeless Boss Rifle";
TAG_OMGBOSS = ".50 OMG Boss Rifle";
TAG_OMGBOSS = "Boss Rifle (.50 OMG)";
TAG_BOSSMERG = "Bossmerg 12 gauge Shotgun";
TAG_GARAND = "M1 Garand";

TAG_ShitbostDummy = "Boss Rifle Variants";
TAG_HEXAPERSONAL = "HexaDoken's Personal Boss Rifle";
TAG_4MMBOSS = "Boss Rifle (4mm)";
TAG_9MMBOSS = "Boss Rifle (9mm)";
TAG_4MMBOSS = "Boss Rifle (4mm)";
TAG_5MMBOSS = "HexaDoken's Personal Boss Rifle";
TAG_WORSTBOSS = "Boss Rifle But It's The Worst";

// Item Tags
Expand All @@ -22,26 +22,51 @@ TAG_DMS = "Medical Scanner";
TAG_GARANDCLIP = "M1 Garand clip";

// Menu Titles
TITLE_NSBMENU = "------ Scopeless Boss Rifle Options ------";
TITLE_BOGRIFLEMENU = "------ .50 OMG Boss Rifle Options ------";
TITLE_9MMBOSSMENU = "------ 9mm Boss Rifle Options ------";
TITLE_4MMBOSSMENU = "------ 4.26mm Boss Rifle Options ------";
TITLE_BOSSMERGMENU = "------ Bossmerg 12 gauge Shotgun Options ------";
TITLE_BOGRIFLEMENU = "------ .50 OMG Boss Rifle Options ------";
TITLE_5MMBOSSMENU = "------ Hexadoken's 5mm BR Boss Rifle Options ------";
TITLE_NSBMENU = "------ Scopeless Boss Rifle Options ------";
TITLE_WORSTMENU = "------ The Worst Boss Rifle Options ------";
TITLE_GARANDMENU = "------ M1 Garand Options ------";
TITLE_DMSMENU = "------ Medical Scanner Options ------";

// Scopeless Boss
MENU_NSBSPAWNTEXT = "Control the spawn rate of the No-Scope Boss on Boss Rifles";
MENU_NSBSPAWN = "No-Scope Boss Spawn Rate: ";
MENU_RESETNSBSPAWN = "Reset Boss spawn options";
// 9mm Boss
MENU_9MMBOSSSPAWNTEXT = "Control the spawn rate of the 9mm Boss on Boss Rifles";
MENU_9MMBOSSPISTOLTEXT = "Control the spawn rate of the 9mm Boss on Pistols";
MENU_9MMBOSSSMGTEXT = "Control the spawn rate of the 9mm Boss on SMGs";
MENU_9MMBOSSSPAWN = "9mm Boss Spawn Rate: ";

// 4mm Boss
MENU_4MMBOSSSPAWNTEXT = "Control the spawn rate of the 4.26mm Boss on Boss Rifles";
MENU_4MMBOSSCHAINGUNTEXT = "Control the spawn rate of the 4.26mm Boss on Vulcanettes";
MENU_4MMBOSSSPAWN = "4.26mm Boss Spawn Rate: ";

// Bossmerg
MENU_BASSPAWNTEXT = "Control the spawn rate of the Bossmerg on Boss Rifles";
MENU_BASHUNTERTEXT = "Control the spawn rate of the Bossmerg on Hunters";
MENU_BASSLAYERTEXT = "Control the spawn rate of the Bossmerg on Slayers";
MENU_BASSPAWNRATE = "Bossmerg Spawn Rate: ";

// .50 OMG Boss
MENU_BOGSPAWNTEXT = "Control the spawn rate of the .50 OMG Boss on Boss Rifles";
MENU_BOGTHUNDERBUSTERTEXT = "Control the spawn rate of the .50 OMG Boss on Thunderbusters";
MENU_BOGSLAYERTEXT = "Control the spawn rate of the .50 OMG Boss on Slayer shotguns";
MENU_BOGVULCTEXT = "Control the spawn rate of the .50 OMG Boss on Vulcanettes";
MENU_BOGBFGTEXT = "Control the spawn rate of the .50 OMG Boss on BFG-9000s";
MENU_BOGSPAWNRATE = ".50 OMG Boss Spawn Rate: ";

// Bossmerg
MENU_BASHUNTER = "Control the spawn rate of the Bossmerg on Hunters";
MENU_BASSPAWNRATE = "Bossmerg Spawn Rate: ";
// 5mm Boss
MENU_5MMBOSSSPAWNTEXT = "Control the spawn rate of Hexadoken's Personal Boss on Boss Rifles";
MENU_5MMBOSSCHAINGUNTEXT = "Control the spawn rate of Hexadoken's Personal Boss on Vulcanettes";
MENU_5MMBOSSSPAWN = "Hexadoken's Personal Boss Spawn Rate: ";

// Scopeless Boss
MENU_NSBSPAWNTEXT = "Control the spawn rate of the No-Scope Boss on Boss Rifles";
MENU_NSBSPAWN = "No-Scope Boss Spawn Rate: ";

// 5mm Boss
MENU_WORSTSPAWNTEXT = "Control the spawn rate of the Worst Boss on Boss Rifles";
MENU_WORSTSPAWN = "The Worst Boss Spawn Rate: ";

// M1 Garand
MENU_GARANDLIBERATOR = "Control the spawn rate of the M1 Garand on Liberators";
Expand All @@ -59,44 +84,83 @@ MENU_RESETGARANDRELOADERCAPACITY = "Reset Reloader Capacity";
// Medical Scanner
MENU_DMSSTIMPACK = "Control the spawn rate of the Medical Scanner on Stimpacks";
MENU_DMSMEDIKIT = "Control the spawn rate of the Medical Scanner on Medikits";
MENU_DMSSPAWNRATE = "Bossmerg Spawn Rate: ";
MENU_DMSSPAWNRATE = "Medical Scanner Spawn Rate: ";

// Various Resets
MENU_RESETPISTOL = "Reset Pistol spawn options";
MENU_RESETSMG = "Reset SMG spawn options";
MENU_RESETBOSS = "Reset Boss Rifle spawn options";
MENU_RESETTB = "Reset Thunderbuster spawn options";
MENU_RESETSLAYER = "Reset Slayer spawn options";
MENU_RESETVULC = "Reset Vulcanette spawn options";
MENU_RESETHUNTER = "Reset Hunter spawn options";
MENU_RESETBFG = "Reset BFG-9000 spawn options";
MENU_RESETLIB = "Reset Liberator spawn options";
MENU_RESETSTIMPACK = "Reset Stimpack spawn options";
MENU_RESETMEDIKIT = "Reset Medikit spawn options";

// Backpack & Ammo Box Tables
MENU_BACKPACKTEXT = "Control whether to allow this weapon to spawn in Backpacks & Ammo Boxes";
MENU_9MMBOSSBACKPACK = "Allow 9mm Boss Rifles: ";
MENU_9MMBOSSMAGBACKPACK = "Allow 9mm Clips: ";
MENU_4MMBOSSBACKPACK = "Allow 4mm Boss Rifles: ";
MENU_BASBACKPACK = "Allow Bossmerg Shotguns: ";
MENU_BOGBACKPACK = "Allow .50 OMG Boss Rifles: ";
MENU_BOGMAGBACKPACK = "Allow .50 OMG Clips: ";
MENU_5MMBOSSBACKPACK = "Allow Hexadoken's Personal Boss Rifles: ";
MENU_NSBBACKPACK = "Allow No-Scope Boss Rifles: ";
MENU_WORSTBACKPACK = "Allow the Worst Boss Rifles: ";
MENU_GARANDBACKPACK = "Allow M1 Garands: ";
MENU_GARANDMAGBACKPACK = "Allow M1 Garand Magazines: ";
MENU_DMSBACKPACK = "Allow Medical Scanners: ";

// Persistency
MENU_REPLACEAFTERMAPLOAD = "Control whether replacements happen after a mapload.";
MENU_PERSISTENCY = "Persistent Spawns: ";
MENU_RESETPERSISTENCY = "Reset persistence options";

// Deepest Lore
NSB_LORE1 = "A Boss rifle that has been stripped of its main scope, leaving only its irons left.";
NSB_LORE2 = "Little is known why these rifles have appeared with only irons, especially as they're not easily replaceable.";
NSB_LORE3 = "Some speculate that they're for civilian use while others say that they're for infantry use.";
NSB_LORE4 = "All we can say for certain is that it's still as effective as the regular boss rifle, for better or for worse.";
9MMBOSS_LORE1 = "TODO: Enter Lore.";
9MMBOSS_LORE2 = "";
9MMBOSS_LORE3 = "";
9MMBOSS_LORE4 = "";

BOG_LORE1 = "A Boss rifle that has been rechambered for the .50 OMG Cartridge.";
BOG_LORE2 = "These rifles are usually impractical, though incredibly fun to shoot.";
BOG_LORE3 = "If you do manage to hit your target with this it'll most certainly take some hefty damage,";
BOG_LORE4 = "though getting the munitions to feed this beast is another ordeal.";
4MMBOSS_LORE1 = "TODO: Enter Lore.";
4MMBOSS_LORE2 = "";
4MMBOSS_LORE3 = "";
4MMBOSS_LORE4 = "";

BAS_LORE1 = "What appears to be a boss rifle rechambered to fit 12-Gauge shells.";
BAS_LORE2 = "Not much is known where these came from or why they were created in the first place,";
BAS_LORE3 = "Though they most certainly do exist. For better or for worst.";
BAS_LORE4 = "If you get one, make sure it's the custom chamber version. These'll gunk up fast...";

BOG_LORE1 = "A Boss rifle that has been rechambered for the .50 OMG Cartridge.";
BOG_LORE2 = "These rifles are usually impractical, though incredibly fun to shoot.";
BOG_LORE3 = "If you do manage to hit your target with this it'll most certainly take some hefty damage,";
BOG_LORE4 = "though getting the munitions to feed this beast is another ordeal.";

NSB_LORE1 = "A Boss rifle that has been stripped of its main scope, leaving only its irons left.";
NSB_LORE2 = "Little is known why these rifles have appeared with only irons, especially as they're not easily replaceable.";
NSB_LORE3 = "Some speculate that they're for civilian use while others say that they're for infantry use.";
NSB_LORE4 = "All we can say for certain is that it's still as effective as the regular boss rifle, for better or for worse.";

5MMBOSS_LORE1 = "TODO: Enter Lore.";
5MMBOSS_LORE2 = "";
5MMBOSS_LORE3 = "";
5MMBOSS_LORE4 = "";

GARAND_LORE1 = "An old M1 Garand from the early 1X40 times. Some have been recently rechambered to 7.76mm also.";
GARAND_LORE2 = "It mostly serves now as an inbetween of the Mk. IV Boss Rifle and the ZM7 Liberator.";
GARAND_LORE3 = "The original cartridge it was chambered for of .30-06 hits a hefty punch,";
GARAND_LORE4 = "though its rarity and incompatibility with other 7.76mm guns makes the 7.76mm version a bit more economical.";

WORSTBOSS_LORE1 = "TODO: Enter Lore.";
WORSTBOSS_LORE2 = "";
WORSTBOSS_LORE3 = "";
WORSTBOSS_LORE4 = "";

DMS_LORE1 = "TODO: Enter Lore.";
DMS_LORE2 = "";
DMS_LORE3 = "";
DMS_LORE4 = "";
DMS_LORE4 = "";
2 changes: 1 addition & 1 deletion MAPINFO
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GameInfo
{
AddEventHandlers = "HexaDokenHandler", "HDShitbostHandler"
AddEventHandlers = "HexaDokenHandler"
}
Loading