YEP.138 – Footstep Sounds
Introduction
This plugin gives your player and/or events footsteps when they walk onto tiles. These footsteps made by players and/or events can have different sounds based on regions, tilesets, and/or terrain tags. If footsteps are enabled for events, they can have distance based volumes and pitches to immerse the player further.
这个插件可以让你设置玩家或者事件人物的脚步声。这些脚步声可以根据具体区域、图块等发生改变,并且可以根据距离玩家的距离改变音量等
This is a collaboration plugin by Chickie and Yanfly to ensure compatibility with the Yanfly Engine Plugins library.
这个插件是Chickie和Yanfly合作开发,确保适配YEP库
Instructions
This plugin requires a bit of setup. Adjust the plugin parameters to set up a default set of footsteps that are to be played when nothing else has been set. These sound effects will be played when there are no region-specific sound effects or terrain tag-specific sound effects.
这个插件需要提前做一些设置,你需要先调整插件参数来设置默认的脚步声。
That said, if you go into your project’s database and go to the Tilesets tab you can set footsteps for each tileset. The tiles can play specific footstep sounds based on their terrain tag ID. Look in the notetags section below for the notetag setup on how to make a set of tiles play certain footsteps. The footsteps made here have higher priority than the default sound effects and if the player or event steps on a tile that has a footstep sound tied to a terrain tag, that footstep sound will be played instead.
当然你也可以进入数据库,基于地形标志ID设置一种声音,具体方法请仔细阅读后续的备注设置讲解。这种方法会比默认脚步声的优先级高
Even higher on the priority level are the region-based footstep sounds. If the player or an event steps on a tile that has a region-based footstep sound, then that sound will be played regardless of the terrain tag setting made for that specific tile. Look in the notetags section below for the notetag setup on how to make a specific region ID play a footstep sound.
优先级更高的是基于区域ID的脚步声
To sum it up, from lowest to highest priority:
下面是优先级的说明,排列为从低到高
LOWEST>HIGHEST
Default Footstep Sound
Terrain Tag Footstep Sound
Region-Based Footstep Sound
默认设置
地形标志ID设置
区域ID设置
If you wish to give a whole map a certain footsteps sound, use the notetag to set a region-based footstep sound for region ID 0.
如果你想设置一个全图声音,可以设置区域ID为0的声音
Notetags
Insert the following notetags to add footsteps to your maps.
插入下面的备注命令来设置声音
Event Notetag:
<No Footsteps>
– Insert this into the notebox of any event you wish to not make any footsteps when moving.
设置某个事件无脚步声
Tileset Notetags:
<Terrain Tag x Footstep Sound: filename>
<Terrain Tag x Footstep Sound: filename, volume>
<Terrain Tag x Footstep Sound: filename, volume, pitch>
– Replace ‘x’ with the terrain tag ID (from 1 to 7). If 0 is used, it will be ignored. When inserting the filename, the filename must be case sensitive and must not include the extension. The ‘volume’ and ‘pitch’ variables must be integar values between 0 and 100 if they are used.
将X设置为1-7的地形标志数字,如果使用0了则没有任何效果。音量和音频的大小介于0-100
Examples:
<Terrain Tag 1 Footstep Sound: Move1>
<Terrain Tag 2 Footstep Sound: Move2, 80>
<Terrain Tag 3 Footstep Sound: Move3, 75, 150>
In the above examples, the tiles marked by terrain tags 1, 2, or 3 will play their respective sound effect when stepped on by the player or an event that can trigger footsteps.
Map Notetags:
<Region x Footstep Sound: filename>
<Region x Footstep Sound: filename, volume>
<Region x Footstep Sound: filename, volume, pitch>
– Replace ‘x’ with the region tag ID (from 1 to 255). If 0 is used, it will become the default footstep sound. When inserting the filename, the filename must be case sensitive and must not include the extension. The ‘volume’ and ‘pitch’ variables must be integar values between 0 and 100 if they are used.
将X替换为区域ID1-255的数字,如果设置0则无任何效果
Examples:
<Region 10 Footstep Sound: Move1>
<Region 20 Footstep Sound: Move2, 80>
<Region 30 Footstep Sound: Move3, 75, 150>
In the above examples, the tiles marked by regions 10, 20, or 30 will play their respective sound effect when stepped on by the player or an event that can trigger footsteps.
Plugin Commands
If at any time you wish to enable/disable footstep sounds in your game, you can use some plugin commands to do so.
如果你想开关脚步声,可以采用下面的插件命令
Plugin Commands:
EnableFootsteps
– Turns on footstep sounds.
开启脚步声
DisableFootsteps
– Turns off footstep sounds.
关闭脚步声