- 好友
- 19
- 在线时间
- 1653 小时
- 最后登录
- 2024-11-14
骑士
民间工匠
- UID
- 1115705
- 第纳尔
- 4062
- 精华
- 0
- 互助
- 26
- 荣誉
- 2
- 贡献
- 0
- 魅力
- 30
- 注册时间
- 2012-12-13
鲜花( 235) 鸡蛋( 10)
|
发表于 2020-4-23 21:24:48
|
显示全部楼层
http://bbs.mountblade.com.cn/thread-477135-1-1.html
可以先看看这个,比较基础的内容就有了,不过这个帖子关于操作的部分不是很准确
我对动作了解不深,主要是没有认真研究过,而且实际上用的到的很少,最后一个问题就是这个东西需要美工支持
先讲几个操作
###设置agent攻击行为,#值:-2 =清除任何攻击行动,0 =刺,1 = 挥砍,2 = 左砍 第二个值 0 = 准备和释放 1 = 准备和控制
agent_set_attack_action = 1745 # (agent_set_attack_action, <agent_id>, <value>, <value>), #value: -2 = clear any attack action, 0 = thrust, 1 = slashright, 2 = slashleft, 3 = overswing - second value 0 = ready and release, 1 = ready and hold
###设置agent防守行为 #值:-2 =清除任何攻击行动,0=防守下 1=防守右 2防守左 3防守上
agent_set_defend_action = 1746 # (agent_set_defend_action, <agent_id>, <value>, <duration-in-1/1000-seconds>), #value_1: -2 = clear any defend action, 0 = defend_down, 1 = defend_right, 2 = defend_left, 3 = defend_up
###设置agent动作(第二个值可以不填写,默认0,填写后对执行的动作有影响,会区分上半身下半身)
agent_set_animation = 1740 # (agent_set_animation, <agent_id>, <anim_id>, [channel_no]), #channel_no default is 0. Top body only animations should have channel_no value as 1.
###获取agent攻击行动 0自由 1准备攻击 2释放攻击 3完成打击后进攻 4攻击闪避 5装弹 6释放 7取消攻击
agent_get_attack_action = 1763 # (agent_get_attack_action, <destination>, <agent_id>), #returned values: free = 0, readying_attack = 1, releasing_attack = 2, completing_attack_after_hit = 3, attack_parried = 4, reloading = 5, after_release = 6, cancelling_attack = 7
###获取agent防守行动,0自由 1闪避 2盾挡?
agent_get_defend_action = 1764 # (agent_get_defend_action, <destination>, <agent_id>), #returned values: free = 0, parrying = 1, blocking = 2
###设置agent动力学,0关闭 1开启(开启后会让agent呆在原地执行动画,但是仍然可以根于视角转动身体)
agent_set_no_dynamics = 1762 # (agent_set_no_dynamics, <agent_id>, <value>), #0 = turn dynamics off, 1 = turn dynamics on (required for cut-scenes)
###获取agent动作列表 -1无效的 0下 1右 2左 3上
agent_get_action_dir = 1767 # (agent_get_action_dir, <destination>, <agent_id>), #invalid = -1, down = 0, right = 1, left = 2, up = 3
###获取agent动作动画 0身体下部 1身体上部
agent_get_animation = 1768 # (agent_get_animation, <destination>, <agent_id>, <body_part), #0 = lower body part, 1 = upper body part
#这两个我没用过,只是抄了注释 |
|