《骑马与砍杀》武器动作代码

2023年1月6日 79点热度 0人点赞 0条评论

0808版本 武器动作的具体修改 十六进制版

今天,在boyzhanxun大大帖子的指引下,完成了以下这篇文章,在他帖子中他说看不懂那长串数字的规律,其实

header_items.py文件里写的非常非常清楚了,boyzhanxun大大绕了一大圈才达到目的,其实只要告诉我们以下内

容就行了

# Item capabilities:
itcf_thrust_onehanded 单手刺                         = 0x0000000000000001
itcf_overswing_onehanded 单手砍                      = 0x0000000000000002
itcf_slashright_onehanded 单手右砍                   = 0x0000000000000004
itcf_slashleft_onehanded 单手左砍                    = 0x0000000000000008

itcf_thrust_twohanded 双手刺                         = 0x0000000000000010
itcf_overswing_twohanded 双手砍                      = 0x0000000000000020
itcf_slashright_twohanded 双手右砍                   = 0x0000000000000040
itcf_slashleft_twohanded 双手左砍                    = 0x0000000000000080

itcf_thrust_polearm 长杆刺                           = 0x0000000000000100
itcf_overswing_polearm 长杆砍                        = 0x0000000000000200
itcf_slashright_polearm 长杆右砍                     = 0x0000000000000400
itcf_slashleft_polearm 长杆左砍                      = 0x0000000000000800

itcf_shoot_bow                                       = 0x0000000000001000
itcf_shoot_javelin                                   = 0x0000000000002000
itcf_shoot_crossbow                                  = 0x0000000000004000

itcf_throw_stone                                     = 0x0000000000010000
itcf_throw_knife                                     = 0x0000000000020000
itcf_throw_axe                                       = 0x0000000000030000
itcf_throw_javelin                                   = 0x0000000000040000
itcf_shoot_pistol                                    = 0x0000000000070000
itcf_shoot_musket                                    = 0x0000000000080000
itcf_shoot_mask                                      = 0x00000000000ff000

itcf_horseback_thrust_onehanded 没用过               = 0x0000000000100000
itcf_horseback_overswing_right_onehanded 没用过      = 0x0000000000200000
itcf_horseback_overswing_left_onehanded 没用过       = 0x0000000000400000
itcf_horseback_slashright_onehanded 单手马上右砍     = 0x0000000000800000
itcf_horseback_slashleft_onehanded 单手马上左砍      = 0x0000000001000000
itcf_thrust_onehanded_lance 枪骑单手刺               = 0x0000000004000000
itcf_thrust_onehanded_lance_horseback 枪骑单手马上刺 = 0x0000000008000000

itcf_carry_mask                                      = 0x00000007f0000000
itcf_carry_sword_left_hip                            = 0x0000000010000000
itcf_carry_axe_left_hip                              = 0x0000000020000000
itcf_carry_dagger_front_left                         = 0x0000000030000000
itcf_carry_dagger_front_right                        = 0x0000000040000000
itcf_carry_quiver_front_right                        = 0x0000000050000000
itcf_carry_quiver_back_right                         = 0x0000000060000000
itcf_carry_quiver_right_vertical                     = 0x0000000070000000
itcf_carry_quiver_back                               = 0x0000000080000000
itcf_carry_revolver_right                            = 0x0000000090000000
itcf_carry_pistol_front_left                         = 0x00000000a0000000
itcf_carry_bowcase_left                              = 0x00000000b0000000

itcf_carry_axe_back                                  = 0x0000000100000000
itcf_carry_sword_back                                = 0x0000000110000000
itcf_carry_kite_shield                               = 0x0000000120000000
itcf_carry_round_shield                              = 0x0000000130000000
itcf_carry_buckler_left                              = 0x0000000140000000
itcf_carry_crossbow_back                             = 0x0000000150000000
itcf_carry_bow_back                                  = 0x0000000160000000
itcf_carry_spear                                     = 0x0000000170000000

itcf_carry_katana                                    = 0x0000000210000000
itcf_carry_wakizashi                                 = 0x0000000220000000

itcf_show_holster_when_drawn                         = 0x0000000800000000

itcf_reload_pistol                                   = 0x0000007000000000
itcf_reload_musket                                   = 0x0000008000000000
itcf_reload_mask                                     = 0x000000f000000000

这部分是格挡
itcf_parry_forward_onehanded                         = 0x0000010000000000
itcf_parry_up_onehanded                              = 0x0000020000000000
itcf_parry_right_onehanded                           = 0x0000040000000000
itcf_parry_left_onehanded                            = 0x0000080000000000

itcf_parry_forward_twohanded                         = 0x0000100000000000
itcf_parry_up_twohanded                              = 0x0000200000000000
itcf_parry_right_twohanded                           = 0x0000400000000000
itcf_parry_left_twohanded                            = 0x0000800000000000

itcf_parry_forward_polearm                           = 0x0001000000000000
itcf_parry_up_polearm                                = 0x0002000000000000
itcf_parry_right_polearm                             = 0x0004000000000000
itcf_parry_left_polearm                              = 0x0008000000000000

itcf_force_64_bits *标注1                            = 0x8000000000000000

0808版本 武器动作的具体修改 十六进制版

今天,在boyzhanxun大大帖子的指引下,完成了以下这篇文章,在他帖子中他说看不懂那长串数字的规律,其实

header_items.py文件里写的非常非常清楚了,boyzhanxun大大绕了一大圈才达到目的,其实只要告诉我们以下内

容就行了

# Item capabilities:
itcf_thrust_onehanded 单手刺                         = 0x0000000000000001
itcf_overswing_onehanded 单手砍                      = 0x0000000000000002
itcf_slashright_onehanded 单手右砍                   = 0x0000000000000004
itcf_slashleft_onehanded 单手左砍                    = 0x0000000000000008

itcf_thrust_twohanded 双手刺                         = 0x0000000000000010
itcf_overswing_twohanded 双手砍                      = 0x0000000000000020
itcf_slashright_twohanded 双手右砍                   = 0x0000000000000040
itcf_slashleft_twohanded 双手左砍                    = 0x0000000000000080

itcf_thrust_polearm 长杆刺                           = 0x0000000000000100
itcf_overswing_polearm 长杆砍                        = 0x0000000000000200
itcf_slashright_polearm 长杆右砍                     = 0x0000000000000400
itcf_slashleft_polearm 长杆左砍                      = 0x0000000000000800

itcf_shoot_bow                                       = 0x0000000000001000
itcf_shoot_javelin                                   = 0x0000000000002000
itcf_shoot_crossbow                                  = 0x0000000000004000

itcf_throw_stone                                     = 0x0000000000010000
itcf_throw_knife                                     = 0x0000000000020000
itcf_throw_axe                                       = 0x0000000000030000
itcf_throw_javelin                                   = 0x0000000000040000
itcf_shoot_pistol                                    = 0x0000000000070000
itcf_shoot_musket                                    = 0x0000000000080000
itcf_shoot_mask                                      = 0x00000000000ff000

itcf_horseback_thrust_onehanded 没用过               = 0x0000000000100000
itcf_horseback_overswing_right_onehanded 没用过      = 0x0000000000200000
itcf_horseback_overswing_left_onehanded 没用过       = 0x0000000000400000
itcf_horseback_slashright_onehanded 单手马上右砍     = 0x0000000000800000
itcf_horseback_slashleft_onehanded 单手马上左砍      = 0x0000000001000000
itcf_thrust_onehanded_lance 枪骑单手刺               = 0x0000000004000000
itcf_thrust_onehanded_lance_horseback 枪骑单手马上刺 = 0x0000000008000000

itcf_carry_mask                                      = 0x00000007f0000000
itcf_carry_sword_left_hip                            = 0x0000000010000000
itcf_carry_axe_left_hip                              = 0x0000000020000000
itcf_carry_dagger_front_left                         = 0x0000000030000000
itcf_carry_dagger_front_right                        = 0x0000000040000000
itcf_carry_quiver_front_right                        = 0x0000000050000000
itcf_carry_quiver_back_right                         = 0x0000000060000000
itcf_carry_quiver_right_vertical                     = 0x0000000070000000
itcf_carry_quiver_back                               = 0x0000000080000000
itcf_carry_revolver_right                            = 0x0000000090000000
itcf_carry_pistol_front_left                         = 0x00000000a0000000
itcf_carry_bowcase_left                              = 0x00000000b0000000

itcf_carry_axe_back                                  = 0x0000000100000000
itcf_carry_sword_back                                = 0x0000000110000000
itcf_carry_kite_shield                               = 0x0000000120000000
itcf_carry_round_shield                              = 0x0000000130000000
itcf_carry_buckler_left                              = 0x0000000140000000
itcf_carry_crossbow_back                             = 0x0000000150000000
itcf_carry_bow_back                                  = 0x0000000160000000
itcf_carry_spear                                     = 0x0000000170000000

itcf_carry_katana                                    = 0x0000000210000000
itcf_carry_wakizashi                                 = 0x0000000220000000

itcf_show_holster_when_drawn                         = 0x0000000800000000

itcf_reload_pistol                                   = 0x0000007000000000
itcf_reload_musket                                   = 0x0000008000000000
itcf_reload_mask                                     = 0x000000f000000000

这部分是格挡
itcf_parry_forward_onehanded                         = 0x0000010000000000
itcf_parry_up_onehanded                              = 0x0000020000000000
itcf_parry_right_onehanded                           = 0x0000040000000000
itcf_parry_left_onehanded                            = 0x0000080000000000

itcf_parry_forward_twohanded                         = 0x0000100000000000
itcf_parry_up_twohanded                              = 0x0000200000000000
itcf_parry_right_twohanded                           = 0x0000400000000000
itcf_parry_left_twohanded                            = 0x0000800000000000

itcf_parry_forward_polearm                           = 0x0001000000000000
itcf_parry_up_polearm                                = 0x0002000000000000
itcf_parry_right_polearm                             = 0x0004000000000000
itcf_parry_left_polearm                              = 0x0008000000000000

itcf_force_64_bits *标注1                            = 0x8000000000000000

举例来说 这是一个长杆武器的动作代码4222124877155584
换成16进制:F00000D800D00
F,就是10进制的15,代表了它拥有长杆武器格挡的4个动作
D,就是10进制的13,代表了它拥有单手马上左砍 枪骑单手刺 枪骑单手马上刺
8,代表了它拥有单手马上右砍
D,代表了它拥有除了砍以外的长杆武器动作

如果您是资深玩家,现在来猜猜这把武器究竟是什么样的动作呢

答案就是:地面上,无盾牌时可以用长杆武器标准刺杀 左右砍,用盾牌时使用骑兵长矛标准刺杀,马上,即使用盾也

可以左右砍,因为是单手攻击动作,不受盾的影响,但是马上是没有长杆武器标准刺杀动作的,并且不用盾牌时可以格

挡很多动作是地面马上合并在一起的,竖砍这个动作,只要加了,地面马上都会有,想只能地面砍,马上不砍是做不到

的(起码我不会),刺杀也一样,为了保险起见,也为了好看,我这把武器用了3个刺杀动作,其实仅仅一个枪骑单手

刺,功能就足够了

*标注1:有很多非长杆武器有此代码,但我并不知道它的作用,求高人解答

附表:
单手武器:4259842 破盾代码:541130754
双手武器:6356995 破盾代码:543227907
长杆武器:1078034436(这个代码对盾牌有惩罚,也是默认的配置)4292612 破盾代码:541163524
长杆武器(不能配盾):6389764 破盾代码:543260676
弓:          6357000 破盾代码:543227912
单/双手武器:4259843 破盾代码:541130755
弩:          6357001 破盾代码:543227913
手枪:       4259856 破盾代码:541130768
长杆火枪:6357009  破盾代码:543227921

>>骑马与砍杀 攻略秘籍专区

fengjun

这个人很懒,什么都没留下

猜你喜欢

文章评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据