Godot genre stealth

From thedivergentai/GD-Agentic-Skills · View interactive version

Godot genre stealth is an AI agent skill from the GitHub repository thedivergentai/GD-Agentic-Skills. Expert blueprint for stealth games (Splinter Cell, Hitman, Dishonored, Thief) covering AI detection systems, vision cones, sound propagation, alert states, light/shadow mechanics, and systemic design. Use when building stealth-action, tactical infiltration, or immersive sim games requiring enemy awa

How to use this skill

Skill file

NEVER Do (Expert Anti-Patterns)

Detection & Awareness

Systemic & World Logic

Optimization & Performance


πŸ›  Expert Components (scripts/)

MANDATORY reads before implementing the matching system:

1. stealth_patterns.gd β€” space-state LoS, cone DOT, hearing helpers

2. stealth_ai_controller.gd β€” multi-sample rays + RID exclude + path-length hearing

3. stealth_vision_cone.gd / vision_cone_3d.gd β€” cone authorship

Original Expert Patterns

Modular Components


Core Loop

  1. Hide / move β†’ 2. Vision & light exposure β†’ 3. Sound propagation β†’ 4. Alert escalation β†’ 5. Investigate / escape

Decision Trees

Perception

| Need | Action |

|------|--------|

| LoS + exclude self/player RIDs | MANDATORY stealth_ai_controller.gd + stealth_patterns.gd |

| Light-scaled detection | visibility_manager.gd / light_detector.gd |

| Hearing through geometry | Path-length via NavigationServer (controller) + sound_occlusion_manager.gd |

When to load modules

| Task | Load |

|------|------|

| Guard AI spine | patterns + ai_controller |

| Author cones | vision_cone scripts |

| Player light gem | visibility + light_detector |

| Loud world props | sound_occlusion_manager |

Do not paste long vision/alert/ability tutorials into the skill body β€” keep decision trees here and implement from scripts.

Skill Chain

| Phase | Skills | Purpose |

|-------|--------|---------|

| 1. Physics | godot-raycasting-queries | Space-state LoS |

| 2. Nav | godot-navigation-pathfinding | Investigate / path hearing |

| 3. AI | godot-state-machine-advanced | IDLE→ALERT FSM |

| 4. Audio | godot-audio-systems | AI_Audible buses |

| 5. Balance | godot-monte-carlo-balancer | Detection thresholds |

Common Pitfalls

| Pitfall | Solution |

|---------|----------|

| RayCast3D per guard | Multi-sample intersect_ray + RID exclude |

| distance_to hearing | Navigation path length |

| Off-screen CPU | VisibleOnScreenNotifier suspend |

Deep recipes (on demand)

| Topic | Reference / script |

|-------|-------------------|

| Design pillars | design-principles.md |

| Vision / sound / light | ai-detection-system.md + stealth_ai_controller.gd |

| Alert FSM & UI feedback | alert-states.md + visibility_manager.gd |

| Player tools (lean, gadgets) | player-abilities.md |

| Cover & encounter layout | level-design.md |

| UI communication | ui-communication.md |

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

Related Skills

Prerequisites
Complements
Downstream / consumers
Master
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.