TSR_FootSteps
Author: TSR, The Northern Frog
This Plugin add
foot step prints under
player,
followers and
events. It use
Map Notetags to assign
Map Regions IDs on which the characters will print steps. There is also
Actors Notetags and
Events Comment Tags to assign specific foot step
prints and
sounds to some characters.
The Plugin require the sprite sheet '
FootSteps.png' that must be imported in the /img/system folder of your game. You can download it along with the Plugin file, and edit it to your liking.
The sprite sheet is divided into 8 sections, hereafter named Blocks.
Each Block consist of 12 frames of 48x48px. A Block can be either '
Regular' or '
Animated'. All Blocks are 'Regular', but can be turned into 'Animated' Blocks using parameters.
Regular Blocks
The 12 frames of a Regular Block are arranged in 4 lines corresponding to the 4 directions of the characters. Each time a character prints a step, it alternate between the 3 frames on the line corresponding to its direction.
Animated Blocks
The 12 frames of an Animated Block are read one after the others, according to parameters settings. You can create various step animation effects using the parameters.
The Plugin comes with
default animations settings for Blocks 4 and 5 (
Water) and Block 6 (
Bush).
Refer to Plugin instructions for further details.
Spoiler: Plugin instructions
Starter Guide
The Plugin offer many possibilities, but is mainly Plug & Play. Here's a short guide to show how to set things up and start playing with it.
1. Setup the Map region Ids that will print the differents foot prints.


Foot Step Regions and Wet Step Regions both prints the base foot step. The only difference is when the characters pass from a region that print Wet Steps to an area that isn't supposed to print steps, they will keep printing steps on the 3 first tiles after leaving the 'Wet' area.
Water and Bush regions are step animations provides as Plug & Play animations. That means you can use their respectives Notetags as soon as you installed the Plugin. They also serves as template and example for making your own step animations.
2. Setup the Map Notetags
Use Map Notetags to assign region Ids to Foot Step, Wet Step or one of the 2 default Step Animations.
*you can change the hue of Step Animation regions by adding the hue value between brackets following the region Id. This way I can use the Bush Animation on the green Bush Tiles and the brownish dry Bush Tiles.
3. Run a play test
You can test it now, and see how it looks. Whenever the characters (Player, Followers, Events) walk on a Map Region Id
marked as 'Foot Step' or 'Wet Step', they will print steps from the Base Block (the top left Block on the sprite sheet). Now if you want some Actors or Events to print from a different Block, you can use some other tags.
4. Setup Actors Notetags and Event Comment Tags
While everythings is explained in the instructions, here's some examples of settings for animals, to get you start up.
Flying stuff never prints steps.
A chicken. Assigned Block index 1 on the sprite sheet. The Tag <small steps> scale the step sprite by ratio 0.5
Dog. Hard to explained, but they kind of need the <4 legs steps> Comment Tag...
Horse. They're supposed to be bigger than humans, so <big steps> Comment Tag scale the step sprite by ratio 1.5
5. Play with the Step Animation parameters and try to make your own.
Get in touch with the Step Animation params by playing with the 2 default animations, or start from scratch in an empty Step Anim Section.
Code:
Enjoy!
本贴来自国际rpgmaker官方论坛作者:TSR处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/tsr_footsteps-by-the-northern-frog.128072/