This small server-side mode adds a new gametype called "Plasmagib". Inspired by Quake Live lightning-gun-only servers, this mod restricts players to only using the Plasma beam weapon in fast paced matches that encourages accurate tracking.
- Quake Live Lightning Gun Feel: Faster fire rate, reduced knockback, limited range
- Infinite Ammo: No need to hunt for cells - focus on fragging
- Weapon Spawns Disabled: Only plasma beam spawns in Plasmagib mode
- Forced Gibbing: Optional visceral deaths with plasma beam kills
- Dual Weapon Modes: Toggle between Quake Live and original Q2 plasma beam attributes
- Damage-Based Scoring: Score points based on damage dealt, not just kills
- Vampiric Damage: Heal yourself based on damage dealt (optional)
- Accuracy Tracking: Real-time accuracy statistics with HUD display
- Bot Support: Full bot compatibility
| Cvar | Default | Description |
|---|---|---|
g_plasmagib |
0 |
Main toggle - Enable/disable Plasmagib mode |
g_plasmagib_ql_gunfeel |
1 |
Weapon attributes - QL vs original plasma beam feel |
g_plasmagib_gib_on_death |
1 |
Forced gibbing - Gib players on plasma beam death |
g_plasmagib_vampiric_dmg |
0 |
Vampiric healing - Heal based on damage dealt (max 200 HP) |
g_plasmagib_damage_scoring |
1 |
Damage scoring - Score points based on damage (10 dmg = 1 point) |
g_plasmagib_acc_sv |
1 |
Server accuracy - Show accuracy on player HUD (no client modification required) |
g_plasmagib_acc_cl |
0 |
Client HUD accuracy - Show accuracy on player HUD (nicer but requires client game_x64.dll) |
- Quake 2 Rerelease (Steam/GOG version)
- Visual Studio 2022 (Community Edition or higher)
- vcpkg (included in project)
-
Clone this repository:
git clone https://github.com/yourusername/q2re-plasmagib.git cd q2re-plasmagib -
Navigate to the rerelease directory:
cd q2re-plasmagib/rerelease -
Build the project:
build.bat
-
Copy the generated
game_x64.dllto your Quake 2 Rerelease folder
- Enable Plasmagib mode:
g_plasmagib 1 - Start a deathmatch game
- Damage: 7 per hit
- Knockback: 15 (minimal)
- Range: 768 units (limited)
- Fire Rate: Fast (frames 8-10)
- Damage: 15 per hit
- Knockback: 75 (high)
- Range: 8192 units (unlimited)
- Fire Rate: Slower (frames 8-13)
g_plasmagib 1
g_plasmagib_ql_gunfeel 1
g_plasmagib_gib_on_death 1
g_plasmagib_damage_scoring 1
g_plasmagib_vampiric_dmg 0 // Enable for more aggressive gameplay
The mod includes full bot compatibility:
- Bots understand plasma beam mechanics
- AI adjustments for QL-style gameplay
- Proper bot difficulty scaling
- Hit Registration: Instant hit-scan weapon with precise tracking
- Range Limitation: QL mode implements proper range falloff
- Damage Calculation: Real-time damage tracking with remainder system
- Accuracy System: Tracks shots fired vs. shots hit with sub-frame precision
- Optimized Rendering: Efficient beam rendering with minimal performance impact
- Network Friendly: Optimized network code for multiplayer stability
- Memory Efficient: Minimal memory footprint increase
The mod tracks comprehensive statistics:
- Accuracy Percentage: Real-time tracking of hit/miss ratio
- Damage Dealt: Total damage inflicted on opponents
- Score System: Flexible scoring based on damage or kills
- Performance Metrics: Frame rate and network optimization
q2re-plasmagib/
βββ rerelease/ # Main mod source code
β βββ g_*.cpp # Game logic
β βββ p_*.cpp # Player/physics code
β βββ rogue/ # Rogue mission pack integration
β βββ build.bat # Build script
βββ original/ # Original Q2 reference code
βββ fgd/ # Mapping tools
βββ README.md # This file
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
- C++17 or later
- Windows SDK 10.0.19041.0 or later
- vcpkg for dependency management
This project is licensed under the GNU General Public License v2.0 - see the LICENSE file for details.
- id Software - Original Quake 2 engine and game
- Nightdive Studios - Quake 2 Rerelease engine improvements
- Quake Live Community - Lightning Gun mechanics inspiration
- Contributors - All community members who helped improve this mod
- Issues: Report bugs via GitHub Issues
- Discussions: Join the community discussion
- Wiki: Check the project wiki for detailed guides
- β Vampiric damage system
- β Dual weapon mode support (QL vs Original)
- β Advanced accuracy tracking
- β Damage-based scoring system
- β Full bot compatibility
- β Optimized performance and networking
Ready to frag? Enable Plasmagib mode and experience the lightning! β‘
"In the arena, only the fastest survive."