赞 | 33 |
VIP | 0 |
好人卡 | 0 |
积分 | 17 |
经验 | 0 |
最后登录 | 2024-9-14 |
在线时间 | 126 小时 |
Lv3.寻梦者
- 梦石
- 0
- 星屑
- 1718
- 在线时间
- 126 小时
- 注册时间
- 2019-1-4
- 帖子
- 110
|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
当年辛辛苦苦给狼写了结果狼没看
可恶
记录了基础性的yep常用战斗序列的翻译和教程
正文:
1.一套完整的技能包含以下5个阶段,如果不使用将调用默认阶段内的序列函数
<setup action>
action list
action list
</setup action>
<whole action>
action list
action list
</whole action>
<target action>
action list
action list
</target action>
<follow action>
action list
action list
</follow action>
<finish action>
action list
action list
</finish action>
1.1默认阶段内序列:
1.1.1<setup action>
此部分为最先的准备阶段,默认包含:
CLEAR BATTLE LOG 清除战斗信息
DISPLAY ACTION 播放行动[比如mog的行动名称显示]
IMMORTAL: TARGETS, TRUE 使目标不会死亡(防止死了序列中断)
PERFORM START 播放开始(开始行动相关的一些效果,比如前进一步)
WAIT FOR MOVEMENT 等待移动结束
CAST ANIMATION 施法动画
WAIT FOR ANIMATION 等待动画结束
1.1.2<whole action>
此部分为全体动作,主要是面向全体目标,或者动画是整个画面的时候使用这部分
默认只有target action 或者whole action
PERFORM ACTION 播放动作
MOTION WAIT: USER 或者 WAIT: 10 等待动作结束或者等待10帧
ACTION ANIMATION 行动的动画播放
WAIT FOR ANIMATION 等待动画结束
ACTION EFFECT 行动结果:伤害,附加效果什么的
1.1.3<target action>
此部分为单体动作,主要是面向单体目标,或者单体动画,同个目标多次会进行多次下列行动。
默认只有target action 或者whole action
PERFORM ACTION
MOTION WAIT: USER 或者 WAIT: 10
ACTION ANIMATION
WAIT FOR ANIMATION
ACTION EFFECT
1.1.4<follow action>
此部分是后续行动,默认是空的位置
1.1.5<finish action>
此部分是结束动作,用于清空信息返回位置什么的
IMMORTAL: TARGETS, FALSE 使目标会死亡
WAIT FOR NEW LINE 等待新的一行,用处不大,应该是等待信息用的
CLEAR BATTLE LOG 清空战斗信息
PERFORM FINISH 播放结束动作:返回位置之类的
WAIT FOR MOVEMENT 等待动作结束
WAIT FOR EFFECT 等待效果结束,比如动画的闪光,受伤的晃动闪烁什么的
ACTION COMMON EVENT 调用公共事件
2.常用其他序列
2.1目标(所有(target)可以替换的)
user; 使用者
target, targets; 技能目标,目标全体.
actors, existing actors; 所有存活角色.
all actors; 所有角色包括死亡s.
dead actors: 所有死亡角色.
actors not user;非使用者的所有角色
actor x; 队伍里X号角色.
character x; 编号为x的角色.
enemies, existing enemies;所有存活敌人.
all enemies; 所有敌人包括死亡.
dead enemies: 所有死亡敌人.
enemies not user; 所有敌人不包括自己.
enemy x; 敌方队伍第x号.
friends; 所有存活友军.
all friends;所有友军包括死亡.
dead friends; 所有死亡友军.
friends not user;所有友军除了自己
friend x: 友军队伍编号x的友军.
opponents; 所有存活的敌人.
all opponents; 所有敌人
dead opponents; 所有死亡敌人.
opponent x: 敌人队伍编号为x的敌人.
all alive; 所有存活者.
all members;所有人,包括死亡.
all dead; 所有死者.
all not user; 所有人除了自己.
focus; 所有当前使用人和目标.
not focus;所有非当前使用人和目标.
2.2序列包
FACE target1: FORWARD
FACE target1: BACKWARD
FACE target1: HOME
FACE target1: AWAY FROM HOME
FACE target1: POINT, x coordinate, y coordinate
FACE target1: AWAY FROM POINT, x coordinate, y coordinate
FACE target1: target2
FACE target1: AWAY FROM target2
修改target1面朝方向,向前、后、原点、目标target2之类的
FLOAT target: (height), (frames)
FLOAT target: (height%), (frames)
Target漂浮,height为多少像素,或者多少百分比高度,frame是漂浮到顶的时间
需要手动再float target: 0, 10这种来漂浮回地面
比如float target: 500, 30目标漂浮500像素,30帧
JUMP target: (height), (frames)
JUMP target: (height%), (frames)
Target跳跃,height是像素高度,或者百分比高度,frames是持续时间
OPACITY target: x, (frames)
OPACITY target: x%, (frames)
修改target不透明度为x或者百分之x,需要frames帧
默认为0-255,或者0%-100%
MOTION WALK: target
MOTION STANDBY: target
MOTION CHANT: target
MOTION GUARD: target
MOTION DAMAGE: target
MOTION EVADE: target
MOTION ATTACK: target 这个是根据武器来播放攻击动作
MOTION THRUST: target
MOTION SWING: target
MOTION MISSILE: target
MOTION SKILL: target
MOTION SPELL: target
MOTION ITEM: target
MOTION ESCAPE: target
MOTION VICTORY: target
MOTION DYING: target
MOTION ABNORMAL: target
MOTION SLEEP: target
MOTION DEAD: target
播放target指定动作,如walk、chant、skill
MOVE target1: HOME, (frames)
MOVE target1: RETURN, (frames)
MOVE target1: FORWARD, (distance), (frames)
MOVE target1: BACKWARD, (distance), (frames)
MOVE target1: POINT, x coordinate, y coordinate, (frames)
MOVE target1: target2, BASE, (frames), (offset)
MOVE target1: target2, CENTER, (frames), (offset)
MOVE target1: target2, HEAD, (frames), (offset)
MOVE target1: target2, FRONT BASE, (frames), (offset)
MOVE target1: target2, FRONT CENTER, (frames), (offset)
MOVE target1: target2, FRONT HEAD, (frames), (offset)
MOVE target1: target2, BACK BASE, (frames), (offset)
MOVE target1: target2, BACK CENTER, (frames), (offset)
MOVE target1: target2, BACK HEAD, (frames), (offset)
移动target1,home是原点,forward是前进,backward是后退,point是移动到指定点,
Target2的位置:
Back head head front head
Back center center front center
Back base base front base
Frame是移动时间,
offset偏移量,
offset x +100
offset x -200
offset y +300
offset y -400
如:move enemy 2: point, 500, 250, offset x -50, offset y -50
移动敌人2到点500,250,偏移x-50,y-50
move user: target, front base, 20
移动user到target的front base,需要20帧
ACTION ANIMATION: (target), (mirror)
给目标播放行动动画,mirror为是否镜像
action animation: user, mirror
给使用者播放行动动画,并且镜像
ATTACK ANIMATION: target, (mirror)
播放攻击动画给target
ACTION COMMON EVENT
调用公共事件
ACTION EFFECT: target
播放技能效果:伤害治疗
ADD stat BUFF: target, (turns), (show)
REMOVE stat BUFF: target, (show)
REMOVE stat DEBUFF: target, (show)
给予能力提升,turns是回合,show是是否显示
add atk buff: user, 3, show
给予使用者atk提升3回合,显示提示
同理给予debuff和移除debuff
ADD STATE X: target, (show)
REMOVE STATE X: target (show)
为目标给予状态x,show为是否提示
add state 5: target, show
为target给予状态5,并且提示
ANIMATION X: target, (mirror)
播放x动画给target,mirror是否镜像
animation 6: target
播放动画6给目标,并且不镜像
WAIT: frames
等待x帧
wait: 60
ANIMATION WAIT: X
等待动画帧数x,指的动画播放x帧,非游戏速度的60帧,而是动画播放速度
WAIT FOR ANIMATION等待动画
WAIT FOR EFFECT等待动画的闪烁或者变色
WAIT FOR MOVEMENT等待移动
WAIT FOR POPUPS等待伤害
WAIT FOR FLOAT等待漂浮
WAIT FOR JUMP等待跳跃
WAIT FOR OPACITY等待透明度
WAIT FOR CAMERA等待镜头
WAIT FOR ZOOM等待缩放
BREAK ACTION
跳过序列,直接结束行动
CAST ANIMATION
播放施法动画
CLEAR BATTLE LOG
清除战斗信息
CHANGE SWITCH X: on/off/toggle/switch z
修改开关x为开/关/触发/开关z的开关
触发指的是比如当前为开,触发则变成关
CHANGE VARIABLE X = Y
CHANGE VARIABLE X += Y
CHANGE VARIABLE X -= Y
CHANGE VARIABLE X *= Y
CHANGE VARIABLE X /= Y
CHANGE VARIABLE X %= Y
修改变量X
COMMON EVENT: X
调用x公共事件
DISPLAY ACTION
播放行动开始:比如mog的行动技能名称
GAIN ITEM X: Y LOSE ITEM X: Y
GAIN WEAPON X: Y LOSE WEAPON X: Y
GAIN ARMOR X: Y LOSE ARMOR X: Y
获得道具等编号为X,数量为Y
GOLD +x
GOLD -x
获得金币
if $gameSwitches.value(1)
action effect
else if $gameSwitches.value(2)
action effect
action effect
else
action effect
action effect
action effect
end
条件分歧
HP +X: target, (show)
HP -X: target, (show)
HP +X%: target, (show)
HP -X%: target, (show)
HP +VARIABLE X: target, (show)
HP -VARIABLE X: target, (show)
HP +VARIABLE X%: target, (show)
HP -VARIABLE X%: target, (show)
修改目标hp,第一个为固定数值,第二个为百分比,第三个为变量X点数值,第四个为变量X的百分比
MpTp同理
MOTION WAIT: target
等待目标动作结束
PERFORM ACTION
播放行动动作,比如行动是挥动,或者咏唱施法
PERFORM FINISH
播放结束动作,比如跑回去什么的
PERFORM START
比如往前走一步
FADE OUT: (frames)
FADE IN: (frames)
淡入淡出,frame帧
FLASH SCREEN: WHITE, (frames)
FLASH SCREEN: RED, (frames)
FLASH SCREEN: ORANGE, (frames)
FLASH SCREEN: YELLOW, (frames)
FLASH SCREEN: GREEN, (frames)
FLASH SCREEN: BLUE, (frames)
FLASH SCREEN: PURPLE, (frames)
FLASH SCREEN: MAGENTA, (frames)
FLASH SCREEN: BLACK, (frames)
FLASH SCREEN: (red), (green), (blue), (intensity), (frames)
屏幕闪光,后面的是颜色和持续时间
SHAKE SCREEN: (power), (speed), (frames)
屏幕震动,参考事件内
shake screen: 3, 9, 30
强度3,速度9,时间30
TINT SCREEN: NORMAL, (frames)
TINT SCREEN: DARK, (frames)
TINT SCREEN: SEPIA, (frames)
TINT SCREEN: SUNSET, (frames)
TINT SCREEN: NIGHT, (frames)
TINT SCREEN: (red), (green), (blue), (gray), (frames)
修改屏幕色调,参考事件内
ZOOM: x%, (frames)
ZOOM: x.y, (frames)
缩放镜头到x%,或者x.y,需要frames帧
比如zoom: 1.5, 45
CAMERA FOCUS: target, FRONT BASE, (frames)
CAMERA FOCUS: target, BASE, (frames)
CAMERA FOCUS: target, BACK BASE, (frames)
CAMERA FOCUS: target, FRONT CENTER, (frames)
CAMERA FOCUS: target, CENTER, (frames)
CAMERA FOCUS: target, BACK CENTER, (frames)
CAMERA FOCUS: target, FRONT HEAD, (frames)
CAMERA FOCUS: target, HEAD, (frames)
CAMERA FOCUS: target, BACK HEAD, (frames)
锁定镜头到target位置,会跟着动
Back head head front head
Back center center front center
Back base base front base
需要frames帧
CAMERA OFFSET: LEFT, distance
CAMERA OFFSET: RIGHT, distance
CAMERA OFFSET: UP, distance
CAMERA OFFSET: DOWN, distance
镜头偏移distance距离
CAMERA OFFSET: LEFT, distance
CAMERA OFFSET: RIGHT, distance
CAMERA OFFSET: UP, distance
CAMERA OFFSET: DOWN, distance
镜头摇晃distance,具体效果得自己试一试
CAMERA SCREEN: TOP LEFT, (frames)
CAMERA SCREEN: FAR LEFT, (frames)
CAMERA SCREEN: BOTTOM LEFT, (frames)
CAMERA SCREEN: TOP CENTER, (frames)
CAMERA SCREEN: CENTER, (frames)
CAMERA SCREEN: BOTTOM CENTER, (frames)
CAMERA SCREEN: TOP RIGHT, (frames)
CAMERA SCREEN: FAR RIGHT, (frames)
CAMERA SCREEN: BOTTOM RIGHT, (frames)
CAMERA SCREEN: POINT, x, y, (frames)
CAMERA SCREEN: target, FRONT, (frames)
CAMERA SCREEN: target, BASE, (frames)
CAMERA SCREEN: target, BACK, (frames)
CAMERA SCREEN: target, FRONT CENTER, (frames)
CAMERA SCREEN: target, CENTER, (frames)
CAMERA SCREEN: target, BACK CENTER, (frames)
CAMERA SCREEN: target, FRONT TOP, (frames)
CAMERA SCREEN: target, TOP, (frames)
CAMERA SCREEN: target, BACK TOP, (frames)
移动镜头到指定位置
比如
camera screen: top left 左上角
camera screen: far right, 30 中右?没用过
camera screen: point, 400, 300, 60 400,300坐标
camera screen: user, base user脚底
camera screen: targets, base, 60 target脚底
RESET CAMERA: (frames)
重置镜头,需要frames帧
RESET ZOOM: (frames)
重置缩放
此部分不手动复原在finish时也会自动复原 |
评分
-
查看全部评分
|