《骑马与砍杀》增加NPC方法 0.894版本
骑马与砍杀从制作之初到当代都处于不断的完善之中,战团的到来更是一座里程碑,届时游戏的内容将更加丰富多彩,游戏的受众也将面向更宽大的玩家,而制作团队与玩家互动的诚恳态度与高度的积极性也决定了骑砍必将在给玩家带来精彩体验的同时获得必要的反馈信息,从而与玩家一道将游戏越做越精良,共同打造出一款完美、唯一的骑砍
转中国VS韩国《骑马与砍杀》竞技赛视频
研究了一整天先說說最簡單的方法
前提是要有module system
打開module_troops.py
搜尋馬德尼marnid
會找到以下文字(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的方式來處理增加npc,我搞不太懂,不過要增加新npc是很簡單的,只要複製上面任何一個人,
貼到下方,把前三個名字改掉,例如:"rolf","Rolf","Rolf"改成"jack","Jack","Jack"
應該會隨機在酒店出現新的npc,不過沒測試過,我是把出現位置放到禪達酒館,
其他檔案都不用管,除非你想製作個別的增加劇情
經過測試沒有問題
["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],
提供我的範例給你們試,貼上之後應該就是
["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],
或許不算什麼大發現,可能許多高手都會,不過我研究了許久,而且論壇沒有0.894的教學,
就在此獻醜了,還有可以製作對話的增加方法,已經可以乐成增加了,不過我還沒完全搞清楚指令
下次在發,或是有高手可以指點一二,附上乐成的增加對話代碼
[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",[]],
救俘虏 21、女性角色与丈夫互动 22、男生角色与老婆互动 23、决斗有后续影响 24、针对妇女的评价 25、领主们对有争议政策的评论 26、战斗中的士气系统 27、通过密谋解救俘虏 28、通过付赎金解救俘虏 29、丈夫离开势力会造成后果 30、王国英雄AI一览表 31、结婚过场画面 32、家族与一个领主的关系会影响和其他领主的关系 33、玩家可以给其君主提建议等等。
ing值20,中国队员ping值50-200不等的优势下,基本情况却是一面倒。经过一番比力后,韩国队尝试的防守战术、小队配合皆尽失败,最后一局采取集中力量中路强行突破,才勉强打成靠近平手局面...最终成绩为:上半场8:0下半场7:0中国队完胜骑马与砍杀。中国队在此次比赛当中的个人技术相当突出,相互配合松紧有致,整体表现相当不错。 比赛片段
相关文章
更多+热门搜索
手游排行榜
- 最新排行
- 最热排行
- 评分最高
-
主机游戏 大小:1G
-
其他游戏 大小:1.65MB
-
休闲益智 大小:100M
-
角色扮演 大小:1,369.03MB
-
应用软件 大小:3.51mb
-
应用软件 大小:25.79MB
-
赛车竞速 大小:131.97 MB
-
动作塔防 大小:44MB
-
模拟经营 大小:80 MB
-
冒险解谜 大小:231M