Results 1 to 1 of 1

Thread: [Modding] RTW: How to Change the Starting Diplomatic Stance of Factions

  1. #1

    Default [Modding] RTW: How to Change the Starting Diplomatic Stance of Factions



    Author: Myrddraal
    Original thread: How to Change the Starting Diplomatic Stance of Factions

    How to Change the Starting Diplomatic Stance of Factions
    How To – Change the starting diplomatic stance of factions

    To change the factions starting diplomatic stance, go to \Data\world\maps\campaign\, open the appropriate folder for the campaign you want to edit, and open up the file: descr_strat.txt.

    An example of the use of diplomacy can be seen in C:\Program Data\world\maps\campaign\sons_of_mars\descr_strat.txt

    Search or scroll down to:
    Code:
     ; >>>> start of diplomacy section
    After this header is where you set up the diplomacy. You can see the syntax used in the sons_of_mars (prologue) campaign:

    Code:
    ; >>>> start of diplomacy section
    
    faction_relationships     romans_julii, allied_to     romans_scipii, romans_senate
    faction_relationships     romans_julii, at_war_with     gauls, greek_cities
    faction_relationships     romans_scipii, allied_to     romans_julii, romans_senate
    faction_relationships     romans_scipii, at_war_with     greek_cities
    faction_relationships     romans_senate, allied_to     romans_julii, romans_scipii
    faction_relationships     romans_senate, at_war_with     greek_cities
    faction_relationships     gauls, at_war_with     romans_julii, greek_cities
    faction_relationships     greek_cities, at_war_with     romans_julii, romans_scipii, romans_senate, gauls, thrace
    faction_relationships     thrace, at_war_with     greek_cities
    As you can see, the set up is basically:

    faction_relationships faction1, Diplomatic_stance faction2

    The faction names are the standard ones, and the diplomatic stances are ‘at_war_with’ and ‘allied_to’. The default is neutral so to make a faction neutral just don’t mention them.

    If you look at the descr_strat.txt in Data\world\maps\campaign\imperial_campaign, you will notice that the standard diplomatic stances (i.e. the romans are allies) are not mentioned.
    This is because diplomacy is pre-set unless specified otherwise at this point.

    That all you need to do.
    Last edited by Sir Adrian; December 31, 2013 at 06:59 AM. Reason: fixed author hyperlink



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •