《騎馬與砍殺》武器動作代碼
今天,在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