I'll dig in there and see if I can't teach myself to fish then. Thanks for the links.kalarhan said:the modding Q&A thread has a few tutorials on how to find mechanics in the game source,
I'll dig in there and see if I can't teach myself to fish then. Thanks for the links.kalarhan said:the modding Q&A thread has a few tutorials on how to find mechanics in the game source,
the script that handles rewards :Zephiris said:1. Is there a complete list of all possible "special prizes" for the tournaments anywhere?
2. What are the definitive requirements for the tournament prizes?
(
"town_tournament_won",mnf_disable_all_keys,
"You have won the tournament of {s3}! You are filled with pride as the crowd cheers your name. " +
"In addition to honour, fame and glory, you earn a prize of {reg9} peningas. {s8}",
"none",
[ (set_background_mesh, "mesh_pic_victory"), #pic book
## (try_begin),
## (set_fixed_point_multiplier, 100),
## (position_set_x, pos0, 70),
## (position_set_y, pos0, 30),
## (position_set_z, pos0, 75),
## (set_game_menu_tableau_mesh, "tableau_troop_note_mesh", "trp_player", pos0),
## (try_end),
(str_store_party_name, s3, "$current_town"),
(troop_get_slot, ":player_renown", "trp_player", slot_troop_renown),
(try_begin),
(lt, ":player_renown", 200),
(call_script, "script_change_troop_renown", "trp_player", 10),
(else_try),
(store_mul, ":boost", 200, 10),
(val_div, ":boost", ":player_renown"),
(call_script, "script_change_troop_renown", "trp_player", ":boost"),
(try_end),
(store_random_in_range, ":rand", 0, 20),
(try_begin),
(eq, ":rand", 0),
(troop_add_item, "trp_player", "itm_common_horse", 0), #chief da objeto al ganar torneo
(display_message, "@An expensive horse is awarded to you for your victory.", 0xFF0000),
(else_try),
(eq, ":rand", 1),
(troop_add_item, "trp_player", "itm_cow1", 0), #chief da objeto al ganar torneo
(display_message, "@A fat cow is awarded to you for your victory.", 0xFF0000),
(else_try),
(eq, ":rand", 2),
(troop_add_item, "trp_player", "itm_byrnie34", 0), #chief da objeto al ganar torneo
(display_message, "@You are given a beautiful shirt of mail adorned with a pelt, as befits a mighty warlord.", 0xFF0000),
(else_try),
(eq, ":rand", 3),
(troop_add_item, "trp_player", "itm_noble_sword", 0), #chief da objeto al ganar torneo
(display_message, "@They give you a fine sword, worthy of a noble.", 0xFF0000),
(else_try),
(display_message, "@They appreciate your participation in the competition and place a wreath of laurel on your head.", 0xFF0000),
(try_end),
(try_begin),
(party_get_slot, ":center_relation", "$current_town", slot_center_player_relation),
(lt, ":center_relation", 30),
(call_script, "script_change_player_relation_with_center", "$current_town", 6),
(try_end),
(assign, reg9, 200),
(add_xp_to_troop, 250, "trp_player"),
(troop_add_gold, "trp_player", reg9),
(str_clear, s8),
(store_add, ":total_win", "$g_tournament_bet_placed", "$g_tournament_bet_win_amount"),
(try_begin),
(gt, "$g_tournament_bet_win_amount", 0),
(assign, reg8, ":total_win"),
(str_store_string, s8, "@Moreover, you earn {reg8} peningas from the clever bets you placed on yourself..."),
(try_end),
(try_begin),
(this_or_next|neq, "$players_kingdom", "$g_encountered_party_faction"),
(neg|troop_slot_ge, "trp_player", slot_troop_renown, 70),
(neg|troop_slot_ge, "trp_player", slot_troop_renown, 145),
(faction_slot_eq, "$g_encountered_party_faction", slot_faction_ai_state, sfai_feast),
(faction_slot_eq, "$g_encountered_party_faction", slot_faction_ai_object, "$g_encountered_party"),
(str_store_string, s8, "str_s8_you_are_also_invited_to_attend_the_ongoing_feast_in_the_castle"),
(try_end),
(troop_add_gold, "trp_player", ":total_win"),
(assign, ":player_odds_sub", 0),
(store_div, ":player_odds_sub", "$g_tournament_bet_win_amount", 5),
(party_get_slot, ":player_odds", "$current_town", slot_town_player_odds),
(val_sub, ":player_odds", ":player_odds_sub"),
(val_max, ":player_odds", 250),
(party_set_slot, "$current_town", slot_town_player_odds, ":player_odds"),
(call_script, "script_play_victorious_sound"),
(unlock_achievement, ACHIEVEMENT_MEDIEVAL_TIMES),
],
[
("continue", [], "Continue...",
[(jump_to_menu, "mnu_town"),
]),
]
),
BondBroker said:Tar. Any suggestions where can I find it?
Thank you sir, I found Tar in Tunsburg.kalarhan said:BondBroker said:Tar. Any suggestions where can I find it?
you can find tar in centers, from caravans (buy/loot) or create a enterprise that produces it
Norway is usually a good place to look for it
kalarhan said:BondBroker said:Tar. Any suggestions where can I find it?
you can find tar in centers, from caravans (buy/loot) or create a enterprise that produces it
Norway is usually a good place to look for it
BondBroker said:Pony and Horse as Horse species
Zephiris said:Modding Couched Lance onto a polearm in VC?
Zephiris said:Modding Couched Lance onto a polearm in VC?
Is it possible? and where should I look for how to do it, for let's say, Ray?
Templar_Maluxul said:This is quite easy to do with Morgh's Tools.
kalarhan said:Jeyko said:Hello!
I started my own faction at Dubh Linn. Now the first Lord defected to my faction and his title was Hersir. He was debauched so i didnt take him. After that his title changed to Dryhten. So now i concluded that the title is linked to the kingdom. Can i change my kingdom from being viewed as norse? I want to go for the High King of Ireland quest and it would be annoying if my christian Lords with irish Armies would have norse titles.
Thank you in advance!
your faction follows your personal culture, which you choose when you create a new game (character). Old games may be "norse" by default, new games will follow this rule.
edit this slot for your faction: slot_faction_culture
Short answer: not in game unless you tweak it or edit your save game
oorestis said:Could you clarify this please?kalarhan said:your faction follows your personal culture
("faction_to_cb7",[(store_script_param, ":faction", 1),
(faction_get_slot, ":culture", ":faction", slot_faction_culture),
(try_begin),
(eq, ":culture", "fac_culture_norse"),
(assign, reg0, cb7_norseman),
(else_try),
(eq, ":culture", "fac_culture_welsh"),
(assign, reg0, cb7_briton),
(else_try),
(eq, ":culture", "fac_culture_irish"),
(assign, reg0, cb7_irish),
(else_try),
(eq, ":culture", "fac_culture_scotch"),
(assign, reg0, cb7_scotopict),
(else_try),
(assign, reg0, cb7_anglesaxon),
(try_end),]),
#norse
("faction_title_male_player", "Konungr {s0}"),
("faction_title_male_1", "Jarl {s0}"),
("faction_title_male_2", "Hersir {s0}"),
#angle saxon
("faction_title_male_3", "Cyning {s0}"),
("faction_title_male_4", "Ealdorman {s0}"),
("faction_title_male_5", "Dryhten {s0}"),
#britons
("faction_title_male_6", "Ri {s0}"),
("faction_title_female_player", "Guledic {s0}"),
("faction_title_female_1", "Tiern {s0}"),
#irish and pictish
("faction_title_female_2", "Ruire {s0}"),
("faction_title_female_3", "Tiarna {s0}"),
("faction_title_female_4", "Mael {s0}"),
#other
("faction_title_female_5", "Dux {s0}"),
("faction_title_female_6", "Warlord {s0}"),
#fin cambios chief
erennuman_mb said:The Q&A Thread for Viking Conquest
-This thread is for questions related to the vanilla game.
ssilviu250 said:I've lost Bodo like 2 days ago,...Where do i find the companions that left?
Inara said:right to rule in Viking Conquest
CHenric said:tweaks for viking conquest