joker-119 / SCPSLGamemodes

Gamemodes for SCP:SL. Requires Smod
13 stars 3 forks source link

New gamemode, various optimizations to others (and bug fixes) #4

Closed joker-119 closed 5 years ago

joker-119 commented 5 years ago

New gamemode: Gang war - Half the server spawns as Chaos, other half as NTF Commanders Nuke is detonated when the round begins. Normal respawn events will occur, the team with less players remaining gets the respawn.

Optimizations: removed various unneeded 'using' tags from previous gamemodes. Added config for SOTF for peanut spawn health amount. (defaults to a low value for speedy nuts). Updated Smod2.dll and Blackout.dll to references to most recent Smod2 tester build (this build is not currently needed for the plugin to work, but will be for future gamemodes).

Bug Fixes: Juggernauts should now have infinite ammo, via the OnPlayerReload event refilling ammo when they reload, setting their ammo on spawn was proving unreliable, sometimes working, sometimes not, and requires commenting out CI default ammo amount in config if using default_ammo plugin.

Zombieland now uses OnPlayerHurt to determine if a human dieing should become a zombie, rather than OnPlayerDie, this should fix the Humans dieing to suicide or other humans not becoming zombies issue. Built-in tesla-gate filtering to prevent permanent death->spawn->death cycles if someone dies to a tesla.

The lights should no longer come back on during the SOFT event, and should properly come back on after the round has ended. Peanut spawn number is now based on player count.

joker-119 commented 5 years ago

Closing to open Sync PR