Author Topic: [XP] Terrain Tag Speed Modifier  (Read 4842 times)

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3255
  • LV: 298
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
[XP] Terrain Tag Speed Modifier
« on: March 01, 2010, 06:49:41 PM »
Terrain Tag Speed Modifier
Authors: ForeverZero
Version: 1.00
Type: Movement Add-on
Key Term: Movement Add-on

Introduction

Very simple script that will automatically change the player's move speed based on the Terrain Tag of the Tile ID they are walking on.  Good if you want your player to walk slower through high grass, moving up and down ladders, etc. without having to do it manually through eventing.

Features

  • Easily customized to your needs
  • Merely set the terrain tags in your database to change player speeds

Screenshots

None really required...

Demo

None

Script

(click to show/hide)

Instructions

Post above Main, and below Debug

Compatibility

Shouldn't be any. Possible if you are using a script that modifies player movement

Credits and Thanks

  • ForeverZero, for writing the script.

Author's Notes

None
« Last Edit: March 02, 2010, 06:06:39 AM by ForeverZero »
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Offline Holyrapid

  • Astral Trancist
  • *****
  • Posts: 749
  • LV: 0
  • Gender: Male
  • Credit to FreshL on Deviantart
    • View Profile
    • My new Youtube channel!
Re: [XP] Terrain Tag Speed Modifier
« Reply #1 on: March 02, 2010, 11:42:47 AM »
Sounds nice. I think i´ll use this if i ever get my computer to work...

Offline Tazero

  • Blows jobs for custom titles
  • Chaos User
  • ******
  • Posts: 1180
  • LV: -45
  • Gender: Male
  • Asleep but flying high
    • View Profile
Re: [XP] Terrain Tag Speed Modifier
« Reply #2 on: March 16, 2010, 12:07:03 AM »
Very good, Guess my event system is Inefficient now...


If you were a fish...

Offline exile360

  • Awakened Visionist
  • **
  • Posts: 84
  • LV: 3
    • View Profile
Re: [XP] Terrain Tag Speed Modifier
« Reply #3 on: May 28, 2013, 06:50:29 PM »
Ugh, sorry to necro this.

Thanks for this script, it's simple but cool and saves a lot of time making events. I put this in my project a while ago. Today when I started a new character for playtesting however, I found out that events which modify the player's speed never take effect because of this script, probably because it keeps changing the player's speed back to default. Is there any way to fix this? It kind of messes up my cutscenes, but I don't really want to let go of this... :P

Offline KK20

  • Master Scripter Fixer
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3206
  • LV: 387
  • Gender: Male
  • Choco Octo <3
    • View Profile
Re: [XP] Terrain Tag Speed Modifier
« Reply #4 on: May 28, 2013, 07:46:15 PM »
Quote from: In the script itself
Use Call Script ($game_system.terrain_tag_speeds = true/false)



Other Projects
RPG Maker XP AceUpgrade RMXP to RMVXA performance!
XPA TilemapTilemap rewrite with many features, including custom resolution!


Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

Offline exile360

  • Awakened Visionist
  • **
  • Posts: 84
  • LV: 3
    • View Profile
Re: [XP] Terrain Tag Speed Modifier
« Reply #5 on: May 29, 2013, 01:07:41 AM »
:X

Thanks!