Terrain Encounter Areas - Printable Version +- Save-Point (https://www.save-point.org) +-- Forum: Archives (https://www.save-point.org/forum-105.html) +--- Forum: Creation Asylum Archives (https://www.save-point.org/forum-90.html) +---- Forum: Scripts & Code Snippets (https://www.save-point.org/forum-92.html) +----- Forum: RPG Maker XP Code (https://www.save-point.org/forum-93.html) +----- Thread: Terrain Encounter Areas (/thread-6809.html) |
Terrain Encounter Areas - SephirothSpawn - 05-19-2006
Terrain Encounter Areas
by SephirothSpawn Version: 1 Mar 19 2006 This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss. No support is given. Introduction Lets you define encounter groups based off the terrain tags Features
Script: Terrain_Encounters.txt (Size: 3.19 KB / Downloads: 1) Instructions Place the script below the SDK, and above Main Setting Default Encounter Groups (Global) Find the line DEFAULT_TERRAIN_TAG_GROUPS = { Below that, define a terrain tag, and a encounter group of all the troop id's allowed in this area. Code: Basic Syntax: terrain_value = [troop_id, ... ] Any undefined terrain tags, will result in the Random Encounters Setup under Map Properties Setting Map Dependent Terrain Groups Find this line MAP_DEFINED_TAG_GROUPS = { Below that, deine a mpa id, then terrain tag and encounter group Code: Basic Syntax: map_id = > {terrain_tag => [troop_id, ...] } Any Undefined Terrain Tags in this, will rely on the defaults. How it works
FAQ None Thus Far Compatibility SDK Compliant & Compatable Author's Notes Enjoy! |