騎馬與砍殺 0.894加入新npc的辦法
作者:佚名 來(lái)源:本站 時(shí)間:2023-08-07 點(diǎn)擊:次
研究了一整天先說說最簡(jiǎn)單的方法
前提是要有module system
打開module_troops.py
搜尋馬德尼marnid
會(huì)找到以下文字(npc技能跟裝備我修改過了,僅供參考)
["borcha","Borcha","Borcha",tf_hero, 0, reserved, fac_commoners,[itm_plate_armor,itm_iron_greaves,itm_scale_gauntlets,itm_knife,itm_magyar_helmet_a,itm_wooden_stick,itm_tutorial_sword],str_6|agi_6|int_30|cha_30|level(28),wp(50),knows_pathfinding_2|knows_tactics_8|knows_trainer_9|knows_spotting_2,0x000000000010918a01f248377289467d],
["marnid","Marnid","Marnid", tf_hero, 0,reserved, fac_commoners,[itm_mail_with_surcoat,itm_hide_boots,itm_short_sword,itm_turret_hat_green,itm_flintlock_pistol],str_3|agi_12|int_26|cha_3|level(28),wp(50)|wp_firearm(200),knows_trade_10|knows_inventory_management_5|knows_engineer_10,0x00000000000c600301c2510211a5b292],
["ymira","Ymira","Ymira",tf_female|tf_hero, 0, reserved, fac_commoners,[itm_court_dress,itm_morningstar],def_attrib|level(28),wp(90),knows_wound_treatment_8|knows_first_aid_7|knows_surgery_7,0x000000000000000201c152351bab4558],
["rolf","Rolf","Rolf",tf_hero, 0, reserved, fac_commoners,[itm_leather_jerkin,itm_nomad_boots, itm_sword],def_attrib|level(1),wp(20),knows_common,0x00000000000c840001f8c0a4ab8ad50a],
這裡就是放著npc加入的代碼,0.894跟0.808的加入代碼是不通的,
作者是利用slot的方式來(lái)處理加入npc,我搞不太懂,不過要加入新npc是很簡(jiǎn)單的,只要複製上面任何一個(gè)人,
貼到下方,把前三個(gè)名字改掉,例如:"rolf","Rolf","Rolf"改成"jack","Jack","Jack"
應(yīng)該會(huì)隨機(jī)在酒店出現(xiàn)新的npc,不過沒測(cè)試過,我是把出現(xiàn)位置放到禪達(dá)酒館,
其他檔案都不用管,除非你想製作個(gè)別的加入劇情
經(jīng)過測(cè)試沒有問題
["jack","Jack","Jack", tf_hero, scn_the_happy_boar|entry(4),reserved, fac_commoners,[itm_pilgrim_disguise,itm_hide_boots,itm_knife,itm_tutorial_throwing_daggers,itm_pilgrim_hood],str_12|agi_30|int_6|cha_3|level(28),wp(50)|wp_throwing(240),knows_spotting_8|knows_pathfinding_8|knows_athletics_10|knows_power_throw_6|knows_tracking_8,0x00000000000c200401e7b86b3bb0d063],
["sandra","Sandra","Sandra",tf_female|tf_hero, scn_the_happy_boar|entry(6), reserved, fac_commoners,[itm_brigandine_a,itm_double_axe,itm_polehammer,itm_steel_shield,itm_wrapping_boots],str_30|agi_3|int_6|cha_12|level(28),wp(50)|wp_two_handed(250),knows_ironflesh_7|knows_power_strike_7|knows_shield_4|knows_trainer_5|knows_weapon_master_10,0x000000000008300101d8ad93708e4694],
提供我的範(fàn)例給你們?cè)?貼上之後應(yīng)該就是
["borcha","Borcha","Borcha",tf_hero, 0, reserved, fac_commoners,[itm_plate_armor,itm_iron_greaves,itm_scale_gauntlets,itm_knife,itm_magyar_helmet_a,itm_wooden_stick,itm_tutorial_sword],str_6|agi_6|int_30|cha_30|level(28),wp(50),knows_pathfinding_2|knows_tactics_8|knows_trainer_9|knows_spotting_2,0x000000000010918a01f248377289467d],
["marnid","Marnid","Marnid", tf_hero, 0,reserved, fac_commoners,[itm_mail_with_surcoat,itm_hide_boots,itm_short_sword,itm_turret_hat_green,itm_flintlock_pistol],str_3|agi_12|int_26|cha_3|level(28),wp(50)|wp_firearm(200),knows_trade_10|knows_inventory_management_5|knows_engineer_10,0x00000000000c600301c2510211a5b292],
["ymira","Ymira","Ymira",tf_female|tf_hero, 0, reserved, fac_commoners,[itm_court_dress,itm_morningstar],def_attrib|level(28),wp(90),knows_wound_treatment_8|knows_first_aid_7|knows_surgery_7,0x000000000000000201c152351bab4558],
["rolf","Rolf","Rolf",tf_hero, 0, reserved, fac_commoners,[itm_leather_jerkin,itm_nomad_boots, itm_sword],def_attrib|level(1),wp(20),knows_common,0x00000000000c840001f8c0a4ab8ad50a],
["jack","Jack","Jack", tf_hero, scn_the_happy_boar|entry(4),reserved, fac_commoners,[itm_pilgrim_disguise,itm_hide_boots,itm_knife,itm_tutorial_throwing_daggers,itm_pilgrim_hood],str_12|agi_30|int_6|cha_3|level(28),wp(50)|wp_throwing(240),knows_spotting_8|knows_pathfinding_8|knows_athletics_10|knows_power_throw_6|knows_tracking_8,0x00000000000c200401e7b86b3bb0d063],
["sandra","Sandra","Sandra",tf_female|tf_hero, scn_the_happy_boar|entry(6), reserved, fac_commoners,[itm_brigandine_a,itm_double_axe,itm_polehammer,itm_steel_shield,itm_wrapping_boots],str_30|agi_3|int_6|cha_12|level(28),wp(50)|wp_two_handed(250),knows_ironflesh_7|knows_power_strike_7|knows_shield_4|knows_trainer_5|knows_weapon_master_10,0x000000000008300101d8ad93708e4694],
或許不算什麼大發(fā)現(xiàn),可能許多高手都會(huì),不過我研究了許久,而且論壇沒有0.894的教學(xué),
就在此獻(xiàn)醜了,還有可以製作對(duì)話的加入方法,已經(jīng)可以成功加入了,不過我還沒完全搞清楚指令
下次在發(fā),或是有高手可以指點(diǎn)一二,附上成功的加入對(duì)話代碼
[trp_jack,"start",[(is_between, "$g_talk_troop", companions_begin, companions_end),
(troop_slot_eq, "$g_talk_troop", slot_troop_occupation, 0)],
"jack talk 1", "jack_introduce_1",[]],
[trp_jack|plyr,"jack_introduce_1",[],"jack talk 2", "jack_introduce_2",[]],
[trp_jack,"jack_introduce_2",[],"jack talk 3","jack_introduce_3",[]],
[trp_jack|plyr,"jack_introduce_3", [], "jack talk 5", "jack_introduce_4",[]],
[trp_jack,"jack_introduce_4", [], "jack talk 6", "jack_introduce_4",[]],
[trp_jack|plyr,"jack_introduce_4", [], "jack talk 7", "jack_introduce_5",[]],
[trp_jack,"jack_introduce_5", [], "jack talk 8", "close_window",
[(call_script, "script_recruit_troop_as_companion", "$g_talk_troop")]],
[trp_jack|plyr,"jack_introduce_3", [], "jack talk 4", "close_window",[]],
相關(guān)閱讀
- 騎馬與砍殺戰(zhàn)團(tuán) 新神器——hafted blade
- 騎馬與砍殺戰(zhàn)團(tuán) 修改俘虜價(jià)格,使之按等級(jí)計(jì)算
- 騎馬與砍殺 淺談技能加點(diǎn)和npc養(yǎng)成 for1.011
- 騎馬與砍殺:戰(zhàn)團(tuán) 人物起始選項(xiàng)分析+我的人物早期配點(diǎn)
- 騎馬與砍殺:戰(zhàn)團(tuán) 精兵奪城辦法
- 騎馬與砍殺:戰(zhàn)團(tuán) 處理錯(cuò)誤貼圖辦法
- 騎馬與砍殺:戰(zhàn)團(tuán) 教你如何取得提哈(杰爾喀拉)寶箱
- 騎馬與砍殺:戰(zhàn)團(tuán) 秘籍:作弊模式指令
- 騎馬與砍殺 打仗的那些事
- 騎馬與砍殺:戰(zhàn)團(tuán) 全傷害高ai不作弊,統(tǒng)一大陸
更多資訊
- 騎馬與砍殺戰(zhàn)團(tuán) 新神器——hafted blade
- 騎馬與砍殺戰(zhàn)團(tuán) 修改俘虜價(jià)格,使之按等級(jí)計(jì)算
- 騎馬與砍殺 淺談技能加點(diǎn)和npc養(yǎng)成 for1.011
- 鬼泣4 連削,連踩,手部按鍵視頻教程
- 波斯王子4重生 最強(qiáng)連擊招式——14連!
- 鬼泣4 4miacis的1~3部連技段子
- 鬼泣4 xbox360、ps3雙版本游戲畫質(zhì)對(duì)比視頻
- 泰坦之旅 使職業(yè)各難度開荒指南
- 幽靈行動(dòng)之次世代戰(zhàn)士2 我打graw2的體會(huì)
- 幽靈行動(dòng)之尖峰戰(zhàn)士 心得點(diǎn)滴
- 泰坦之旅 征服者開荒心得:純粹的戰(zhàn)士
- 幽靈行動(dòng)之次世代戰(zhàn)士2 中對(duì)隊(duì)友控制的一點(diǎn)心得
- 英雄傳說6空之軌跡3rd 最終武器提升數(shù)值及最終特殊道具表
- 星際爭(zhēng)霸2 shift鍵功能操作
- 幽靈行動(dòng)之尖峰戰(zhàn)士 通關(guān)心得
- 英雄傳說6空之軌跡3rd 天使羊阻擊指南 快速賺錢快速升級(jí)
- 星際爭(zhēng)霸2 微操:人族操作運(yùn)營(yíng)細(xì)節(jié)解析
- 鬼泣4 dmd片翼鬼步。ㄦI盤)
- 鬼泣4 pc試玩版的一些心得
- 帝國(guó)全面戰(zhàn)爭(zhēng) 戰(zhàn)報(bào)!菜鳥帝國(guó)處女戰(zhàn):普魯士的崛起
熱門文章
推薦游戲
換一換- 戰(zhàn)艦獵手下載安裝-戰(zhàn)艦獵手手機(jī)版下載v1.19.10下載安裝空中網(wǎng)
- 幕府之爭(zhēng)無(wú)限金幣版-幕府之爭(zhēng)內(nèi)購(gòu)破解版下載v1.7.4中文破解版
- 永恒徽章送1W元真充卡版-永恒徽章免費(fèi)充值版下載v1.0.5送萬(wàn)元真充版
- 口袋玩家安卓漢化版-table tennis touch中文版下載v3.2.0331.0游戲
- KPOP HOP游戲安卓版-KPOP HOP下載最新版v1.0.2022Kpop Tiles Hop
- 頂流女秘書游戲-頂流女秘書手游提供下載v1.0.7安卓版
- 像素人戰(zhàn)斗游戲-像素人戰(zhàn)斗競(jìng)技場(chǎng)提供下載v2.55最新版
- 進(jìn)化點(diǎn)擊器無(wú)限寶石版-進(jìn)化點(diǎn)擊器破解版無(wú)廣告版下載v1.6.0
- 蛋黃人射擊游戲-蛋黃人射擊下載中文版v0.3.1.6安卓版
最新文章
- 人氣排行
- 1金庸群俠傳3全攻略
- 2PSP《第二次機(jī)戰(zhàn)Z再世篇》一周目超級(jí)系主力通關(guān)心得攻略
- 3熱游精選37《戰(zhàn)神覺醒》最新版本:仙界降臨
- 4PSP《第二次機(jī)戰(zhàn)Z再世篇》取得SR全路線條件
- 5帝國(guó)時(shí)代之羅馬復(fù)興秘籍大全
- 6戰(zhàn)艦世界配件如何選擇_戰(zhàn)艦世界戰(zhàn)艦配件的分析選擇與推薦
- 73DS《新超級(jí)馬里奧兄弟2》全隱藏關(guān)卡解除攻略
- 83DS《火焰紋章:覺醒》L難度傳統(tǒng)模式二周目通關(guān)流程攻略
- 93DS《勇者斗惡龍怪獸篇:特瑞仙境》獲得最終BOSS魔戰(zhàn)神的配合圖文詳細(xì)攻略
- 103DS《火焰紋章覺醒》結(jié)婚系統(tǒng)攻略