设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
查看: 3780|回复: 5
打印 上一主题 下一主题

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

[复制链接]

Lv1.梦旅人

梦石
0
星屑
50
在线时间
133 小时
注册时间
2012-8-23
帖子
126
跳转到指定楼层
1
 楼主| 发表于 2013-2-10 13:29:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

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

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

x
请问这个脚本是用来干什么的。
脚本:
#------------------------------------------------------------------------------
# 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.

Lv1.梦旅人

梦石
0
星屑
50
在线时间
687 小时
注册时间
2012-10-29
帖子
1543
来自 2楼
发表于 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 精品文章

查看全部评分

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

使用道具 举报

Lv5.捕梦者 (暗夜天使)

只有笨蛋才会看到

梦石
1
星屑
21442
在线时间
9387 小时
注册时间
2012-6-19
帖子
7114

开拓者短篇九导演组冠军

3
发表于 2013-2-10 14:01:53 | 只看该作者
足音脚本,在地图注释或者图块注释中写完后经过特定的地方就会发出特定声音

至少这个注释是这么写的

点评

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

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
50
在线时间
133 小时
注册时间
2012-8-23
帖子
126
4
 楼主| 发表于 2013-2-12 14:26:00 | 只看该作者
怎么用?
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
970
在线时间
15 小时
注册时间
2010-4-22
帖子
3
5
发表于 2013-2-12 19:25:51 | 只看该作者
1396 发表于  
怎么用?

不能用,他只是个注释。
回复 支持 反对

使用道具 举报

Lv3.寻梦者

梦石
0
星屑
3846
在线时间
1966 小时
注册时间
2013-1-3
帖子
9536
6
发表于 2013-2-12 21:16:15 | 只看该作者
足音脚本(行走发出声音)的部分注释,不过不能用。
《宿愿·寻剑篇》正式版已经发布!快去看看!点击进入论坛发布贴
回复 支持 反对

使用道具 举报

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

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2025-2-25 00:13

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表