[go: up one dir, main page]

A downloadable tool

Buy Now$2.99 USD or more


Kadajah's StealthVision -  Stealth, Cone Visions, Fog of War, Mist and Alarms.

Transform standard map movement into a tense, tactical espionage experience. Stop relying on simple event proximity and start playing with true Line of Sight, Fog of War, and dynamic AI. Inspired by legendary stealth action games, this plugin allows players to hide in plain sight, trigger global alarms, and outsmart dynamic enemy patrols.

This acts as a complete overlay for the RPG Maker MZ map system. Enemies project real-time, color-coded vision cones blocked by walls. Do you dash across the hallway and risk making noise? Or do you creep through the shadows and hide inside a cardboard box to bypass security?

v2.0 Update: The system has been overhauled with a Global Alarm System (triggering map-wide hunts with pulsing screen effects and sirens), a fully playable Stealth Box Mechanic (hide like a true mercenary), and new WebGL Procedural Mist that drifts organically over the battlefield.

Key Features

  • Dynamic Vision Cones: Define custom sight parameters for every enemy using simple note tags. Each enemy has its own:
    • Sight Range & Angle: Narrow 45-degree cones for guards, or wide 120-degree arcs for security cameras.
    • AI Types: "Sentry" (turns and alerts when seeing the player) or "Chaser" (actively runs after the player).
    • Peripheral Radius: Set an absolute 360-degree detection circle around the enemy so players can't just sneak a pixel behind their backs.
  • The "Alarm" Mechanic: Sneaking isn't just local anymore. Trigger a global alarm (via floor traps or plugin commands) that pulses the screen with a warning color, loops a siren, and causes all "Chaser" enemies within a set radius to instantly hunt the player down, ignoring walls and vision cones.
  • Smart Pathfinding & AI: Enemies don't just bump into walls blindly. Chasers use A* Smart Pathfinding to hunt you, pause for a customizable "Reaction Delay" when spotting you, and keep searching for a set duration if they lose sight before returning to their posts.
  • Line of Sight & Physics: Define specific Region IDs as "Walls". Enemy vision polygons will physically collide with these walls, preventing them from seeing through solid geometry.

Atmospheric Filters & Visuals

When infiltration begins, the plugin takes control of the map's visuals to simulate a tense, immersive environment:

  • Fog of War (Darkness): A customizable black overlay covers the map, cutting a clean, dynamic light hole around the player. Smoothly transition the darkness opacity dynamically via Plugin Commands.
  • Procedural WebGL Mist: Forget static scrolling fog pictures. Render organic, dual-layer drifting clouds over the screen. Customize the mist color, speed, opacity, and intensity (cloud density) on the fly.
  • Color-Coded Cones: Real-time polygonal vision cones project from enemies, shifting instantly from Safe (Green) to Alerted (Red) the moment you are spotted.

Included Mechanics: The Stealth Box & Shadows

Forget complex parallel events and variable tracking. This suite includes built-in player mechanics to outsmart the AI:

  • The Stealth Box: Create an event with a simple <stealthBox> tag. The player can interact to equip it. While inside, your movement speed is muffled. If you do not move while inside an enemy's cone, they cannot see you. But if you move while inside their vision, you are instantly detected.
  • Shadow Hiding: Paint specific map regions (e.g., Region 10) as "Shadows." If the player stands in these tiles, they are completely enveloped in darkness and invisible to vision cones.
  • Noise Detection: Dashing is dangerous. If the player dashes near an idle enemy, they generate noise, causing the enemy to immediately turn and face their direction.

Creative Gameplay Mechanics

  • Risk vs. Reward: Give players a choice. Dash to bypass a closing door faster, but risk generating noise. Or walk slowly through the shadows to remain completely undetected.
  • Heist / Infiltration: Create complex bases with laser tripwires. Use the <stealthAlarm> tag on floor events to trigger map-wide lockdowns if the player steps on the wrong tile.
  • Dynamic Escapes: If caught, break Line of Sight! Run around a corner and jump into a Stealth Box. Enemies will rush to your last known location and search the area for a set duration before giving up and dropping the alert.

Perfect Game Examples

  • Tactical Espionage / Stealth: Games where avoiding combat and observing patrol routes is the primary objective.
  • Horror / Survival: Tense encounters where unkillable monsters hunt the player through thick procedural mist and pitch-black Fog of War.
  • Cyberpunk / Heists: High-tech facility infiltrations with alarms, Sentry cameras, and patrolling security forces.

Compatibility & Requirements

  • Engine: RPG Maker MZ.
  • Configuration: Requires simple tags in Event Note boxes or Comments (e.g., <StealthParams: 7, 80, 1, 1.5>).
  • Map Systems: Designed for the default map engine. Uses standard Region IDs to calculate wall collisions and shadow hiding spots.
  • Param Settings:
    • AI: Chase Speed, Reaction Delay, Search Duration, Smart Pathfinding toggle.
    • Visuals: Box Move speed, Fog Colors, Mist generation intensity.
    • Audio: Custom Spotting sound effects and Alarm sirens.

Terms of Use

  • Commercial and non-commercial projects: Allowed.
  • Redistribution: You are NOT permitted to resell or redistribute this plugin (js file) on its own or as part of a bundle.

Editing: You ARE permitted to edit the plugin's code for your own project's use. However, you are NOT permitted to redistribute the edited version of the plugin.

Purchase

Buy Now$2.99 USD or more

In order to download this tool you must purchase it at or above the minimum price of $2.99 USD. You will get access to the following files:

Kadajah_StealthVision.js 34 kB
Kadajah_StealthVision Documentation.pdf 63 kB

Leave a comment

Log in with itch.io to leave a comment.