ShootZombies
Enhance your PEAK gameplay with an infinite-ammo AK47, improved zombie system, and customizable fog mechanics. Perfect for players who want more action and control over their survival experience.
Features
Weapon System
- Infinite Ammo: Never run out of bullets with the AK47's unlimited ammunition
- Configurable Fire Rate: Adjust how fast you can fire, with a default of 0.5 seconds between shots
- Realistic Recoil: Experience authentic weapon kick with configurable recoil force
- Player Stun Effect: Temporarily incapacitate other players with well-placed shots
- Cross-Player Sync: All weapon effects synchronize seamlessly across all players
Zombie System
- Survival Time Reduction: Each hit shortens zombie survival time, making combat more impactful
- Adjustable Movement Speed: Control how fast zombies can chase you
- Aggressiveness Control: Customize how aggressively zombies pursue players
- Knockback Effects: Send zombies flying with configurable knockback force
- Randomized Spawning: Keep gameplay fresh with random spawn intervals and zombie counts
- Advanced AI Settings: Fine-tune zombie behavior with configurable wakeup, chase, sprint, and lunge distances
- Immersive Death Animation: Watch zombies fall and vanish with realistic ragdoll physics
Fog System
- Customizable Fog Speed: Set the pace of the encroaching fog
- Extended Start Delay: 15-minute head start (900 seconds) by default, giving you time to prepare
- Real-Time UI Display: Monitor current fog speed and countdown timer at a glance
- Instant Fog Activation: Press Y to start the fog immediately when you're ready
- Fog Control: Use Y key to pause or resume fog movement anytime
Configuration
Configuration file location: BepInEx/config/com.github.PeakTest.ShootZombies.cfg
Weapon Settings
Fire Interval = 0.5 (Time between shots in seconds)
Fire Volume = 0.8 (Shooting sound volume, 0.0-1.0)
Recoil Force = 2 (Weapon recoil strength, 0=disabled)
Zombie Time Reduction = 20 (Seconds reduced from zombie survival time per hit)
Stun Duration = 3 (How long players stay stunned when hit)
Max Distance = 100 (Maximum shooting distance)
Bullet Size = 0.1 (Bullet collision size)
Zombie Settings
Move Speed = 1.0 (Zombie movement speed multiplier)
Aggressiveness = 1.0 (How aggressively zombies pursue players)
Knockback Force = 500 (Force applied when zombies are hit, 0=disabled)
Zombie Spawn
Enabled = true (Enable or disable zombie spawning)
Spawn Interval = 15 (Base time between zombie waves in seconds)
Interval Random = 5 (Random variation added to spawn intervals)
Spawn Radius = 30 (Distance around players where zombies spawn)
Spawn Count = 2 (Base number of zombies per wave)
Count Random = 1 (Random variation added to zombie counts)
Max Count = 5 (Maximum zombies allowed at once)
Max Lifetime = 120 (Maximum time zombies remain active in seconds)
Zombie AI
Wakeup Distance = 30 (Distance at which zombies become active)
Chase Distance = 25 (Distance at which zombies start pursuing)
Sprint Distance = 15 (Distance at which zombies start running)
Chase Time = 3 (Time chasing before zombies start sprinting)
Lunge Distance = 3 (Distance at which zombies lunge at players)
Inventory Settings
Slot = 1 (Inventory slot for the AK47, 0-3)
Fog Settings
Speed = 0.3 (Fog movement speed multiplier)
Start Delay = 900 (Time before fog starts moving, 0=immediate)
UI Enabled = true (Show or hide fog speed UI)
UI X Position = 50 (Horizontal UI position from left edge)
UI Y Position = 50 (Vertical UI position from top edge)
UI Scale = 1.0 (UI size multiplier)
Hotkeys
Spawn Weapon Key = T (Key to spawn weapon for host)
Pause Fog = Y (Key to pause or resume fog movement)
Installation
- Install BepInEx Pack for PEAK
- Install PEAKLib Core
- Install PEAKLib Items
- Install ModConfig
- Extract this mod to
BepInEx/plugins/
Changelog
1.0.5
- Added weapon recoil force configuration
- Added randomized zombie spawn intervals and counts
- Improved zombie death animation with ragdoll physics
- Zombies now properly fall when killed
- Added configuration for spawn interval randomization
- Added configuration for spawn count randomization
- Added fog system with configurable speed
- Added fog start delay with countdown timer
- Added fog UI display for speed and countdown
- Added Y key to start fog immediately
- Added Y key to pause/resume fog movement
1.0.3
- Optimized zombie configuration parameters
- Removed unnecessary configuration items
- Added zombie aggressiveness configuration
- Added zombie knockback force configuration
- Improved zombie death animation (fall then disappear)
- Optimized zombie AI behavior
1.0.2
- Added ModConfig integration for in-game configuration
- Support for PEAKModding/ModConfig v1.6.0
- Updated dependencies to include ModConfig
1.0.1
- Added zombie max lifetime configuration
- Added bilingual config support
- Zombies are destroyed when too far from players (>100m)
- Simplified configuration parameters
1.0.0
- Initial release
- Infinite ammo AK47 with configurable fire interval
- Zombie survival time reduction on hit
- Player stun effect on hit
- Zombie movement speed configuration
- Host key spawn functionality
- Auto weapon grant on spawn/respawn/mid-join
- Photon synchronization for all effects