Cultures

Users who are viewing this thread

Status
Not open for further replies.
You must use python, otherwise it's too complicated, so first, copy culture 5, and change the 5s to 6s :

Code:
  ("culture_5",  "culture_5", 0, 0.9, [], []),
  ("culture_6",  "culture_6", 0, 0.9, [], []),

then add your new faction to the bottom of the faction list so it uses the culture 6 :

  ("kingdom_5",  "The Independent Mercenaries",  0, 0.9, [("outlaws",-0.05),("peasant_rebels", -0.1),("deserters", -0.02),("mountain_bandits", -0.05),("forest_bandits", -0.05,("kingdom_6",-100))], [], 0xB22222),
  ("kingdom_6",  "Bandits of the Black Heart", 0, 0.9, [("outlaws",-0.05),("peasant_rebels", -0.1),("deserters", -0.02),("mountain_bandits", -0.05),("forest_bandits", -0.05),("player_faction",-100),("kingdom_1",-100),("kingdom_2",-100),("kingdom_3",-100),("kingdom_4",-100),("kingdom_5",-100)], [], 0x000000),

In my case, I added kingdom 6, under kingdom 5, which in my case is the independent mercenaries, but in an original python code it will be the rhodoks I think.

Then you can change the name in blue, the faction relation in green and the faction's color in red.

Edit : I just noticed I did something wrong with my faction 6, the faction relations are not how they should be. It works in game but the defaults arent like this so you shouldn't use mine in exemple, you should just copy kingdom 5 and edit it...
 
on the faction list there kingdom_1, kingdom_2 etc, well kingdom_1 goes with culture_1, so um, what do you mean by change the culture?
 
No, in module_scripts.py, there's a part where you assign the cultures.

Here it is:

   
Code:
 (faction_set_slot, "fac_kingdom_1",  slot_faction_culture, "fac_culture_1"),
      (faction_set_slot, "fac_kingdom_1",  slot_faction_leader, "trp_kingdom_1_lord"),

      (faction_set_slot, "fac_kingdom_2",  slot_faction_culture, "fac_culture_2"),
      (faction_set_slot, "fac_kingdom_2",  slot_faction_leader, "trp_kingdom_2_lord"),

      (faction_set_slot, "fac_kingdom_3",  slot_faction_culture, "fac_culture_3"),
      (faction_set_slot, "fac_kingdom_3",  slot_faction_leader, "trp_kingdom_3_lord"),

      (faction_set_slot, "fac_kingdom_4",  slot_faction_culture, "fac_culture_4"),
      (faction_set_slot, "fac_kingdom_4",  slot_faction_leader, "trp_kingdom_4_lord"),

      (faction_set_slot, "fac_kingdom_5",  slot_faction_culture, "fac_culture_5"),
      (faction_set_slot, "fac_kingdom_5",  slot_faction_leader, "trp_kingdom_5_lord"),
	  #HSE
      (faction_set_slot, "fac_kingdom_6",  slot_faction_culture, "fac_culture_6"),
      (faction_set_slot, "fac_kingdom_6",  slot_faction_leader, "trp_player"),

I think you could work with that. No need for me to explain, right?
 
Status
Not open for further replies.
Back
Top Bottom