騎馬與砍殺 0808版本 武器動作的具體修改
作者:佚名 來源:本站 時間:2023-08-08 點擊:次
去官方網站下載0808版ModuleSystem
再裝個Python
到ModuleSystem目錄下右鍵點module_info.py用Python編輯輸出目錄,當然你要先把這個目錄文件夾先建立(很關鍵哦,不然輸出不了)
再到ModuleSystem目錄下右鍵點header_items.py用Python編輯打開
會發現最下面的命令行
#combined capabilities
itc_cleaver = itcf_force_64_bits | (itcf_overswing_onehanded|itcf_slashright_onehanded|itcf_slashleft_onehanded |
itcf_horseback_slashright_onehanded|itcf_horseback_slashleft_onehanded)
itc_dagger = itc_cleaver | itcf_thrust_onehanded
itc_parry_onehanded = itcf_force_64_bits | itcf_parry_forward_onehanded| itcf_parry_up_onehanded | itcf_parry_right_onehanded
|itcf_parry_left_onehanded
itc_longsword = itc_dagger | itc_parry_onehanded
itc_scimitar = itc_cleaver | itc_parry_onehanded
itc_parry_two_handed = itcf_force_64_bits | itcf_parry_forward_twohanded | itcf_parry_up_twohanded |
itcf_parry_right_twohanded | itcf_parry_left_twohanded
itc_cut_two_handed = itcf_force_64_bits | (itcf_slashright_twohanded | itcf_slashleft_twohanded | itcf_overswing_twohanded |
itcf_horseback_slashright_onehanded|itcf_horseback_slashleft_onehanded)
itc_greatsword = itc_cut_two_handed | itcf_thrust_twohanded | itc_parry_two_handed |itcf_thrust_onehanded_lance
itc_nodachi = itc_cut_two_handed | itc_parry_two_handed
itc_bastardsword = itc_cut_two_handed | itcf_thrust_twohanded | itc_parry_two_handed |itc_dagger
itc_parry_polearm = itcf_parry_forward_polearm | itcf_parry_up_polearm | itcf_parry_right_polearm | itcf_parry_left_polearm
itc_poleaxe = itc_parry_polearm| itcf_overswing_polearm
|itcf_thrust_polearm|itcf_slashright_polearm|itcf_slashleft_polearm
itc_staff = itc_parry_polearm| itcf_thrust_onehanded_lance |itcf_thrust_onehanded_lance_horseback|
itcf_overswing_polearm |itcf_thrust_polearm|itcf_slashright_polearm|itcf_slashleft_polearm
itc_spear = itc_parry_polearm| itcf_thrust_onehanded_lance |itcf_thrust_onehanded_lance_horseback | itcf_thrust_polearm
itc_pike = itcf_thrust_onehanded_lance |itcf_thrust_onehanded_lance_horseback | itcf_thrust_polearm
itc_greatlance = itcf_thrust_onehanded_lance |itcf_thrust_onehanded_lance_horseback| itcf_thrust_polearm
這些都是武器的動作類型,請大家耐心看
itcf_overswing_onehanded 單手能從上而下劈砍
itcf_slashright_onehanded 單手能從右而左橫揮
itcf_slashleft_onehanded 單手能從左而右橫揮
itcf_thrust_onehanded 單手能刺擊
horseback 能在馬背上動作
twohanded 雙手
parry_forward 能格擋刺擊
parry_up 能格擋從上而下劈砍
parry_right 能格擋從右而左橫揮
parry_left 能格擋從左而右橫揮
cut 能從上而下劈砍,僅限雙手
polearm 長柄武器
thrust_onehanded_lance 能同時拿盾牌的單手長柄武器
比如itc_cleaver是在地面和馬上都能揮舞,但不能刺擊
itc_dagger就把itc_cleaver動作定義賦值后再加了一個動作itcf_thrust_onehanded,就是說itc_dagger能在地面和馬上都能揮舞又能刺擊
往下看就知道所有的武器動作,依次類推,賦值和新添動作從而合成一個新的動作
好了,講了這么多大家也不耐煩了,進入正題
那么比如想要把greatlance改成在馬上和地面都能揮舞怎么改呢?
先要定義一個新動作,在itc_greatlance = 。。。。。。。。。下面一行新加一個動作比如itc_1
那么定義:
itc_1 = itc_poleaxe |itcf_horseback_slashright_onehanded|itcf_horseback_slashleft_onehanded |itcf_overswing_onehanded |
itcf_thrust_onehanded_lance
這個動作itc_1 = 長柄斧的所有動作 & 馬背上單手左右揮舞 & 馬上從上而下劈砍 & 能拿盾牌
這樣這個動作就是:地面不拿盾時,砍、刺、揮舞均可;拿盾時只能刺和砍,不能揮舞X_X;馬背上不論拿不拿盾都可砍、刺、揮舞,還能馬背
蹲伏攻擊(騎槍專利)
好了,保存退出
到ModuleSystem目錄下右鍵點module_items.py用Python編輯
看到了武器的定義命令
找到
["great_lance", "Great Lance", [("heavy_lance",0)], itp_type_polearm|itp_merchandise|
itp_spear|itp_primary|itp_penalty_with_shield, itc_greatlance, 237 , weight(5)|difficulty(0)|spd_rtng(55) | weapon_length
(215)|swing_damage(0 , cut) | thrust_damage(19 , pierce),imodbits_polearm ],
里面的itc_greatlance,替換成itc_1,把里面的swing_damage(0 , cut)改一下,保存退出。
雙擊build_module.bat,結束輸出后到你最開始建立的輸出目錄下找到item_kinds1.txt
查找里面的
itm_great_lance Great_Lance Great_Lance 1 heavy_lance 0 1078034436 4222124742938370 237 10 5.000000 100 0 0 0 0 0 55 0 214
0 275 0
0
注意那個一長串數字4222124742938370,這個是代表武器動作的值,根據itc的改變而改變
好了,現在把這串數字復制后,進入到你玩的MOD的目錄里,比如X:\Mount&Blade\Modules\XXXXXXX目錄下
打開里面的item_kinds1.txt,查找里面的任何長柄武器,把這串數字替代原始數字(注意,找對地址,不然后果。。。。)
比如
itm_vaegir_lance Vaegir_Lance Vaegir_Lance 1 vaegir_lance 0 1078034436 4222124742938370 237 10 5.000000 100 。。。(后面數字段省略,不要以為沒有)
保存退出,進入游戲后,試試看就知道了:)
好了,小弟在此拋磚,如果大家有想象力,可以改的更變態一些,所有武器都能通過定義新動作賦值來改動作類型
另外改武器屬性的話module_items.py,里面的語言都很通俗易懂,比item_kinds1.txt里的那一串串數字要直觀的多了,想怎么改就怎么改
祝大家玩的開心
- 上一篇: 輻射3 支線-解除未爆核彈+找回小提琴+奴隸
- 下一篇: 騎馬與砍殺戰團 嘩啊!原來可以劫獄了
相關閱讀
更多資訊
- 騎馬與砍殺戰團 嘩啊!原來可以劫獄了
- 騎馬與砍殺戰團 地圖
- 騎馬與砍殺戰團 修改配置漢化不消失的小辦法
- 騎馬與砍殺戰團 士兵兵種樹
- 騎馬與砍殺戰團 warband與單機版1011的巨大變化
- 騎馬與砍殺戰團 詳解戰團的士氣系統
- 騎馬與砍殺戰團 1.103不能漢化解決辦法
- 騎馬與砍殺 改進士氣報告的顯示問題
- 騎馬與砍殺 960 native戰報
- 騎馬與砍殺戰團 戰團士氣的真像!士兵拒絕攻打自己的祖國!
- 騎馬與砍殺 1.0初體驗
- 騎馬與砍殺戰團 ai步兵無語的絕招
- 騎馬與砍殺 0.894加入新npc的辦法
- 騎馬與砍殺戰團 新神器——hafted blade
- 騎馬與砍殺戰團 修改俘虜價格,使之按等級計算
- 騎馬與砍殺 淺談技能加點和npc養成 for1.011
- 鬼泣4 連削,連踩,手部按鍵視頻教程
- 波斯王子4重生 最強連擊招式——14連!
- 鬼泣4 4miacis的1~3部連技段子
- 鬼泣4 xbox360、ps3雙版本游戲畫質對比視頻