-
Notifications
You must be signed in to change notification settings - Fork 3
feat(modes): Added DamageGame Mode, minor fixes to zms speed in rlgl #21
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
Conversation
Dolly132
commented
Nov 11, 2025
- Added DamageGame mode
- Made it so zms can have their original speed during RLGL mode
- Some code improvements
- Added DamageGame mode - Made it so zms can have their original speed during RLGL mode - Some code improvements
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR introduces a new DamageGame mode where humans with the lowest damage dealt to zombies receive periodic damage, adds functionality to restore zombie original speeds during RLGL mode, and includes various code style improvements. The changes also add the zombiereloaded dependency and refactor VIPMode event handling.
- Added DamageGame mode with timer-based damage penalties for low-damage dealers
- Implemented zombie speed restoration logic for RLGL mode to preserve original speeds
- Refactored event hook functions in VIPMode to be stock functions called from central handlers
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| sourceknight.yaml | Added zombiereloaded dependency to the project configuration |
| addons/sourcemod/scripting/Fun_Modes/VIPMode.sp | Refactored OnTakeDamagePost and ZR_OnClientInfected to be stock functions, removed redundant mode checks |
| addons/sourcemod/scripting/Fun_Modes/RedLightGreenLight.sp | Added speed restoration logic with g_fOriginalSpeed tracking and ChangeSpeed macro |
| addons/sourcemod/scripting/Fun_Modes/DamageGame.sp | New game mode implementation that tracks damage dealt and penalizes low-damage players |
| addons/sourcemod/scripting/FunModes.sp | Integrated DamageGame mode, added ZR_OnClientInfected forward, refactored SDKHook handling, code style improvements |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.