骑马与砍杀 怎么修改NPC对话,怎么创建对话?

2024-12-20 02:59:12
推荐回答(2个)
回答1:

魔球无法修改 在酒馆招募的NPC数量

但是可以再开新档前 增加NPC数量 但是这些NPC 没有 本来那些NPC的作用
只是个能加点能换装备不死的炮灰

具体方法是先去兵种里新建几个NPC 然后在部队模板里的第一个(这个是玩家的部队)里的成员把
刚才新建的NPC添加进去
这个里还可以添加已有的NPC 但是 添加后 酒馆里的就没用了
泡菜里的这样添加了貌似无法触发剧情

添加能在酒馆里出现的NPC
PY在在module_troops中添加
["ayanami","ayanami","ayanami",tf_hero|tf_unmoveable_in_party_window,
0, reserved, fac_commoners,[itm_robe, itm_leather_boots,
itm_sword_viking_2_small],str_4|agi_4|int_30|cha_4|level(50),wp(100),
knows_tracker_npc|knows_ironflesh_1|knows_athletics_1|knows_tactics_10|knows_engineer_10|knows_riding_3,0x00000003ff001388241f8dca2bc596d400000000001e36fa0000000000000000],

在module_scripts.py中添加
(troop_set_slot,
"trp_ayanami", slot_troop_morality_type, humanitarian), #ayanami

(troop_set_slot, "trp_ayanami", slot_troop_morality_value, 0),

(troop_set_slot, "trp_ayanami",
slot_troop_2ary_morality_type, tmt_honest),
(troop_set_slot,
"trp_ayanami", slot_troop_2ary_morality_value, 0),
(troop_set_slot,
"trp_ayanami", slot_troop_personalityclash_object, "trp_dranton"), #klethi

(troop_set_slot, "trp_ayanami", slot_troop_personalityclash2_object,
"trp_dranton"), #klethi - borcha
(troop_set_slot, "trp_ayanami",
slot_troop_personalitymatch_object, "trp_dranton"), #ayanami - player

(troop_set_slot, "trp_ayanami", slot_troop_home, -1), #Uslum

(troop_set_slot, "trp_ayanami", slot_troop_payment_request,
5000),
(troop_set_slot, "trp_ayanami", slot_troop_kingsupport_argument,
argument_lords),
(troop_set_slot, "trp_ayanami",
slot_troop_kingsupport_opponent, "trp_dranton"), #nizar
(troop_set_slot,
"trp_ayanami", slot_troop_town_with_contacts, -1), #khudan

(troop_set_slot, "trp_ayanami", slot_troop_original_faction, 0),
#
(troop_set_slot, "trp_ayanami", slot_lord_reputation_type,
lrep_upstanding), #

ayanam替换成你所制造NPC的兵种名称

在寻找(store_mul,
":string_addition", ":slot_addition",
16)把16改成添加后NPC的数量

然后双击build_module批处理文件开新档 NPC出现在酒馆

回答2:

创建新对话可能吗