[CS:GO] Mike Myers Gamemode (v0.1.4)
Prologue
I've tried recreating a gamemode that I've watched many videos of on YouTube.
Currently I would say it's in "beta" as I've had many setbacks trying to get many things right.
So as of now what's working?
The stuff that works:
- General Game Flow
- Wait for warmup to end (players connecting)
- Insta kill knife for Mike
- 1v1 mode between last survivor and Mike (insta kill disabeld)
- Survivors only get a handgun (doesn't inflict damage) and slows Mike down when shot
- The plugin keeps track of who was last Mike Myers and will not choose that person until all people have at least been Mike Myers (reset thus)
- Weapons can't be dropped (or dropped on death)
- Survivors and Mike Myers can now be set to use a custom speed
- Added custom team names (Mike Myers vs Survivors)
- Survivors now have a limited clip (2 bullets) and reserve ammo (10) (I'll add later in config to modify these values)
The problems:
- There appear to be some problems with having more than 5 players in one team (could be related to the COMP mode) (possibly fixed)
Changing the speed of players is janky (Added but spams a lot in console, read below how to fix)
The survivors clip and total ammo size is too large (unbalanced)
Currently Mike Myers is slowed by changing his overal velocity multiplier (bad)
- The plugin relies on the game flow and rules from "de_" maps
Fixes:
To prevent a lot of spam in the server console related to clamping you can install the following https://github.com/e54385991/console-cleaner or follow this thread although this doesn't work and you'll need to go to one of the last pages to find a working version!
Requirements:- I have the plugin compiled on Sourcemod 1.10 but is most likely compatible with older versions
- At the present I'm using smlib to have an easier time setting entity properties
Your help is needed!If you wish to see this plugin feature complete and have a lot of knowledge of working/creating plugins for CS:GO then make sure to post your suggestions below.
I've also put up the plugin on my Github => https://github.com/Yimura/MikeMyers so you can open a PR with your changes/enhancements.
I've also added a couple of Call of Duty maps (commented) at the top of the source code, but most of these are outdated and/or not optimised to be ran on a server...
I'll be happy to see your criticism below and ideas to improve this plugin!
Config File:
Changelog
Code:
Version 0.1.4 (2020/05/20):
* Players are now forced to use the USP-S
* Clip and reserve ammo sizes are now enforced to 2 and 10 respectively
* Removed old commented code
Version 0.1.3 (2020/05/20):
* Added custom team names
* Fixed bug related to teams being limited
Version 0.1.2 (2020/05/20):
* At round end Mike Myers isn't directly switched teams (caused confusion to players to who had won), Mike Myers will instead be moved right before the next round starts
Version 0.1.1 (2020/05/19):
* Added speed modifiers (causes a lot of spam in console)
Version 0.1.0 (2020/05/15):
* Initial Release