Pardon doğru link bu
Last edited:
O kod oyunun içine kayıtlı yani değiştirmen çok zor ayrıca dostum o sana sıkıntı yaşatmazki sadece MODULE SYSTEMDE kayıtlıSelamlar acemice mod yapmaya başladım. module_troops'ta ki kralların isimlerini ve yüz kodlarını değiştirdim ayrıca yüz kodlarının hemen yanındaki rhodok_face_old_2 yazan kısmı da sildim. İsim çalıştı fakat yüz çalışmadı yardım edecek var mı yardım ederseniz memnuniyet duyarım...
rhodok_face_old_2'yi silersen çalışmaz zaten. Yaptığın yüzün kodunu oraya yazacaksın ki çalışsın.Selamlar acemice mod yapmaya başladım. module_troops'ta ki kralların isimlerini ve yüz kodlarını değiştirdim ayrıca yüz kodlarının hemen yanındaki rhodok_face_old_2 yazan kısmı da sildim. İsim çalıştı fakat yüz çalışmadı yardım edecek var mı yardım ederseniz memnuniyet duyarım...
Mission_templates kısmından yapılıyor bu işlem, istediğin kodun satırını bulup oradan kodu kaldırman lazım, meseal ölünce çıkan ses için Mission_templates'de ölme kısmını bul ve play_sound "snd_death(örn.)" bu satırı sil ses çıkmaz.Merhabalar,
Oyunda birtakım seslerin çalmamasını istiyorum, bunları module_sounds'dan sildim fakat hala oyunda çalıyorlar.Mesela öldüğümüzde çıkan sesi tamamen modülümden kaldırmak için ne yapmalıyım ?
Mount&Blade Warband/Sounds tan silmeyi dene istersenMerhabalar,
Oyunda birtakım seslerin çalmamasını istiyorum, bunları module_sounds'dan sildim fakat hala oyunda çalıyorlar.Mesela öldüğümüzde çıkan sesi tamamen modülümden kaldırmak için ne yapmalıyım ?
Kırmızı şey derkenArkadaşlar ben map editöre giriyorum şehir taşımaya basıyorum ama şehre bastığımda gözükmesi gereken kırmızı şey tulga ve halmar şehri arasında tekrar ediyor en son donanma ve devriye eklemiştim çözümü varmı
Çözümü bilmiyorum ama ctrl-e basıp oyun içinde koordinat bulabilirsin ve modül sistem varsa module_Parties ten koordinat değiştirebilirsinArkadaşlar ben map editöre giriyorum şehir taşımaya basıyorum ama şehre bastığımda gözükmesi gereken kırmızı şey tulga ve halmar şehri arasında tekrar ediyor en son donanma ve devriye eklemiştim çözümü varmı
Hallettim genede sağolÇözümü bilmiyorum ama ctrl-e basıp oyun içinde koordinat bulabilirsin ve modül sistem varsa module_Parties ten koordinat değiştirebilirsin
ranged_pull = (
ti_on_agent_hit, 0, 0, [(is_between, reg0, "itm_heavy_throwing_axes_melee", "itm_torch"),
# (item_get_type, ":is_bow", reg0),
# (eq, ":is_bow", itp_type_bow),
# (eq, reg0, "itm_short_bow"),
],
[ #(display_message, "@IP: Arrow shot."),
(store_trigger_param_1, ":target"),
(store_trigger_param_2, ":source"),
(get_player_agent_no, ":me"),
(str_store_agent_name, s0, ":target"),
(agent_is_alive, ":source"),
(agent_get_position, pos1, ":target"),
(agent_get_position, pos2, ":source"),
(get_distance_between_positions, ":dist", pos1, pos2),
(assign, reg1, ":dist"),
(position_move_x, pos2, 50),
(eq, ":source", ":me"),
(try_begin),
(le, ":dist", 200),
(str_store_string, s1, "@Too close to pull! Distance: {reg1}"),
(else_try),
(ge, ":dist", 1000),
(str_store_string, s1, "@Too far to pull! Distance: {reg1}"),
(else_try),
(neg|agent_is_human, ":target"),
(str_store_string, s1, "@You cannot pull an animal! Distance: {reg1}"),
(else_try),
(agent_get_horse, ":has_horse", ":target"),
(neq, ":has_horse", -1),
(str_store_string, s1, "@You cannot pull horsemen! Distance: {reg1}"),
(else_try),
(agent_is_alive, ":target"),
(agent_set_position, ":target", pos2),
(str_store_string, s1, "@Pulled {s0}. Distance: {reg1}"),
(try_end),
(display_message, "@{s1}"),
])
ranged_pull,
#Belendor - Every killing of a lord or king decreases your relationship with corresponding faction and person himself.
common_lord_trigger = (
ti_on_agent_killed_or_wounded, 0, 0, [],
[
(store_trigger_param_1, ":killed_agent"),
(store_trigger_param_2, ":killer_agent"),
(get_player_agent_no, ":player"),
(agent_is_active, ":killed_agent"),
(agent_is_active, ":killer_agent"),
(agent_is_alive, ":killer_agent"),
(agent_get_troop_id, ":killed_trp", ":killed_agent"),
(troop_is_hero, ":killed_trp"),
(eq, ":killer_agent", ":player"),
(store_random_in_range, ":lord_num", -5, -10),
(store_random_in_range, ":lord_fac_num", -2, -5),
(store_random_in_range, ":king_num", -3, -8),
(store_random_in_range, ":king_fac_num", -1, -3),
(try_begin),
(is_between, ":killed_trp", lords_begin, lords_end),
(assign, ":rep_to_dec", ":lord_num"),
(assign, ":fac_rep_to_dec", ":lord_fac_num"),
(else_try),
(is_between, ":killed_trp", kings_begin, kings_end),
(assign, ":rep_to_dec", ":king_num"),
(assign, ":fac_rep_to_dec", ":king_fac_num"),
(try_end),
(call_script, "script_change_player_relation_with_troop", ":killed_trp", ":fac_rep_to_dec"),
(store_troop_faction, ":killed_trp_fac", ":killed_trp"),
(call_script, "script_change_player_relation_with_faction_ex", ":killed_trp_fac", ":rep_to_dec"),
])
bleeding_0 = (
ti_on_agent_spawn, 0, 0, [],
[ (store_trigger_param_1, "$un_agent"),
(agent_set_slot, "$un_agent" ,slot_agent_bleeding, -1),
])
bleeding_1 = (
ti_on_agent_hit, 0, 0, [(agent_slot_eq, "$un_agent", slot_agent_bleeding, -1),],
[ (store_trigger_param_1, ":receiver"),
(store_trigger_param_2, ":dealer"),
(store_trigger_param_3, ":damage"),
(ge, ":damage", 25),
(str_clear, s1),
(assign, reg1, ":damage"),
(agent_get_player_id, ":player", ":receiver"),
(agent_is_alive, ":receiver"),
(agent_is_human, ":receiver"),
(agent_is_active, ":receiver"),
(player_is_active, ":player"),
(str_store_player_username, s1, ":player"),
(display_message, "@{s1} is now bleeding, amount of {reg1} damage inflicted!", 0xFF6AAA89),
(agent_set_slot, "$un_agent" ,slot_agent_bleeding, 1),
#(assign, ":receiver", "$un_agent"),
])
bleeding = (
5, 0, 0, [(agent_slot_eq, "$un_agent", slot_agent_bleeding, 1),],
[
(store_random_in_range, ":bleed_dmg", 4, 8),
(agent_is_alive, "$un_agent"),
(store_agent_hit_points, ":un_hp", "$un_agent"),
(val_sub, ":un_hp", ":bleed_dmg"),
(agent_set_hit_points, "$un_agent", ":un_hp"),
])
damage_value = (
ti_on_agent_hit, 0, 0, [],
[ (store_trigger_param_1, ":receiver"),
(store_trigger_param_2, ":dealer"),
(store_trigger_param_3, ":damage"),
(assign, reg19, ":damage"),
(get_player_agent_no, ":player"),
(try_begin),
(eq, ":dealer", ":player"),
(display_message, "@Delivered {reg19} damage.", 0xFFAAFFAA),
(else_try),
(eq, ":receiver", ":player"),
(display_message, "@Received {reg19} damage.", 0xFF7A4800),
(try_end),
])
("meet_with_guild_master",
[
(party_slot_eq,"$current_town",slot_party_type, spt_town),
],
"Meet with the Guild Master.",
[
(try_begin),
(call_script, "script_cf_enter_center_location_bandit_check"),
(else_try),
(party_get_slot, ":conversation_troop", "$current_town", slot_town_elder),
(call_script, "script_setup_troop_meeting", ":conversation_troop", -1),
(try_end),
]),
slot_town_tavernkeeper = Barmen.
slot_town_weaponsmith = Silah satıcısı.
slot_town_armorer = Zırh satıcısı.
slot_town_merchant = Hmm, esnaf da olabilir ya da ilk görevlerdeki quest troopları da. Test edin.
slot_town_horse_merchant= At tüccarı.
slot_town_elder = Lonca Başkanı. (Varsayılan)
(party_get_slot, ":conversation_troop", "$current_town", slot_town_elder),
(party_get_slot, ":conversation_troop", "$current_town", slot_town_merchant),
("istilacı","İstilacılar",icon_khergit|carries_goods(2)|pf_show_faction,0,fac_outlaws,bandit_personality,[(trp_swadian_knight,10,32),]),
[(trp_swadian_knight,10,32),]),
[(trp_swadian_knight,10,32),(trp_swadian_infantry,5,15)]),
# Refresh Merchants
(0.0, 0, 168.0, [],
[
(call_script, "script_refresh_center_inventories"),
]),
(8765,0,ti_once,[],[
(set_spawn_radius, 4),
(try_for_range, ":i", 0, 251),
(spawn_around_party, "p_town_1", "pt_invaders"),
(val_add, ":i", 1), #bunu ekleyin ki, karşınıza "unused local variable" hatası çıkmasın gereksiz yere
(try_end),
]),
[(ti_on_init_item,[(set_position_delta,0,60,0),(particle_system_add_new,"psys_torch_fire"),(particle_system_add_new,"psys_torch_smoke"),(set_current_color,150,130,70),(add_point_light,10,30),])]
# Refresh Weapon sellers
(0.0, 0, 168.0, [],
[
(call_script, "script_refresh_center_weaponsmiths"),
]),
(set_relation, "fac_factionidsinikoyburaya", "fac_biröncekifactionundüşmanolmasınıistediğinfactionunidsideburayakoy", -1),
"none",
[
],
[
("camp_recruit_bandits",
[(troops_can_join, 1),
(store_current_hours, ":cur_time"),
(val_sub, ":cur_time", 24),
(gt, ":cur_time", "$g_bandit_recruit_last_time"),
(try_begin),
(gt, "$g_bandit_recruit_last_time", 0),
(assign, "$g_bandit_recruit_last_time", 0),
(try_end),
], "Some bandits show themselves in order to be recruited.",
[(jump_to_menu, "mnu_camp_recruit_bandits_2"),
],
),
"You have no prisoners to recruit from.",
"none",
[],
[
("continue",[],"Continue...",
[(jump_to_menu, "mnu_camp"),
]
),
]
),
(
"camp_recruit_bandits_2",0,
"{s18}",
"none",
[(store_random_in_range, ":volunteer_amount", 5,16),
(assign,reg8,":volunteer_amount"),
(party_get_free_companions_capacity, ":free_capacity", "p_main_party"),
(store_troop_gold, ":gold", "trp_player"),
(store_div, ":gold_capacity", ":gold", 10),#10 denars per man
(assign, ":party_capacity", ":free_capacity"),
(val_min, ":party_capacity", ":gold_capacity"),
(try_begin),
(gt, ":party_capacity", 0),
(val_min, ":volunteer_amount", ":party_capacity"),
(try_end),
(assign, reg5, ":volunteer_amount"),
(assign, reg7, 0),
(try_begin),
(gt, ":volunteer_amount", ":gold_capacity"),
(assign, reg7, 1), #not enough money
(try_end),
(try_begin),
(eq, ":volunteer_amount", 0),
(str_store_string, s18, "@No one here seems to be willing to join your party."),
(else_try),
(store_random_in_range, ":final_gold_per_bandit",8,13),
(store_mul, reg6, ":volunteer_amount", ":final_gold_per_bandit"),#8 to 12 denars per man, calculated for the whole group
(str_store_troop_name_by_count, s3, "trp_bandit", ":volunteer_amount"),
(try_begin),
(eq, reg5, 1),
(str_store_string, s18, "@One {s3} volunteers to follow you."),
(else_try),
(str_store_string, s18, "@{reg5} {s3} volunteer to follow you."),
(try_end),
(set_background_mesh, "mesh_pic_recruits"),
(try_end),
],
[
("continue_not_enough_gold",
[
(eq, reg7, 1),
],
"I don't have enough money...",
[
(jump_to_menu,"mnu_camp_action"),
]),
("continue",
[
(eq, reg7, 0),
(eq, reg5, 0),
], #noone willing to join
"Continue...",
[
(jump_to_menu,"mnu_camp_action"),
]),
("recruit_them",
[
(eq, reg7, 0),
(gt, reg5, 0),
],
"Recruit them ({reg6} denars).",
[
(party_add_members, "p_main_party", "trp_bandit", reg8),
(troop_remove_gold, "trp_player", reg6),
(store_current_hours, "$g_bandit_recruit_last_time"),
(jump_to_menu,"mnu_camp_action"),
]),
("forget_it",
[
(eq, reg7, 0),
(gt, reg5, 0),
],
"Forget it.",
[
(jump_to_menu,"mnu_camp_action"),
]),
],
),
#main menu (initial)
initial_tutorial_button_position_x = 0.05
initial_tutorial_button_position_y = 0.48
initial_tutorial_button_size_x = 0.185
initial_tutorial_button_size_y = 0.031
initial_tutorial_button_text_size_x = 0.022
initial_tutorial_button_text_size_y = 0.030
initial_tutorial_button_text_flags = 0x10
initial_tutorial_button_text_color = 0xFF110000
initial_tutorial_button_highlight_text_color = 0xFFFFDD00
initial_start_new_game_button_position_x = 0.05
initial_start_new_game_button_position_y = 0.44
initial_start_new_game_button_size_x = 0.185
initial_start_new_game_button_size_y = 0.031
initial_start_new_game_button_text_size_x = 0.022
initial_start_new_game_button_text_size_y = 0.030
initial_start_new_game_button_text_flags = 0x10
initial_start_new_game_button_text_color = 0xFF110000
initial_start_new_game_button_highlight_text_color = 0xFFFFDD00
initial_resume_game_button_position_x = 0.05
initial_resume_game_button_position_y = 0.40
initial_resume_game_button_size_x = 0.185
initial_resume_game_button_size_y = 0.031
initial_resume_game_button_text_size_x = 0.022
initial_resume_game_button_text_size_y = 0.030
initial_resume_game_button_text_flags = 0x10
initial_resume_game_button_text_color = 0xFF110000
initial_resume_game_button_highlight_text_color = 0xFFFFDD00
initial_multiplayer_button_position_x = 0.05
initial_multiplayer_button_position_y = 0.36
initial_multiplayer_button_size_x = 0.185
initial_multiplayer_button_size_y = 0.031
initial_multiplayer_button_text_size_x = 0.022
initial_multiplayer_button_text_size_y = 0.030
initial_multiplayer_button_text_flags = 0x10
initial_multiplayer_button_text_color = 0xFF110000
initial_multiplayer_button_highlight_text_color = 0xFFFFDD00
initial_custom_battle_button_position_x = 0.05
initial_custom_battle_button_position_y = 0.32
initial_custom_battle_button_size_x = 0.185
initial_custom_battle_button_size_y = 0.031
initial_custom_battle_button_text_size_x = 0.022
initial_custom_battle_button_text_size_y = 0.030
initial_custom_battle_button_text_flags = 0x10
initial_custom_battle_button_text_color = 0xFF110000
initial_custom_battle_button_highlight_text_color = 0xFFFFDD00
initial_options_button_position_x = 0.05
initial_options_button_position_y = 0.28
initial_options_button_size_x = 0.185
initial_options_button_size_y = 0.031
initial_options_button_text_size_x = 0.022
initial_options_button_text_size_y = 0.030
initial_options_button_text_flags = 0x10
initial_options_button_text_color = 0xFF110000
initial_options_button_highlight_text_color = 0xFFFFDD00
initial_credits_button_position_x = 0.05
initial_credits_button_position_y = 0.24
initial_credits_button_size_x = 0.185
initial_credits_button_size_y = 0.031
initial_credits_button_text_size_x = 0.022
initial_credits_button_text_size_y = 0.030
initial_credits_button_text_flags = 0x10
initial_credits_button_text_color = 0xFF110000
initial_credits_button_highlight_text_color = 0xFFFFDD00
initial_quit_button_position_x = 0.05
initial_quit_button_position_y = 0.20
initial_quit_button_size_x = 0.185
initial_quit_button_size_y = 0.025
initial_quit_button_text_size_x = 0.022
initial_quit_button_text_size_y = 0.030
initial_quit_button_text_flags = 0x10
initial_quit_button_text_color = 0xFF110000
initial_quit_button_highlight_text_color = 0xFFFFDD00
initial_game_logo_position_x = 0.045
initial_game_logo_position_y = 0.54
initial_game_logo_size_x = 0.2
initial_game_logo_size_y = 0.07
initial_version_info_position_x = 0.18
initial_version_info_position_y = 0.525
initial_version_info_text_size_x = 0.016
initial_version_info_text_size_y = 0.016
initial_version_info_text_flags = 0x200
initial_version_info_text_color = 0xFF110000
initial_version_info_highlight_text_color = 0xFFFFDD00