プレイヤーまたはイベントが特定のタイルの上を歩いたときに再生する足音を設定するプラグイン – YEP_FootstepSounds.js
- タイトル
- Set footstep sounds to play when the player and/orevents walk over specific tiles.
- 作者名
- Yanfly Engine Plugins + Chickie Collaboration様
- ヘルプ
- ============================================================================
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.
============================================================================
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.
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.
To sum it up, from lowest to highest priority:
LOWEST - Default Footstep Sound
Terrain Tag Footstep Sound
HIGHEST - Region-Based Footstep Sound
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.
============================================================================
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.
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.
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. - パラメータ
-
param ---Default--- default param Default Sound parent ---Default--- type file dir audio/se/ require 1 desc The default SE sound used for all tiles. default Move1 param Default Volume parent ---Default--- desc Volume of the footsteps made by default.
Insert a number value.default 10 param Default Pitch parent ---Default--- desc Pitch of the footsteps made by default.
Insert a number value.default 150 param ---Player Settings--- default param Player Enable parent ---Player Settings--- type boolean on Enable off Disable desc Play footstep sounds for the player character?
Disable - false Enable - truedefault true param Player Volume parent ---Player Settings--- desc What volume rate to play the footsteps at for player?
Use a float value. 1.00 = 100% 0.50 = 50%default 1.00 param Player Pitch parent ---Player Settings--- desc What pitch rate to play the footsteps at for player?
Use a float value. 1.00 = 100% 0.50 = 50%default 1.00 param ---Event Settings--- default param Event Enable parent ---Event Settings--- type boolean on Enable off Disable desc Play footstep sounds for the events?
Disable - false Enable - truedefault true param Event Volume parent ---Event Settings--- desc What volume rate to play the footsteps at for events?
Use a float value. 1.00 = 100% 0.50 = 50%default 1.00 param Distance Volume parent ---Event Settings--- desc Change the volume by this much per tile difference
from event to player. Use a float value.default -0.10 param Event Pitch parent ---Event Settings--- desc What pitch rate to play the footsteps at for events?
Use a float value. 1.00 = 100% 0.50 = 50%default 1.00 param Distance Pitch parent ---Event Settings--- desc Change the pitch by this much per tile difference
from event to player. Use a float value.default -0.00 param Distance Pan parent ---Event Settings--- desc Change the pan by this much per tile difference
from event to player. Use an int value.default 10 - ライセンス表記
紹介ページ http://yanfly.moe/