汉化完读我.txt

This commit is contained in:
zaoqi 2017-01-26 20:03:31 +08:00
parent c2e343e718
commit db29902f9f

View File

@ -31,61 +31,60 @@ vehicles.object_drive(<实体>, dtime, {……})
在上述情况下,<实体>用于代替实体或对象。如果函数是用于在一个实体的on_step = function(self, dtime),<实体>是self
table,{……})应包含以下列出的变量。这些都是可选的。
speed: This defines the speed of the vehicle, if unset it will be '10'
speed: 车辆的速度默认是10。
fixed: Setting this to 'true' will disable movement from the vehicle
fixed: 如果是真true将禁止从载具移动。
decell: This defines the decelleration of the vehicle. The default is 0
decell: 载具的减速越小减速越快在0和1之间不可以是1默认是0马上停下
shoots: If true then the vehicle can shoot with 'sneak'(arrow must be defined, default is false)
shoots: 如果是真true潜行可以射击必须定义arrow默认是假false
arrow: This should be the entity name for the weapon fired (default is nil) (requires an item with the name arrow_name.."_item" to be in the drivers inventory)
arrow: 这必须是武器的实体名称默认是空nil(会消耗一个物品栏里的叫做arrow_name.."_item"的物品)。
reload_time: how long it takes before the weapon can be fired again (default is 1)
reload_time: 需要多长时间才能再次发射武器默认是1。
shoot_y: y offset of the weapon, default is 1.5
shoot_y: 武器的y轴偏移量默认是1.5。
shoot_angle: This will make the weapon shoot at a differrent vertical angle (default is 0)
shoot_angle: 这将在不同的垂直角度进行武器射击默认是0。
infinite_arrow: if this is set then the vehicle won't need an arrow item to be in the inventory
infinite_arrow: 如果设定这个,射击时不消耗物品栏里的物品。
arrow2/reload_time2/shoots2/shoot_y2/infinite_arrow2: same as above but fired with 'use/aux1'
arrow2/reload_time2/shoots2/shoot_y2/infinite_arrow2: 同上,但用'use/aux1'键。
jump: can be either 'hover' or 'jump' (default is nil). Hover lasts longer than jump.
jump: 可以是'hover'或'jump'默认为空nil。悬停持续时间比跳跃长。
fly: if true then the vehicle will fly (default is false)
fly: 如果为真true这个载具能飞默认为假false
fly_mode: can be either 'hold' or 'rise' (default is 'hold'). hold will keep the vehicle in place when 'jump' is pressed, and 'rise' will cause the vehicle to rise when the same key is pressed.
fly_mode: 可以是'hold'或'rise'(默认为'hold')。 'hold'将保持载具在一个地方直到按下跳跃键,'rise'按下跳跃键时会上升。
rise_speed: dependant on fly_mode being set to 'rise'. Defines the speed at which the vehicle will rise. (default is 0.1)
rise_speed: 当fly_mode是'rise'时有效定义车辆将上升的速度默认为0.1。
gravity: the gravity acting on the vehicle. This should be positive. (default is 1)
gravity: 作用于车辆的重力大于等于0为0时没有重力默认为1。
boost: if set to 'true' then the vehicle can boost with 'use/aux1' (default is false)
boost: 如果为真true按'use/aux1'键时可以加速默认为假false
boost_duration: dependant on 'boost'. Determines how long a boost will last (default is 5).
boost_duration: 当'boost'为真true时有效加速的时间默认为5。
boost_charge: dependant on 'boost'. Determines how long it takes before boost can be used again (default is 4)
boost_charge: 当'boost'为真true时有效需要多长时间才能再次使用加速默认为4。
boost_effect: particle texture that will fly out from behind the vehicle whilst boosting (default is nil)
boost_effect: 加速时载具后面的粒子效果默认为空nil
hover_speed: the speed at which the vehicle will hover if 'jump' is set to 'hover' (default is 1.5)
hover_speed: 当jump为'hover'时有效载具悬停时的速度默认为1.5。
jump_speed: the speed at which the vehicle will jump if 'jump' is set to 'jump' (default is 5)
jump_speed: 当jump为'jump'时有效载具跳跃时的速度默认为5。
simple_vehicle: removes all functionality except basic movement, use to reduce lag. (not implemented yet), default is false
simple_vehicle: 如果为真true移除除基本运动以外的所有功能尚未实现默认为假false
is_watercraft: if set to true then the vehicle won't be stopped by water.
it will act like a boat unless swims is true. (default is false)
is_watercraft: 如果为真true载具会浮在水面上在水面上能开它将像一条船除非swims为真true默认为假false
swims: will allow the vehicle to move underwater (not yet implemented) (default is false)
swims: 如果为真true将允许载具在水下移动尚未实现默认为假false
driving_sound: name of the sound file that will play when the vehicle is driving (default is nil)
driving_sound: 载具行驶时将播放的声音文件的名称默认为空nil
sound_duration: !VERY IMPORTANT! if there is a driving sound then this should match it's duration. If this is not set then the sound could overlap and increase in volume (default is 5)
sound_duration: 非常重要非常重要非常重要如果有一个行驶时的声音那么这必须是持续时间。如果不设置那么声音可以重叠和音量增大默认为5。
extra_yaw: use this if the model has incorrect rotation. It will rotate the model so it faces the right way whilst being driven (default is 0)
extra_yaw: 如果模型有不正确的旋转设置这个。它将旋转模型面对着正确的方式被驱动默认为0。
moving_anim/stand_anim/jump_anim/shoot_anim/shoot_anim2: animations for actions. Can be set individually. (default is nil)
moving_anim/stand_anim/jump_anim/shoot_anim/shoot_anim2: 动作动画。可以单独设置默认为空nil