en:rpd:ballistica_mechanic
Differences
This shows you the differences between two versions of the page.
| en:rpd:ballistica_mechanic [2026/01/01 19:45] – namespace move Mike | en:rpd:ballistica_mechanic [2026/01/01 19:46] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Ballistica System ====== | ||
| + | {{ rpd: | ||
| + | |||
| + | The **Ballistica System** is the line-of-sight and pathfinding system used in Remixed Dungeon to determine if a ranged attack can hit its target. | ||
| + | |||
| + | ==== Description ==== | ||
| + | The Ballistica system is used to calculate line of sight between two points in the dungeon and to determine valid paths for ranged attacks, projectiles, | ||
| + | |||
| + | ==== Mechanics ==== | ||
| + | * **Line of Sight (LoS):** Determines if there' | ||
| + | * **Path Calculation: | ||
| + | * **Range Limitation: | ||
| + | * **Obstacle Handling:** Accounts for walls, doors, and other environmental obstacles | ||
| + | |||
| + | ==== Usage ==== | ||
| + | * **Zapping Attacks:** Used to determine if a zapping mob (like Warlock) can hit a target | ||
| + | * **Wand Usage:** Determines valid targets for wands | ||
| + | * **Projectile Weapons:** Used for ranged weapon targeting | ||
| + | * **Trap Triggers:** Some traps use Ballistica for activation detection | ||
| + | |||
| + | ==== Technical Details ==== | ||
| + | * **Path Length:** Returns the length of the calculated path | ||
| + | * **Obstacle Detection: | ||
| + | * **Direct Line Path:** Calculates straight-line paths factoring in dungeon geometry | ||
| + | |||
| + | ==== Code References ==== | ||
| + | * **Java Implementation: | ||
| + | * **Path Calculation: | ||
| + | * **Usage in Warlock:** [[https:// | ||
| + | * **Usage in Tengu:** [[https:// | ||
| + | * **Ballistica Constructor: | ||
| + | * **Terrain Blocking:** [[https:// | ||
| + | * **Field of View Integration: | ||
| + | * **Machine-readable data:** [[mr: | ||
| + | |||
| + | ==== See Also ==== | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | |||
| + | {{tag> rpd mechanics ballistica line_of_sight ranging pathfinding}} | ||
