-
June 04, 2016, 05:21 AM
#1
Laetus
Adding a new playable faction.
For some reason, I just can't get this to work. I thought I'd modified all the relevant startpos/factions tables but no matter what, the "new campaign" screen still just shows the original five factions, and never my new sixth. What am I missing?
-
June 04, 2016, 09:55 AM
#2
Laetus
Re: Adding a new playable faction.
Of all the many tables i've worked on, these are the ones that seem to deal with opening a sixth faction:
factions
faction_groups
groupings_military
faction_to_faction_groups_junctions
political_parties
faction_political_parties_junctions
faction_uniform_colours
frontend_factions
frontend_faction_leaders
frontend_faction_top_units
political_parties_frontend_leader_junctions
start_pos_character_to_settlements
start_pos_characters
start_pos_diplomacy
start_pos_land_units
start_pos_startng_general_options
start_pos_starting_general_option_ additional_units
start_pos_regions
start_pos_settlements
It should check out... but it doesn't. I've peeked in the working Mousillon mod for comparison. If I am missing something, then it has to be in one of the start_pos_* files that I can't open to compare.
Halp. :<
-
June 04, 2016, 12:20 PM
#3
Laetus
Re: Adding a new playable faction.
Is playable and is_major true in start_pos_factions?
-
June 04, 2016, 12:42 PM
#4
Laetus
Re: Adding a new playable faction.
-
June 11, 2016, 11:47 AM
#5
Civis
Re: Adding a new playable faction.
I head a heck of a time with this, as any time I tried to modify the start_pos files it ended up crashing during the build. I finally looked at MadJonat's Factions Unlocker Campaign & Custom Battle mod to see what files were touched. Using that as a base to enable the Crooked Moon faction with their leader Sour, I have touched these files (these are alphabetical, so you'll need to find while files to modify first, since I did not note that information):
battle_siege_vehicle_permissions (added ram and tower permissions to faction)
campaign_mp_coop_groups_to_factions (added entry)
effect_bundles (added entry for Sour)
faction_groups (added faction; order = 7, which is what MadJonat set it to, could probably change this)
faction_political_parties_junctions (added 2 parties: ruler and separatist_council)
faction_to_faction_groups_junctions (modified faction group key to match faction_groups)
factions (mp_user_republic_early = true; probably for skirmish but I checked it anyways)
frontend_faction_leaders (copied Grimgor's entry; changed key to wh_main_political_party_crooked_moon_ruler; modified descriptions)
frontend_faction_top_units (added 3 top units)
frontend_factions (added entry)
political_parties (added 2 parties: ruler and separatist_council; ruler playable = true)
political_parties_frontend_leaders_junctions (added ruler linked to ruler)
start_pos_factions (playable, is_major = true; added description and long description)
start_pos_starting_general_options (added Sour as a general; linked to frontend_faction_leaders; added entry to effects_bundles for Sour)
units_custom_battle_permission (added all of the O&G units, most likely just for skirmish but I did it anyways)
This is my first time modding a TW game, so while I was pretty frustrated last night, I'm super happy that I have this working up to this point. The last few things I'm trying to figure out is the sparkle image (the effect behind the faction icon when selected) is not there and shows a yellow box, and I need to find where to modify the Faction Effects.
Not sure if this will help you or not, but good luck with your mod!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules