标题: 求翻译一下这小段英文使用说明谢谢(我用谷歌翻译看不懂 [打印本页] 作者: 358429534 时间: 2012-8-5 08:45 标题: 求翻译一下这小段英文使用说明谢谢(我用谷歌翻译看不懂 #==============================================================================
# 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(id, type, enabled = true)
# Examples:
# tp(2, :add) # This will add id 2.
# tp(2, :del) # This will delete id 1.
#
# To check if id is added or enabled/disabled do the following, preferably in a
# 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:
# tp_enable(1, true) # Enable id 1.
# tp_enable(2, false) # Disable id 2.
#
# If you want to add/delete all the id's in the list use this method:
# Note: This method uses the normal way of adding a tp. I created this method
# to save some space when adding a large amount of id's.
# tp_all(:add) # Add all id's.
# tp_all(:del) # Remove all id's.
#
# 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 ]
# 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.
# SKIN = string
SKIN = nil
# Use this template when adding a long string to the map details.
# Use \n to get to a new line.
# 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.
# 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.
# Menu background image (System folder)
# 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.
BACK = nil
# Should a animation be used when teleporting to a new map.
# Set it to nil to disable it.
ANIM_ID = 81
# Fade out time when teleporting to a new map.
# 1000 (1 second)
# 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.
end
end
# *** Don't edit below unless you know what you are doing. *** dsu_plus_rewardpost_czw作者: 幻想中的鸡蛋 时间: 2012-8-5 14:57
于是简单翻译了一下……
#==============================================================================
# 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
# 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.
# 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. *** 往下不要编辑,除非你知道你在做些什么。作者: 358429534 时间: 2012-8-5 20:31