Godot Genre Battle Royale 标志

Godot Genre Battle Royale

社区
thedivergentai
godot-genre-battle-royale

大逃杀游戏专家蓝图,涵盖不断缩小的安全区/风暴机制(分阶段、伤害递增)、大规模网络联机(相关性、优化 tick rate)、空降系统(飞机、自由落体、降落伞)、战利品生成(加权表、稀有度)和性能优化(LOD、遮挡剔除、对象池)。适用于多人生存游戏或“最后一人存活”类游戏。触发关键词:battle_royale、zone_shrink、storm_damage、deployment_system、loot_spawn、networking_optimization、relevancy_system、snapshot_interpolation。

Add to TypingMind

概览

发布者thedivergentai
代码仓库GD-Agentic-Skills
技能名称godot-genre-battle-royale
星标数
727
复刻数
43
附带文件
16
许可协议LGPL-3.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 16 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 thedivergentai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Godot Genre Battle Royale AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/thedivergentai/GD-Agentic-Skills/tree/main/skills/godot-genre-battle-royale
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/thedivergentai/GD-Agentic-Skills.git /tmp/GD-Agentic-Skills
mkdir -p .claude/skills
cp -r /tmp/GD-Agentic-Skills/skills/godot-genre-battle-royale .claude/skills/godot-genre-battle-royale
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Godot Genre Battle Royale,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Godot Genre Battle Royale。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Godot Genre Battle Royale 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

NEVER Do (Expert Anti-Patterns)

Networking & Scale

  • NEVER sync all 100 players every frame; strictly use a Relevancy System to sync high-freq data only for players within ~100m. Far players sync at ~5Hz.
  • NEVER use TRANSFER_MODE_RELIABLE for movement data; strictly use Unreliable to prevent packet backup and network congestion.
  • NEVER focus on client-side hit detection; strictly use Authoritative Server Validation where the server confirms "Did it hit?" based on state history.
  • NEVER trust the client for game state; strictly validate all movement, looting, and inventory changes exclusively on the authoritative server.
  • NEVER run a dedicated server with visuals; strictly use Headless Mode (--headless) or dummy drivers to save massive CPU/GPU resources.
  • NEVER call RPCs before connection; strictly wait for the connected_to_server signal before attempting synchronization logic.

Mechanics & Performance

  • NEVER pick a fully random center for the Safe Zone; strictly target centers that ensure the new circle is completely contained within the current one.
  • NEVER allow "Storm Tunneling"; strictly use a Distance-to-Center calculation rather than a simple collision perimeter to prevent skips at low tick rates.
  • NEVER spawn loot without Object Pooling; strictly pre-instantiate and toggle visibility/collision to avoid GC spikes during dense spawns.
  • NEVER ignore VisibilityNotifier3D; strictly disable AnimationPlayer, _process(), and heavy AI logic for players that are not visible to the observer.
  • NEVER print in tight server loops; strictly avoid print() as console I/O is blocking and will tank server performance in high-player-count matches.

Available Scripts

MANDATORY: Read the appropriate script before implementing the corresponding pattern.

Zone / Storm

storm_system.gd

MANDATORY for any zone/storm work — phase radii, contained next-center selection, distance-to-center damage (anti-tunneling). Do not paste inline zone_manager tutorials.

Networking & Multiplayer

kill_feed_bus.gd

Global elimination signal bus with match stat tracking.

headless_branch_logic.gd

Expert dedicated server initialization that branches logic based on headless execution and server-specific feature flags.

enet_br_server.gd

High-player-capacity ENet server setup optimized for 100+ concurrent peers over UDP.

state_replication_unreliable.gd

Pattern for synchronizing player transforms via TRANSFER_MODE_UNRELIABLE to minimize network congestion in large matches.

authoritative_looting.gd

Authoritative server-side validation logic for preventing cheat-based item collection and infinite looting.

targeted_rpc_relay.gd

Optimized communication pattern using rpc_id() to target specific peers and reduce wasted packet broadcasts.

server_state_buffer.gd

Handling network jitter and out-of-order UDP packets via sequential state buffering and tick-based sorting.

Performance & Optimization

rid_loot_spawner.gd

Bypassing the node hierarchy for massive loot density. Uses RenderingServer directly to eliminate CPU overhead for item drops.

async_map_loader.gd

Non-blocking map sector streaming using ResourceLoader background threads for seamless open-world exploration.

multimesh_vegetation.gd

Drawing dense foliage and environment assets (100k+ instances) via MultiMeshInstance3D to maximize rendering performance.

threaded_ai_manager.gd

Offloading server-side bot behavior and pathfinding logic to the WorkerThreadPool to prevent main-thread stalling.

Restored from baseline

NEVER Do in Battle Royale

  • NEVER export mobile clients without the INTERNET permission — Communication will silently fail on Android/iOS if the manifest is missing the networking permission.
  • NEVER use get_var(true) on untrusted data — Deserializing arbitrary objects allows attackers to execute remote code on the server or other clients.
  • NEVER synchronize Object or Resource types over network — Use the MultiplayerSynchronizer strictly for base types (int, float, vec).
  • NEVER assume UNRELIABLE packets arrive in order — Design state interpolation carefully to handle missing or out-of-order ticks.
  • NEVER leave multiplayer_poll false without manual calling — If using custom threads, failing to call multiplayer.poll() freezes all traffic.

Core Loop

Deploy → Loot → Move with storm → Engage → Last standing.

Skill Chain (GDSkills peers only)

PhaseSkillsPurpose
1. Netgodot-multiplayer-networkingAuthoritative server, relevancy, RPCs
2. Mapgodot-3d-world-building, godot-genre-open-worldTerrain scale, streaming, HLOD
3. Itemsgodot-inventory-systemBackpack / attachments / armor
4. Combatgodot-genre-shooter, godot-combat-systemHitscan/projectile + damage validation
5. ZoneMANDATORY storm_system.gdStorm phases / DPS / contained centers
6. Balancegodot-monte-carlo-balancerZone DPS, loot rarity, TTK bands

Decision Trees (strip inline deploy/loot/zone tutorials)

Zone / Storm

NeedAction
Phase shrink, contained centers, distance DPSMANDATORY storm_system.gd
Storm wall VFXInverted SphereMesh + unshaded cull_disabled shader driven by storm radius

Loot

NeedAction
Dense dropsrid_loot_spawner.gd + pooling
Anti-cheat pickupMANDATORY authoritative_looting.gd
Tables / rarityData Resources + peer inventory — not instantiate() loops in SKILL.md

Deploy

NeedAction
Plane → freefall → parachute → groundedFinite state on player controller; server validates landing inventory
Map sectorsasync_map_loader.gd

Networking

NeedAction
100+ peersenet_br_server.gd + headless_branch_logic.gd
Movementstate_replication_unreliable.gd
RelevancyNear ~20Hz+, far ~5Hz; replication_interval / interest management
Targeted messagestargeted_rpc_relay.gd
Jitter bufferserver_state_buffer.gd

Advanced (keep elite, no deploy/loot re-tutorials)

Lag Compensation

Server keeps transform history; validate client hit timestamps against rewound poses (authoritative). Pair with shooter/combat peers.

Delta-Patching

MultiplayerSynchronizer + REPLICATION_MODE_ON_CHANGE for health/inventory; ALWAYS only for hot transforms. Cap with delta_interval.

Zone Visualizer

Unshaded, cull_disabled spatial shader on inverted sphere scaled by storm_system.gd.

Common Pitfalls

  1. Too much loot → pool + RID spawner
  2. Camping → storm forces movement (storm_system.gd)
  3. Client hit authority → server validate with history

Expert knowledge (on demand)

LLM-ignorance rule: If a general agent would not know it before reading, load the reference — never delete expert deltas.

Reference

Progressive disclosure: open Official Documentation links only when researching a specific API; load Related Skills when routing to a peer domain — do not preload the whole lattice.

Official Documentation

  • High-level multiplayer — RPC authority, peer lifecycle, and visibility-aware sync patterns for 100-player relevancy instead of full-mesh broadcasts.
  • ENetMultiplayerPeer — UDP host/client peer sized for high concurrent match populations without TCP head-of-line blocking.
  • MultiplayerPeer — Reliable vs unreliable/unordered transfer modes so movement snapshots never back up the channel.
  • MultiplayerSynchronizer — Property replication, replication_interval / on-change deltas, and per-peer visibility filters for interest management.
  • MultiplayerSpawner — Spawn/despawn replication for players, loot drops, and late-join scene graph consistency.
  • Command line tutorial — --headless and multi-instance CLI launches for dedicated match servers.
  • Exporting for dedicated servers — Server export presets and feature tags that strip client-only rendering/input paths.
  • Occlusion culling — Bake occlusion for dense building clusters so large BR maps stay GPU-viable.
  • Mesh level of detail (LOD) — Distance LODs for terrain props and structures that dominate draw cost at drop-zone scale.
  • Optimization using MultiMeshes — Batch foliage/debris into MultiMesh draw calls instead of per-instance nodes.
  • Optimization using Servers — RenderingServer RID paths for dense loot visuals without SceneTree node overhead.
  • Background loading — Threaded ResourceLoader sector streaming for non-blocking open-world map loads.

Related Skills

Prerequisites
  • godot-multiplayer-networking — Authoritative server RPCs, transfer modes, and lobby/peer lifecycle that BR relevancy and lag compensation build on.
  • godot-project-foundations — Autoloads, export feature flags, and project layout for headless dedicated vs client builds.
  • godot-3d-world-building — Large terrain chunking, collision generation, and world streaming prerequisites for storm-scale maps.
Complements
  • godot-adapt-single-to-multiplayer — Authority split, prediction shells, and snapshot interpolation before applying BR-scale interest management.
  • godot-server-architecture — Headless host scaffolding and PhysicsServer/RID patterns used by authoritative match simulation.
  • godot-export-builds — Dedicated-server presets, INTERNET permissions, and CLI packaging for multi-instance match tests.
  • godot-inventory-system — Backpacks, attachments, and armor state that authoritative looting must validate server-side.
  • godot-performance-optimization — LOD, pooling, and CPU budgets when loot density and peer count stress the match server/clients.
  • godot-signal-architecture — Kill-feed and match-event buses that stay local while RPCs carry cross-peer eliminations.
  • godot-genre-shooter — Hitscan/projectile combat patterns and lag-compensated validation used inside the BR engagement loop.
Downstream / consumers
  • godot-monte-carlo-balancer — Simulate zone DPS phases, loot rarity tables, and TTK bands so storm/loot pacing stays fair across 100-player matches.
  • godot-ai-navigation — Bot pathfinding and interest-culled AI when filling lobbies with threaded server-side bots.
Master
  • godot-master — Library router and mirrored module entry; open when discovering which Domain Skill owns a cross-cutting BR concern.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Godot Genre Battle Royale AI 技能有什么作用?

大逃杀游戏专家蓝图,涵盖不断缩小的安全区/风暴机制(分阶段、伤害递增)、大规模网络联机(相关性、优化 tick rate)、空降系统(飞机、自由落体、降落伞)、战利品生成(加权表、稀有度)和性能优化(LOD、遮挡剔除、对象池)。适用于多人生存游戏或“最后一人存活”类游戏。触发关键词:battle_royale、zone_shrink、storm_damage、deployment_system、loot_spawn、networking_optimization、relevancy_system、snapshot_interpolation。

为什么在 TypingMind 中使用 Godot Genre Battle Royale?

因为您只需安装一次,就能搭配任何模型使用。Godot Genre Battle Royale 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Godot Genre Battle Royale?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/thedivergentai/GD-Agentic-Skills/tree/main/skills/godot-genre-battle-royale。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Godot Genre Battle Royale?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Godot Genre Battle Royale 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Godot Genre Battle Royale 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Godot Genre Battle Royale AI 技能免费吗?

是的。thedivergentai 已在 GitHub 上根据 LGPL-3.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇