-
June 30, 2015, 05:38 AM
#1
How add Chapter Mission to minor Factions
At first you need a Mod with new playable Faction or take your own, my Example is Suebi for the bel_ campaign you can do the same for the main att_. The most of work is simple "copy & paste".
You need follow tables:
db/
advice_levels_tables
advice_threads_tables
missions_tables
campaigns/bel_attila/factions
bel_fact_suebi.lua
bel_fact_suebi_intro.lua
campaigns/bel_attila
missions.text
text/
localisation.loc
advice_levels_tables clone one row like this "bel_advice_intro_flyby_suebi" and change it in your faction name. As next you must change the ID in what you want, dont make double there!
advice_threads_tables the same as the table bevor, clone a row an change the faction name.
missions_tables here you must clone 5 rows like this and change it to your faction
att_objective_bel_suebi_primary_1_seal_2
att_objective_bel_suebi_primary_2_seal_3
att_objective_bel_suebi_primary_3_seal_4
att_objective_bel_suebi_primary_4_seal_5
att_objective_bel_suebi_primary_5_seal_6
bel_fact_suebi.lua copy any entry from a other faction and change the faction name. In the last rows you find an entry like this, do the same and change the faction name!
-- startup missions
cm:trigger_custom_mission("bel_fact_suebi", "att_objective_bel_suebi_primary_1_seal_2");
end;
Thats the trigger what start your chapter missions!
bel_fact_suebi_intro.lua only make a copy from a other faction, you must for the first steps nothing. later you can modifed it to your faction - you can skip the intro!
missions.text here you can edit your own missions, copy the complete 5 Chapter and change here the faction name too. PLEASE dont edit the chapter missions bevor you have seen that it work. what i mean start the game, you must see the video and take a look to the chapter mission. have you success... than edit the missions to your own ideas.
localisation.loc here can you write your own text for your custom missions - for example you need like this
mission_text_text_att_objective_faction_bel_suebi_1_1_heading
That can help to edit your custom missions!
Good luck and have fun, i hope i have nothing lost!
Regards Musculus Maximus
Last edited by Musculus Maximus; August 07, 2015 at 04:23 AM.
-
July 31, 2015, 01:38 PM
#2
Laetus
Re: How add Chapter Mission to minor Factions
Where do you find the .luas and .loc?
-
August 07, 2015, 01:21 AM
#3
Laetus
Re: How add Chapter Mission to minor Factions
Just a warning to anyone who tries this: missions.txt should be in the same folder as the startpos.esf, it should not be in the same folder as the .lua's.
-
August 07, 2015, 04:28 AM
#4
Re: How add Chapter Mission to minor Factions
@jaenos
You are right my friend, thx. I edit my first post, it was typing error
My Mod is HERE to take a look on this.
-
September 15, 2017, 09:40 PM
#5
Re: How add Chapter Mission to minor Factions
Ah yes,very useful,thanks.
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