Custom culture.

Users who are viewing this thread

Bafragarth

Sergeant
How can i add a custom culture for the custom troops for the version 1.011 BoW? I'd like it if my lords used my troops.
 
Can somebody help?

Argh..

I tried Editing this python file my self.

Code:
  ("change_culture",0,
   "Choose a culture:",
   "none",
   [],
    [
    ("swadia",
    [],"Swadian culture",
    [
	  (faction_set_slot, "fac_player_supporters_faction", slot_faction_culture, "fac_kingdom_p"),
          (try_for_range,":lord","trp_reserved_knight_1","trp_kingdom_1_pretender"),
            (troop_slot_eq, ":lord", slot_troop_occupation, slto_kingdom_hero),
            (troop_set_slot, ":lord", slot_troop_original_faction,"fac_kingdom_p"),
          (try_end),
          (jump_to_menu, "mnu_own_kingdom"),
    ]),
    ("vaegir",
    [],"Vaegir culture",
    [
	  (faction_set_slot, "fac_player_supporters_faction", slot_faction_culture, "fac_kingdom_2"),
          (try_for_range,":lord","trp_reserved_knight_1","trp_kingdom_1_pretender"),
            (troop_slot_eq, ":lord", slot_troop_occupation, slto_kingdom_hero),
            (troop_set_slot, ":lord", slot_troop_original_faction,"fac_kingdom_2"),
          (try_end),
          (jump_to_menu, "mnu_own_kingdom"),

    ]),
    ("kherdit",
    [],"Khergit culture",
    [
	  (faction_set_slot, "fac_player_supporters_faction", slot_faction_culture, "fac_kingdom_3"),
          (try_for_range,":lord","trp_reserved_knight_1","trp_kingdom_1_pretender"),
            (troop_slot_eq, ":lord", slot_troop_occupation, slto_kingdom_hero),
            (troop_set_slot, ":lord", slot_troop_original_faction,"fac_kingdom_3"),
          (try_end),
          (jump_to_menu, "mnu_own_kingdom"),

    ]),
    ("rhodok",
    [],"Rhodok culture",
    [
	  (faction_set_slot, "fac_player_supporters_faction", slot_faction_culture, "fac_kingdom_4"),
          (try_for_range,":lord","trp_reserved_knight_1","trp_kingdom_1_pretender"),
            (troop_slot_eq, ":lord", slot_troop_occupation, slto_kingdom_hero),
            (troop_set_slot, ":lord", slot_troop_original_faction,"fac_kingdom_4"),
          (try_end),
          (jump_to_menu, "mnu_own_kingdom"),

    ]),
    ("nord",
    [],"Nords culture",
    [
	  (faction_set_slot, "fac_player_supporters_faction", slot_faction_culture, "fac_kingdom_5"),
          (try_for_range,":lord","trp_reserved_knight_1","trp_kingdom_1_pretender"),
            (troop_slot_eq, ":lord", slot_troop_occupation, slto_kingdom_hero),
            (troop_set_slot, ":lord", slot_troop_original_faction,"fac_kingdom_5"),
          (try_end),
          (jump_to_menu, "mnu_own_kingdom"),

    ]),
    ("custom",
    [],"Custom culture",
    [
	  (faction_set_slot, "fac_player_supporters_faction", slot_faction_culture, "fac_kingdom_p"),
          (try_for_range,":lord","trp_reserved_knight_1","trp_kingdom_1_pretender"),
            (troop_slot_eq, ":lord", slot_troop_occupation, slto_kingdom_hero),
            (troop_set_slot, ":lord", slot_troop_original_faction,"fac_kingdom_p"),
          (try_end),
          (jump_to_menu, "mnu_own_kingdom"),
    ]),
    ]),

And i get this error when i change the culture to custom while lords are spawned and they won't hire custom troops.

mb2.jpg


And if the culture is set to custom before they can spawn they won't.

I never used python before and i never found any tutorial to help with editing kingdom management.
 
Back
Top Bottom