Project1

标题: 请问这个脚本是用来干什么的。 [打印本页]

作者: 1396    时间: 2013-2-10 13:29
标题: 请问这个脚本是用来干什么的。
请问这个脚本是用来干什么的。
脚本:
#------------------------------------------------------------------------------
# Maps and Tilests note tags:
#   Tags to be used on Maps and Tilests note boxes.
#
#  <step sound>
#  settings
#  </step sound>
#   Set the sound effect played when steping on a tile with terrain or region
#   set, add the following values to the settings. The ID and file name
#   must be added, other values are optional.
#         id: x         : region ID or terrain ID
#         name: "x" : sound effect filename ("filename)
#         volume: x : sound effect volume (0-100, default = 100)
#         pitch: x  : sound effect pitch (50-150, default = 100)
#
#------------------------------------------------------------------------------
# Actors, Classes, States, Weapons, Armors and Comment Boxes note tags:
#   Tags to be used on Actors, Classes, States, Weapons, Armors note boxes
#   and Events Comment boxes. The comment boxes are different from the comment
#   call, they're called always the even refresh.
#
#  <no step sound>
#   The actor or event won't play any sound when walking on tiles with sound.

作者: 喵呜喵5    时间: 2013-2-10 14:01
足音脚本,在地图注释或者图块注释中写完后经过特定的地方就会发出特定声音

至少这个注释是这么写的
作者: 1396    时间: 2013-2-12 14:26
怎么用?
作者: red811201    时间: 2013-2-12 19:25
1396 发表于  
怎么用?

不能用,他只是个注释。
作者: 紫英晓狼1130    时间: 2013-2-12 21:16
足音脚本(行走发出声音)的部分注释,不过不能用。
作者: j433463    时间: 2013-2-13 01:27
虽然楼上几位说的是实话,不过,就算整个脚本贴出来也一样的回答,因为这个脚本还需要搭配另一个 Basic Module 脚本,
而且因为不知道版本,所以也无法确认要配合的 Basic Module 脚本是哪一版,因此用不了。

楼主的那一段足音脚本是 VF 的 Step Sound 脚本,可以到这个地方找新的版本和搭配的脚本:

http://victorscripts.wordpress.c ... scripts/step-sound/

主要的用法,应该是在地图备注栏或数据库图块备注栏中这样写:

<step sound>
id: 区域编号或者地形编号
name: "足音的音效档名"
</step sound>

除了 id 和 name 之外,还可以加上

volume: x 音效的音量 (0-100, 默认为 100)
pitch: x 足音的间隔 (50-150, 默认为 100)

不加上就是使用默认值了。

例:
  1. <step sound>
  2. id: 3
  3. name: "Sound/dida.ogg"
  4. volume: 80
  5. pitch: 120
  6. </step sound>
复制代码
如果不要发出足音,可以用

<no step sound>

这样来不发出足音。





欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1