User Tools

Site Tools


rpd:ai

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
rpd:ai [2025/12/21 12:05] – Add and update wiki pages for Remixed Dungeon mikerpd:ai [2025/12/21 12:09] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== AI (Artificial Intelligence) ======
  
 +AI in Remixed Dungeon refers to the artificial intelligence controlling various entities in the game, particularly mobs and NPCs.
 +
 +==== Mob AI Types ====
 +  * **Wandering**: Mobs that wander randomly around the dungeon until they detect a player
 +  * **Hunting**: Mobs that actively seek out and pursue the player once detected
 +  * **Guard**: Mobs that stay in a specific location or patrol a set area
 +  * **Passive**: Mobs that won't attack the player unless provoked
 +  * **Specialized**: Mobs with unique behaviors (like Tengu's special tactics phase)
 +
 +==== AI Behaviors ====
 +  * **Line of Sight**: Mobs detect players based on sight, which can be blocked by walls
 +  * **Sound-based Detection**: Some mobs may detect players by sound
 +  * **Pathfinding**: Mobs use pathfinding algorithms to navigate through the dungeon
 +  * **Tactical Decision Making**: Some mobs make tactical choices based on their health, the player's health, and environmental factors
 +
 +==== Common AI Patterns ====
 +  * **Alert Phase**: Mobs become alert when they detect the player
 +  * **Fighting Phase**: Mobs engage in combat once close enough to the player
 +  * **Fleeing**: Some mobs may flee when their health is low
 +  * **Retaliation**: Mobs respond to attacks from the player or other sources
 +
 +==== Modding AI ====
 +  * AI behaviors can be customized through Java code or Lua scripts for modding purposes
 +  * Custom AI can be implemented in both Java and Lua
 +
 +==== Content Verification ====
 +  * Information source: Java Classes in [[https://github.com/NYRDS/remixed-dungeon/tree/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/ai|com.nyrds.pixeldungeon.ai]]
 +  * Implementation details in various AI classes
 +  * Examples in mob implementations across the game
 +
 +==== See Also ====
 +  * [[rpd:mobs|Mobs]]
 +  * [[rpd:npcs|NPCs]]
 +  * [[rpd:tengu|Tengu]] (example of complex AI)
 +
 +{{tag> rpd ai mechanics}}
rpd/ai.txt · Last modified: by 127.0.0.1