Results 1 to 8 of 8

Thread: How to make start 2 factions as allies?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default How to make start 2 factions as allies?

    As per title I want to modify the game so that 2 certain factions start as ally.
    Does anybody know which file should I modify and the change I should apply?
    Never argue with an idiot; they'll drag you down to their level, and beat you with experience.


  2. #2

    Default Re: How to make start 2 factions as allies?

    You just have to edit descr_strat.txt file.

    Path: data/world/maps/campaign/imperial_campaign/descr_strat.txt

    Then go to the relation section:

    Spoiler Alert, click show to read: 
    faction_relationships venice, at_war_with slave
    faction_relationships sicily, at_war_with slave
    faction_relationships milan, at_war_with slave
    faction_relationships papal_states, at_war_with slave
    faction_relationships denmark, at_war_with slave
    faction_relationships egypt, at_war_with slave
    faction_relationships scotland, at_war_with slave
    faction_relationships cumans, at_war_with slave
    faction_relationships mongols, at_war_with kwarezm, slave
    faction_relationships turks, at_war_with slave
    faction_relationships france, at_war_with slave
    faction_relationships hre, at_war_with slave
    faction_relationships england, at_war_with slave
    faction_relationships portugal, at_war_with slave
    faction_relationships poland, at_war_with slave
    faction_relationships byzantium, at_war_with slave
    faction_relationships moors, at_war_with slave
    faction_relationships russia, at_war_with slave
    faction_relationships spain, at_war_with slave
    faction_relationships hungary, at_war_with slave
    faction_relationships aragon, at_war_with slave
    faction_relationships lithuania, at_war_with slave
    faction_relationships kievan_rus, at_war_with slave
    faction_relationships teutonic_order, at_war_with slave
    faction_relationships timurids, at_war_with slave
    faction_relationships norway, at_war_with slave
    faction_relationships jerusalem, at_war_with slave
    faction_relationships kwarezm, at_war_with slave, mongols
    faction_relationships slave, at_war_with hungary, spain, aragon, byzantium, lithuania, russia, moors, jerusalem, norway, venice, kwarezm, teutonic_order, kievan_rus, timurids, denmark, papal_states, scotland, egypt, sicily, poland, milan, hre, france, portugal, england, mongols, cumans, turks


    Now, change the "at_war_with" entries to "allied_with" for both factions you want to tie.
    Remember, you have to do it for both factions. In example, let's say i want starting alliance between Poland and Hungary, i have to put both Poland allied_with Hungary and Hungary allied_with Poland.

    Well, you may want to change the faction standings as well, you can do (edit) it a bit upper (same file). Values are obvious 1.00 is perfect and -1.00 is abysmal.

    Have a fun
    Last edited by vtec.dominion; July 24, 2012 at 10:15 AM.

  3. #3

    Default Re: How to make start 2 factions as allies?

    descr_strat at the bottom of the file.
    Spoiler Alert, click show to read: 
    faction_standings venice, 0.20 papal_states
    faction_standings venice, -0.20 milan
    faction_standings venice, -0.40 hre, hungary
    faction_standings venice, -0.50 byzantium
    faction_standings venice, -1.00 slave
    faction_standings sicily, 0.60 milan
    faction_standings sicily, 0.40 hre
    faction_standings sicily, 0.20 portugal, papal_states
    faction_standings sicily, -0.40 egypt, moors, byzantium, aragon
    faction_standings sicily, -1.00 slave
    faction_standings milan, 0.60 sicily
    faction_standings milan, 0.40 france
    faction_standings milan, 0.20 papal_states
    faction_standings milan, -0.20 venice
    faction_standings milan, -0.60 hre
    faction_standings milan, -1.00 slave
    faction_standings papal_states, 0.40 jerusalem
    faction_standings papal_states, 0.20 poland, hungary, england, teutonic_order, sicily, milan, venice
    faction_standings papal_states, -0.60 slave
    faction_standings papal_states, -0.80 turks, moors, egypt, hre
    faction_standings denmark, 0.60 teutonic_order
    faction_standings denmark, 0.40 norway
    faction_standings denmark, -0.20 russia
    faction_standings denmark, -0.60 hre
    faction_standings denmark, -1.00 slave
    faction_standings egypt, 0.60 moors
    faction_standings egypt, -0.40 sicily
    faction_standings egypt, -0.80 jerusalem, papal_states
    faction_standings egypt, -1.00 slave, mongols, timurids
    faction_standings scotland, 0.90 france
    faction_standings scotland, -0.50 norway
    faction_standings scotland, -0.80 england
    faction_standings scotland, -1.00 slave
    faction_standings cumans, 0.60 lithuania
    faction_standings cumans, -0.40 kwarezm
    faction_standings cumans, -0.80 kievan_rus
    faction_standings cumans, -1.00 slave
    faction_standings mongols, -0.80 hungary, poland
    faction_standings mongols, -1.00 timurids, egypt, slave, kwarezm, byzantium, russia, turks, kievan_rus
    faction_standings turks, 0.60 moors
    faction_standings turks, 0.20 kwarezm
    faction_standings turks, -0.60 jerusalem
    faction_standings turks, -0.80 byzantium, papal_states
    faction_standings turks, -1.00 slave, timurids, mongols
    faction_standings france, 0.90 scotland
    faction_standings france, 0.40 milan
    faction_standings france, -0.20 spain
    faction_standings france, -0.40 aragon
    faction_standings france, -0.50 hre
    faction_standings france, -0.60 england
    faction_standings france, -1.00 slave
    faction_standings hre, 1.00 teutonic_order
    faction_standings hre, 0.40 sicily
    faction_standings hre, -0.40 venice
    faction_standings hre, -0.50 france
    faction_standings hre, -0.60 milan, poland, denmark
    faction_standings hre, -0.80 papal_states
    faction_standings hre, -1.00 slave
    faction_standings england, 0.20 papal_states
    faction_standings england, -0.20 norway
    faction_standings england, -0.60 france
    faction_standings england, -0.80 scotland
    faction_standings england, -1.00 slave
    faction_standings portugal, 0.80 aragon
    faction_standings portugal, 0.60 spain
    faction_standings portugal, 0.20 sicily
    faction_standings portugal, -0.90 moors
    faction_standings portugal, -1.00 slave
    faction_standings poland, 0.80 hungary
    faction_standings poland, 0.40 lithuania
    faction_standings poland, 0.20 papal_states
    faction_standings poland, -0.40 russia
    faction_standings poland, -0.60 hre
    faction_standings poland, -0.80 mongols
    faction_standings poland, -1.00 slave
    faction_standings byzantium, 0.60 norway
    faction_standings byzantium, 0.40 russia, kievan_rus
    faction_standings byzantium, -0.20 hungary, timurids
    faction_standings byzantium, -0.40 sicily
    faction_standings byzantium, -0.50 venice
    faction_standings byzantium, -0.80 turks
    faction_standings byzantium, -1.00 slave, mongols
    faction_standings moors, 0.60 egypt, turks
    faction_standings moors, -0.40 sicily
    faction_standings moors, -0.80 papal_states, aragon
    faction_standings moors, -0.90 portugal, spain
    faction_standings moors, -1.00 slave
    faction_standings russia, 0.60 lithuania
    faction_standings russia, 0.40 byzantium
    faction_standings russia, 0.20 kievan_rus
    faction_standings russia, -0.20 denmark
    faction_standings russia, -0.40 poland, teutonic_order
    faction_standings russia, -1.00 slave, mongols
    faction_standings spain, 0.60 portugal
    faction_standings spain, -0.20 france
    faction_standings spain, -0.90 moors
    faction_standings spain, -1.00 slave
    faction_standings hungary, 0.80 poland
    faction_standings hungary, 0.20 papal_states
    faction_standings hungary, -0.20 byzantium
    faction_standings hungary, -0.40 venice
    faction_standings hungary, -0.80 mongols
    faction_standings hungary, -1.00 slave
    faction_standings aragon, 0.80 portugal
    faction_standings aragon, -0.40 sicily, france
    faction_standings aragon, -0.80 moors
    faction_standings aragon, -1.00 slave
    faction_standings lithuania, 0.60 cumans, russia
    faction_standings lithuania, 0.40 poland
    faction_standings lithuania, -0.80 teutonic_order
    faction_standings lithuania, -1.00 slave
    faction_standings kievan_rus, 0.40 byzantium
    faction_standings kievan_rus, 0.20 russia
    faction_standings kievan_rus, -0.80 cumans
    faction_standings kievan_rus, -1.00 slave, mongols
    faction_standings teutonic_order, 1.00 hre
    faction_standings teutonic_order, 0.60 denmark
    faction_standings teutonic_order, 0.20 papal_states
    faction_standings teutonic_order, -0.40 russia
    faction_standings teutonic_order, -0.80 lithuania
    faction_standings teutonic_order, -1.00 slave
    faction_standings timurids, -0.20 byzantium
    faction_standings timurids, -1.00 kwarezm, slave, egypt, mongols, turks
    faction_standings norway, 0.60 byzantium
    faction_standings norway, 0.40 denmark
    faction_standings norway, -0.20 england
    faction_standings norway, -0.50 scotland
    faction_standings norway, -1.00 slave
    faction_standings jerusalem, 0.40 papal_states
    faction_standings jerusalem, -0.60 turks
    faction_standings jerusalem, -0.80 egypt
    faction_standings jerusalem, -1.00 slave
    faction_standings kwarezm, 0.20 turks
    faction_standings kwarezm, -0.40 cumans
    faction_standings kwarezm, -1.00 mongols, slave, timurids
    faction_standings slave, -0.60 papal_states
    faction_standings slave, -1.00 hungary, lithuania, aragon, russia, moors, spain, jerusalem, norway, byzantium, kwarezm, teutonic_order, kievan_rus, timurids, egypt, denmark, cumans, scotland, sicily, poland, milan, england, hre, venice, portugal, turks, mongols, france

    faction_relationships venice, at_war_with slave
    faction_relationships sicily, at_war_with slave
    faction_relationships milan, at_war_with slave
    faction_relationships papal_states, at_war_with slave
    faction_relationships denmark, at_war_with slave
    faction_relationships egypt, at_war_with slave
    faction_relationships scotland, at_war_with slave
    faction_relationships cumans, at_war_with slave
    faction_relationships mongols, at_war_with kwarezm, slave
    faction_relationships turks, at_war_with slave
    faction_relationships france, at_war_with slave
    faction_relationships hre, at_war_with slave
    faction_relationships england, at_war_with slave
    faction_relationships portugal, at_war_with slave
    faction_relationships poland, at_war_with slave
    faction_relationships byzantium, at_war_with slave
    faction_relationships moors, at_war_with slave
    faction_relationships russia, at_war_with slave
    faction_relationships spain, at_war_with slave
    faction_relationships hungary, at_war_with slave
    faction_relationships aragon, at_war_with slave
    faction_relationships lithuania, at_war_with slave
    faction_relationships kievan_rus, at_war_with slave
    faction_relationships teutonic_order, at_war_with slave
    faction_relationships timurids, at_war_with slave
    faction_relationships norway, at_war_with slave
    faction_relationships jerusalem, at_war_with slave
    faction_relationships kwarezm, at_war_with slave, mongols
    faction_relationships slave, at_war_with hungary, spain, aragon, byzantium, lithuania, russia, moors, jerusalem, norway, venice, kwarezm, teutonic_order, kievan_rus, timurids, denmark, papal_states, scotland, egypt, sicily, poland, milan, hre, france, portugal, england, mongols, cumans, turks


    For example, if I wanted Jerusalem and the Papal States to start as allies, I would add:
    faction_relationships jerusalem, allied_with papal_states
    faction_relationships papal_states, allied_with jerusalem

    I might also want to change the starting faction standing. As you can see in the faction_standing section, Jerusalem and the Papal States start out with 0.4 relations with each other. That is on a scale from -1 (worst relations) to 1 (best relations).

  4. #4
    Libertus
    Join Date
    Feb 2011
    Location
    Pori, Finland
    Posts
    71

    Default Re: How to make start 2 factions as allies?

    For some reason it doesn't work for me... I've edited the file properly (added the alliance/at war for both factions) and ran the SS setup after that, but no effect when I try to start a new campaign

  5. #5

    Default Re: How to make start 2 factions as allies?

    Quote Originally Posted by CloacaMaXima View Post
    I've edited the file properly (added the alliance/at war for both factions) and ran the SS setup after that
    Heh, that's the reason. You have to do that (edit the file) after SS setup.
    Setup will always replace edited descr_strat file (and many others like EDU or EDB) with the default one.

  6. #6
    Libertus
    Join Date
    Feb 2011
    Location
    Pori, Finland
    Posts
    71

    Default Re: How to make start 2 factions as allies?

    Yeah I know that, I edited the file in campaign folder so it should overwrite the file in world folder. But, the problem is solved, was caused by a simple typing error which I was unable to spot for some reason

    However, I have few questions. First...

    faction_relationships spain, allied_with portugal, aragon
    faction_relationships portugal, allied_with spain, aragon
    faction_relationships aragon, allied_with spain, portugal

    ...should mean that Spain is allied with Portugal and Aragon, Aragon is allied with Spain and Portugal, and Portugal is allied with Spain and Aragon. Right, Spain is indeed allied with both Portugal and Aragon, however Aragon is only allied to Spain and so is Portugal... What could be causing that?

    Secondly, what do I need to edit if I want two factions to have trade rights also at the beginning? Or to share map information or military acces?

  7. #7
    Vipman's Avatar Protector Domesticus
    Join Date
    Jul 2010
    Location
    Romania
    Posts
    4,405

    Default Re: How to make start 2 factions as allies?

    Quote Originally Posted by CloacaMaXima View Post
    However, I have few questions. First...

    faction_relationships spain, allied_with portugal, aragon
    faction_relationships portugal, allied_with spain, aragon
    faction_relationships aragon, allied_with spain, portugal

    ...should mean that Spain is allied with Portugal and Aragon, Aragon is allied with Spain and Portugal, and Portugal is allied with Spain and Aragon. Right, Spain is indeed allied with both Portugal and Aragon, however Aragon is only allied to Spain and so is Portugal... What could be causing that?
    maybe they need to be separate, put 1 allied_with 1, not 1 with 2. worth a try.

    Secondly, what do I need to edit if I want two factions to have trade rights also at the beginning? Or to share map information or military acces?
    no idea...

    a question i have, from what i know when i just viewed this section of some mod, also i think i edited some stuff once, that only 1 line is needed, just A allied_with B, the B with A is not necessary. same for at_war_with . does anyone know? too lazy to test myself

  8. #8
    RollingWave's Avatar Praepositus
    Join Date
    Feb 2005
    Location
    Taiwan
    Posts
    5,083

    Default Re: How to make start 2 factions as allies?

    If you have alliances at the beginning it will include trade rights, however AFAIK you can not have just trade rights.
    1180, an unprecedented period of peace and prosperity in East Asia, it's technology and wealth is the envy of the world. But soon conflict will engulf the entire region with great consequences and lasting effects for centuries to come, not just for this region, but the entire known world, when one man, one people, unites.....

Posting Permissions

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