BF6Gungame
A gamemode for BF6
Install / Use
/learn @Tasty-Syntax/BF6GungameREADME
Gun Game Mode - Battlefield 6 Portal
A classic Gun Game implementation for Battlefield 6 Portal, where players progress through weapon tiers by earning kills and race to be the first to complete all levels.
Usage Information
[!IMPORTANT] If you end up using our code / scripts please make sure to credit TastySyntax in your gamemode!
Overview
Gun Game is a team based game mode where players start with basic weapons and must earn kills to progress through increasingly powerful weapon tiers. The first player to complete all weapon levels and achieve the final knife kill wins the match.
Game Rules
Progression System
- 15 Weapon Levels: Players must progress through 15 different weapon tiers
- 2 Kills per Level: Players need 2 kills with their current weapon to advance to the next level
- Final Level: The last level requires players to use only a combat knife
Weapon Tiers
The weapon progression follows this structure:
- Sidearms (2 levels) - Starting weapons
- Shotguns (1 level) - Close-range power
- SMGs (2 levels) - Mobile firepower
- Assault Rifles (3 levels) - Versatile weapons
- Carbines (2 levels) - Balanced options
- DMRs (2 levels) - Precision shooting
- LMGs (2 levels) - Heavy firepower
- Snipers (1 level) - Long-range elimination
- Combat Knife (Final level) - Melee only
Special Rules
- Knife Setback: If killed by melee damage, players lose one weapon level (unless already at level 1)
- Random Weapon Selection: Each match randomly selects weapons from each category for variety
- Auto-Spawn: Players automatically respawn to keep the action flowing
Features
User Interface
- Level Display: Shows current weapon level in the top-left corner
- Custom Scoreboard: Displays kills and current level for all players
- Level Up Notifications: Highlighted messages when advancing weapon tiers
- Win Announcement: Full-screen victory message for the winning player
Match Settings
- Target Score: First to complete all last meele kill after 15 levels wins
Technical Details
Key Components
- Weapon Pool Management: Randomized selection from predefined weapon categories
- Player Progress Tracking: Individual level and kill count variables per player
- Dynamic Equipment: Automatic weapon switching based on player level
- UI Management: Real-time level display and scoreboard updates
Event Handlers
OnGameModeStarted(): Initializes weapon list and game settingsOnPlayerJoinGame(): Sets up UI and scoreboard for new playersOnPlayerDeployed(): Equips appropriate weapon for player's levelOnPlayerEarnedKill(): Handles level progression and weapon upgradesOnPlayerDied(): Manages knife death penalties
Customization Options
Weapon Categories
You can modify the weapon pools in the CreateWeaponList() function:
- Add or remove weapons from any category
- Adjust the number of weapons selected per tier
- Modify the
PickRandom()counts for different match variety
Related Skills
node-connect
352.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
