Chaos Project

RPG Maker => Tutorials => Tutorial Requests => Topic started by: darklight on March 02, 2008, 01:10:41 pm

Title: Terrain Tags Tutorial
Post by: darklight on March 02, 2008, 01:10:41 pm
They're built into RMXP, but I have no clue what they do. I suppose scripters can use them to specify what affects certain tiles, but what can you do with them using events, or just having the different numbers set?

Specifically, I'm looking for a way to automatically have stairs slow down the player (and possibly even cancel out dash), like in Secret of Mana. Another possible application would be to slow the player down for marshland tiles. Also, it would be cool if you can attach a SE to certain tiles. Like a squicky sound with the marshland tiles example.

You know... you *walk walk walk* and hear *squish squish squish*

Any help is appreciated, and thanks in advance for anyone's help!  ;D
Title: Re: Terrain Tags Tutorial
Post by: Blizzard on March 02, 2008, 01:15:22 pm
You can actually do that with common events. And yes, the terrain tags are supposed to make stuff like that possible without using scripts.
Title: Re: Terrain Tags Tutorial
Post by: Sally on March 02, 2008, 04:27:27 pm
how do eventers use terran tags?
Title: Re: Terrain Tags Tutorial
Post by: Blizzard on March 02, 2008, 04:46:06 pm
You can store a player's or another event's terrain tag into a variable and check the value of this variable in a conditional branch. To set a vairable to a terrain tag you have the option "Character" and then change the "Map X" in the right dropdown box simply to "Terrain tag".
Title: Re: Terrain Tags Tutorial
Post by: Sally on March 02, 2008, 05:57:35 pm
what would we be able to do then?
Title: Re: Terrain Tags Tutorial
Post by: Blizzard on March 03, 2008, 02:39:45 am
Slippy floors for instance. Or terrain that slows you down. You can also make a custom encounter system that will launch battles against different enemies on different terrain tags. This would be useful for world maps for example.
Title: Re: Terrain Tags Tutorial
Post by: Fantasist on March 05, 2008, 11:57:35 am
Quotehear *squish squish squish*

Reminds me of pokemon a lot.
Title: Re: Terrain Tags Tutorial
Post by: Zeriab on March 05, 2008, 12:47:46 pm
Here is an example usage of Terrain Tags. It is a custom encounter system. (Like Blizz said ^^)

http://zeriab.plesk3.freepgs.com/index.php?dir=events/&file=EncounterEventStuff.rar

I believe I also used terrain tags for my Boulder Pushing experiment:

http://zeriab.plesk3.freepgs.com/index.php?dir=events/&file=Boulder%20Pushing%20Example.rar
Title: Re: Terrain Tags Tutorial
Post by: darklight on March 13, 2008, 01:09:54 am
Thanks Zeriab! The custom encounter system will really come in handy. :P
Title: Re: Terrain Tags Tutorial
Post by: Calintz on March 13, 2008, 02:56:49 pm
I didn't really understand either of those demos...