查看: 4107|回复: 5

[已经解决] 请问这个脚本是用来干什么的。

[复制链接]
梦石
0
星屑
50
在线时间
133 小时
注册时间
2012-8-23
回帖
60
发表于 2013-2-10 13:29:30 | 显示全部楼层 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有账号?注册会员

×
请问这个脚本是用来干什么的。
脚本:
#------------------------------------------------------------------------------
# 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.
梦石
0
星屑
50
在线时间
687 小时
注册时间
2012-10-29
回帖
1526
发表于 2013-2-13 01:27:46 | 显示全部楼层
虽然楼上几位说的是实话,不过,就算整个脚本贴出来也一样的回答,因为这个脚本还需要搭配另一个 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>

这样来不发出足音。

评分

参与人数 1梦石 +1 收起 理由
Mic_洛洛 + 1 精品文章

查看全部评分

修改劇本中,仔細審查原來的劇情大綱,覺得有點不太滿意,嘗試編寫不同主角不同主線的劇情,希望能寫得出來。
回复

使用道具 举报

梦石
1
星屑
23236
在线时间
9564 小时
注册时间
2012-6-19
回帖
7018

开拓者短篇九导演组冠军

发表于 2013-2-10 14:01:53 | 显示全部楼层
足音脚本,在地图注释或者图块注释中写完后经过特定的地方就会发出特定声音

至少这个注释是这么写的

点评

足音?莫非是脚步声?  发表于 2013-2-10 14:44
回复

使用道具 举报

梦石
0
星屑
50
在线时间
133 小时
注册时间
2012-8-23
回帖
60
 楼主| 发表于 2013-2-12 14:26:00 | 显示全部楼层
怎么用?
回复

使用道具 举报

梦石
0
星屑
970
在线时间
15 小时
注册时间
2010-4-22
回帖
1
发表于 2013-2-12 19:25:51 | 显示全部楼层
1396 发表于  
怎么用?

不能用,他只是个注释。
回复

使用道具 举报

梦石
0
星屑
3905
在线时间
1972 小时
注册时间
2013-1-3
回帖
9146
发表于 2013-2-12 21:16:15 | 显示全部楼层
足音脚本(行走发出声音)的部分注释,不过不能用。
《宿愿·寻剑篇》正式版已经发布!快去看看!点击进入论坛发布贴
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部