赞 | 0 |
VIP | 190 |
好人卡 | 16 |
积分 | 1 |
经验 | 59358 |
最后登录 | 2017-8-17 |
在线时间 | 1441 小时 |
Lv1.梦旅人 ◇无限的妄想者◇
- 梦石
- 0
- 星屑
- 55
- 在线时间
- 1441 小时
- 注册时间
- 2012-7-14
- 帖子
- 2339
|
于是简单翻译了一下……
#==============================================================================
# XaiL System - Teleport
# Author: Nicke
# Created: 10/01/2012
# Edited: 11/01/2012
# Version: 1.0
#==============================================================================
# Instructions
# -----------------------------------------------------------------------------
# To install this script, open up your script editor and copy/paste this script
# to an open slot below ▼ Materials but above ▼ Main. Remember to save. 目测前面都是信息介绍神马的,无视之。
#
# To call this scene in a menu or on the map simply use the following code: 打开传送画面在菜单或者地图中,使用下面的脚本。
# SceneManager.call(Scene_Teleport)
#
# To add/del a teleport from the TP_LIST, do this in a script call: 添加或删除一个传送点到TP_LIST(传送点列表)中,用以下脚本实现。
# tp(id, type, enabled = true)
# Examples: 例如:
# tp(2, :add) # This will add id 2. 这个将id 2加入到列表中(所有id都指的是传送点的id,大概是类似数据库里列表的XX,具体信息下面有设定)
# tp(2, :del) # This will delete id 1. 这个将id 1从列表中删除
#
# To check if id is added or enabled/disabled do the following, preferably in a 检查某个id是否被加入到或者是否被允许使用,用下面的方法
# conditional branch:
# tp_added?(id)
# tp_enable?(id)
# Examples: 例如
# tp_added?(2) # Is id 2 added?
# tp_enabled?(1) # Is id 1 enabled?
# !tp_enabled?(3) # Same method used but returns true if it is disabled. (懒着写了……应该会点英语都能看懂)
#
# To enable/disabling an id do like this: 让某个id可用或不可用使用下面脚本,例如:
# tp_enable(1, true) # Enable id 1. 让id 1可用
# tp_enable(2, false) # Disable id 2. 让id 2 不可用
#
# If you want to add/delete all the id's in the list use this method: 如果你想要添加或者删除在列表中所有的id,用下面的方法
# Note: This method uses the normal way of adding a tp. I created this method 注意:这个方法使用普通(同样?)的方法对于添加一个tp,我添加
# to save some space when adding a large amount of id's. 这个方法是为了在id过多的时候节省空间。
# tp_all(:add) # Add all id's. 添加所有的id
# tp_all(:del) # Remove all id's. 删除所有的id
#
# Read the settings carefully when setting up new teleport location as well as
# how to change certain settings. Make sure you change the settings as you
# want them and hopefully you will be pleased. Enjoy!
#
# *** Only for RPG Maker VX Ace. ***(又是废话和套话)
#==============================================================================
($imported ||= {})["XS-TELEPORT-SCENE"] = true
module XAIL
module TELEPORT
#--------------------------------------------------------------------------#
# * Settings
#--------------------------------------------------------------------------#
# TP_FONT = [ name, size, color, bold, italic, shadow ] TP_FONT=[字体名称,字号,颜色,是否加粗,是否斜体,是否阴影]
# Bare in mind that if italic is on, it might look weird depending on font
# choice as well as the size. 提醒用斜体可能导致字看着字号变形(?)
TP_CMD_FONT = [["Verdana"], 16, Color.new(255,255,255), true, false, false]
TP_INFO_FONT = [["Verdana"], 14, Color.new(155,205,205), true, false, true]
# The windowskin to use for the windows. Set to nil to disable. 窗口皮肤给tp窗口用,使用nil禁用窗口皮肤。
# SKIN = string
SKIN = nil
# Use this template when adding a long string to the map details. 使用下面的方法添加较长的字符串到对应id细节(信息)。
# Use \n to get to a new line. 使用 \n 换行。
# TP_INFO_ID = LONG_STRING
TP_INFO_1 = "这是王城的街区"
TP_INFO_2 = "位于魔王城堡下的著名地带"
TP_INFO_3 = "充满魔力的神奇地方"
# How many lines the info window should display. 在地图信息窗口中用多少行显示信息
# If you do have long strings in the info I suggest change this. 如果使用了上面的长解说我建议你修改下面的数字
# TP_INFO_LINES = number
TP_INFO_LINES = 3
# Sets the padding of the text in the info window. 设置文字显示速度(?)在信息窗口
TP_INFO_PADDING = 10 # Default: 12. 默认是12
# TELEPORT_LIST: 传送列单
# ID = [ 'Title', :symbol, map_id, x & y, map_image(nil), map_info(nil), enabled ]
#ID=['传送点名称',:标志,地图id,传送点xy坐标,地图图像(估计应该是缩略图,nil表示为空),地图信息(没有信息用nil),是否默认传送点可用]
TP_LIST = [] # Don't remove! 不要删除此行
TP_LIST[0] = ['城下小镇', :kris_map, 69, [93,113], "城下小镇", TP_INFO_1, true]
TP_LIST[1] = ['市场', :market_map, 69, [68,124],"市场", TP_INFO_2, true]
TP_LIST[2] = ['神奇小镇', :disabled, 69, [53,93],"神奇小镇", TP_INFO_3, true]
# Display texts. Should be easy enough to understand what they are for. 显示文字,建议使用便于理解的文字。
TEXT_NO_TELEPORTS = "You haven't found a location to teleport to."
OK_NAME = "传送" # Dialog box ok.
OK_CANCEL = "取消" # Dialog box cancel.
# Transition, nil to use default. 渐变动画,nil表示使用默认
# TRANSITION [ SPEED, TRANSITION, OPACITY ] TRANSITION [ 速度, 渐变动画文件(需要给出确切路径), 不透明度 ]
# TRANSITION = [20, "Graphics/Transitions/1", 50]
TRANSITION = nil
# Menu background image (System folder) 菜单背景图片(放在System文件夹下)
# Note: You might want to decrease the opacity as well as arrange
# the windows so that you can properly see the background.
# Set to nil to use default. nil表示使用默认
BACK = nil
# Should a animation be used when teleporting to a new map. 是否需要播放动画在传送到新地图时
# Set it to nil to disable it. 使用nil禁用此功能
ANIM_ID = 81 #数字表示动画id
# Fade out time when teleporting to a new map. 传送到新地图时的淡出时间
# 1000 (1 second) 1000代表1秒
# ANIM_SCENE_FADE/ANIM_AUDIO_FADE = number
ANIM_SCENE_FADE = 500 # Fade out time for scene. 半秒淡出场景
ANIM_AUDIO_FADE = 500 # Fade out time for audio. 半秒淡出音效(应该是包括BGM、BGS)
end
end
# *** Don't edit below unless you know what you are doing. *** 往下不要编辑,除非你知道你在做些什么。 |
|