Results 1 to 13 of 13

Thread: Game Ignoring descr_strat diplomacy

  1. #1

    Default Game Ignoring descr_strat diplomacy

    I'm trying to set certain factions as allies and enemies from the start of the game. I've done this before on another mod, but this time the game is ignoring whatever I put and makes everyone neutral. Anyone have any ideas why this is happening?

  2. #2

    Default Re: Game Ignoring descr_strat diplomacy

    You're not by any chance trying to define faction_relationships before core_attitudes?

    Norman Invasion - The fate of England lies in your hands...

    Viking Invasion II - Unite Britain in the best TW campaign ever!

    Gods and Fighting Men: Total War - Enter the Mists of Myth in Ancient Ireland

  3. #3

    Default Re: Game Ignoring descr_strat diplomacy

    Quote Originally Posted by Aradan View Post
    You're not by any chance trying to define faction_relationships before core_attitudes?
    Negative, I have core_attitudes listed before faction_relationships. I've heard that you can use something like "faction name" allied_to "faction name" or "faction name" at_war_with "faction name" but that didn't seem to work either.

  4. #4
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Game Ignoring descr_strat diplomacy

    are you also missing any of the slave armies, or watchtowers if they're the last thing before that section?

    some errors in descr_strat like accidentally putting a
    `
    in instead of a tab stop the game reading down the file past the error - it loads without error message you just don't get anything below the error

    if not suggest you post your diplomacy section in [code] tags so we can have a look.
    Not used mods before? Looking for something small and fun?!
    Download the:

  5. #5

    Default Re: Game Ignoring descr_strat diplomacy

    Ok I deleted everything around the code that wasn't necessary (semicolon comments) and I got some results, but I must have some mistakes in the code because some factions are allied to only some of the factions in their list. Here is the code:

    Code:
    core_attitudes	romans_julii,	0		parthia
    core_attitudes	romans_julii,	200		carthage, seleucid, thrace, pontus, spain, dacia, germans, greek_cities, gauls
    core_attitudes	parthia,	0		romans_julii
    core_attitudes	parthia,	600		carthage, seleucid, thrace, pontus, spain, dacia, germans, greek_cities
    core_attitudes	parthia,	400		egypt, armenia
    core_attitudes	parthia,	100		numidia
    core_attitudes	seleucid,		600		parthia
    core_attitudes	seleucid,		200		romans_julii
    core_attitudes	seleucid,		-600		carthage, thrace, pontus, spain, dacia, germans
    core_attitudes	carthage,		600		parthia
    core_attitudes	carthage,		200		romans_julii
    core_attitudes	carthage,		-600		seleucid, thrace, pontus, spain, dacia, germans
    core_attitudes	pontus,		600		parthia
    core_attitudes	pontus,		200		romans_julii
    core_attitudes	pontus,		-600		carthage, seleucid, thrace, spain, dacia, germans
    core_attitudes	germans,		600		parthia
    core_attitudes	germans,		200		romans_julii
    core_attitudes	germans,		-600		carthage, seleucid, thrace, pontus, spain, dacia
    core_attitudes	dacia,		600		parthia
    core_attitudes	dacia,		200		romans_julii
    core_attitudes	dacia,		-600		carthage, seleucid, thrace, pontus, spain, germans
    core_attitudes	thrace,		600		parthia
    core_attitudes	thrace,		200		romans_julii
    core_attitudes	thrace,		-600		carthage, seleucid, pontus, spain, dacia, germans
    core_attitudes	spain,		600		parthia
    core_attitudes	spain,		200		romans_julii
    core_attitudes	spain,		-600		carthage, seleucid, thrace, pontus, dacia, germans
    core_attitudes	greek_cities,	600		parthia
    core_attitudes	greek_cities,	200		romans_julii
    core_attitudes	britons,		400		gauls
    core_attitudes	gauls,		400		britons
    core_attitudes	gauls,		400		romans_julii
    core_attitudes	numidia,		100		parthia
    core_attitudes	armenia,		400		parthia
    core_attitudes	egypt,		400		parthia
    
    faction_relationships	romans_julii,	0		parthia
    faction_relationships	romans_julii,	200		carthage, seleucid, thrace, pontus, spain, dacia, germans, greek_cities, gauls
    faction_relationships	parthia,	0		romans_julii
    faction_relationships	parthia,	600		carthage, seleucid, thrace, pontus, spain, dacia, germans, greek_cities
    faction_relationships	parthia,	400		egypt, armenia
    faction_relationships	parthia,	100		numidia
    faction_relationships	seleucid,		600		parthia
    faction_relationships	seleucid,		200		romans_julii
    faction_relationships	seleucid,		-600		carthage, thrace, pontus, spain, dacia, germans
    faction_relationships	carthage,		600		parthia
    faction_relationships	carthage,		200		romans_julii
    faction_relationships	carthage,		-600		seleucid, thrace, pontus, spain, dacia, germans
    faction_relationships	pontus,		600		parthia
    faction_relationships	pontus,		200		romans_julii
    faction_relationships	pontus,		-600		carthage, seleucid, thrace, spain, dacia, germans
    faction_relationships	germans,		600		parthia
    faction_relationships	germans,		200		romans_julii
    faction_relationships	germans,		-600		carthage, seleucid, thrace, pontus, spain, dacia
    faction_relationships	dacia,		600		parthia
    faction_relationships	dacia,		200		romans_julii
    faction_relationships	dacia,		-600		carthage, seleucid, thrace, pontus, spain, germans
    faction_relationships	thrace,		600		parthia
    faction_relationships	thrace,		200		romans_julii
    faction_relationships	thrace,		-600		carthage, seleucid, pontus, spain, dacia, germans
    faction_relationships	spain,		600		parthia
    faction_relationships	spain,		200		romans_julii
    faction_relationships	spain,		-600		carthage, seleucid, thrace, pontus, dacia, germans
    faction_relationships	greek_cities,	600		parthia
    faction_relationships	greek_cities,	200		romans_julii
    faction_relationships	britons,		400		gauls
    faction_relationships	gauls,		400		britons
    faction_relationships	gauls,		400		romans_julii
    faction_relationships	numidia,		100		parthia
    faction_relationships	armenia,		400		parthia
    faction_relationships	egypt,		400		parthia

  6. #6

    Default Re: Game Ignoring descr_strat diplomacy

    Hmm, what are the -600s about?

    ;DS_ALLIED = 0
    ;DS_SUSPICIOUS = 100
    ;DS_NEUTRAL = 200
    ;DS_HOSTILE = 400
    ;DS_AT_WAR = 600

    The only time I've seen negative numbers is between factions that are part of a super-faction.
    RTR VII Developer

  7. #7
    Askthepizzaguy Fan! Member Emperor of Graal's Avatar
    Join Date
    Aug 2008
    Location
    Buckinghamshire UK
    Posts
    372

    Default Re: Game Ignoring descr_strat diplomacy

    Get rid of the '-' on every one and it should work

  8. #8

    Default Re: Game Ignoring descr_strat diplomacy

    Yeah vanilla rtw has '-10' for the romans, and alexander only uses '600' for enemies and '-600' for allies so I figured I'd try '-600' since I wanted them to be strong allies. Anyway, I changed all the '-600' to plain '0' but I'm having the same problem.

    Its hard to explain in detail, but the block of factions (carthage, seleucid, thrace, pontus, spain, dacia, and germans) are having trouble becoming allies. Some do but some don't, which is different when playing each of them. It doesn't make sense because they are all declared together, i.e. why would pontus be allied to carthage, seleucid, thrace, and dacia but not spain or the germans when they are all together in a line?

  9. #9

    Default Re: Game Ignoring descr_strat diplomacy

    It might be due to their relationship with other factions. Try to draw a map/diagram and see if there are any conflicts that are preventing the alliance.
    RTR VII Developer

  10. #10

    Default Re: Game Ignoring descr_strat diplomacy

    I don't know what the deal is between pontus, spain, and the germans. The code below, set up like the romans in vanilla, allies the germans to spain and pontus, but spain and pontus remain neutral.
    Code:
    core_attitudes	pontus,		-10		germans, spain
    core_attitudes	germans,	-10		pontus, spain
    core_attitudes	spain,		-10		germans, pontus
    
    faction_relationships	pontus,		100		germans, spain
    faction_relationships	germans,	100		pontus, spain
    faction_relationships	spain,		100		germans, pontus
    After more tinkering this code worked. Apparently core_attitudes likes commas whereas faction_relationships hates them.

    Code:
    core_attitudes	pontus,		-10		germans, spain
    core_attitudes	germans,	-10		pontus, spain
    core_attitudes	spain,		-10		germans, pontus
    
    faction_relationships	pontus,		100		germans
    faction_relationships	pontus,		100		spain
    faction_relationships	germans,	100		pontus
    faction_relationships	germans,	100		spain
    faction_relationships	spain,		100		germans
    faction_relationships	spain,		100		pontus
    So the final code needed to ally these 7 factions is all this:

    Code:
    core_attitudes	pontus,		-10		germans, spain, thrace, seleucid, carthage, dacia
    core_attitudes	germans,	-10		pontus, spain, thrace, seleucid, carthage, dacia
    core_attitudes	spain,		-10		germans, pontus, thrace, seleucid, carthage, dacia
    core_attitudes	thrace,		-10		germans, pontus, spain, seleucid, carthage, dacia
    core_attitudes	seleucid,	-10		germans, pontus, spain, thrace, carthage, dacia
    core_attitudes	carthage,	-10		germans, pontus, spain, thrace, seleucid, dacia
    core_attitudes	dacia,		-10		germans, pontus, spain, thrace, seleucid, carthage
    
    faction_relationships	pontus,		100		germans
    faction_relationships	pontus,		100		spain
    faction_relationships	pontus,		100		thrace
    faction_relationships	pontus,		100		seleucid
    faction_relationships	pontus,		100		carthage
    faction_relationships	pontus,		100		dacia
    faction_relationships	germans,	100		pontus
    faction_relationships	germans,	100		spain
    faction_relationships	germans,	100		thrace
    faction_relationships	germans,	100		seleucid
    faction_relationships	germans,	100		carthage
    faction_relationships	germans,	100		dacia
    faction_relationships	spain,		100		germans
    faction_relationships	spain,		100		pontus
    faction_relationships	spain,		100		thrace
    faction_relationships	spain,		100		seleucid
    faction_relationships	spain,		100		carthage
    faction_relationships	spain,		100		dacia
    faction_relationships	thrace,		100		germans
    faction_relationships	thrace,		100		pontus
    faction_relationships	thrace,		100		spain
    faction_relationships	thrace,		100		seleucid
    faction_relationships	thrace,		100		carthage
    faction_relationships	thrace,		100		dacia
    faction_relationships	seleucid,	100		germans
    faction_relationships	seleucid,	100		pontus
    faction_relationships	seleucid,	100		spain
    faction_relationships	seleucid,	100		thrace
    faction_relationships	seleucid,	100		carthage
    faction_relationships	seleucid,	100		dacia
    faction_relationships	carthage,	100		germans
    faction_relationships	carthage,	100		pontus
    faction_relationships	carthage,	100		spain
    faction_relationships	carthage,	100		thrace
    faction_relationships	carthage,	100		seleucid
    faction_relationships	carthage,	100		dacia
    faction_relationships	dacia,		100		germans
    faction_relationships	dacia,		100		pontus
    faction_relationships	dacia,		100		spain
    faction_relationships	dacia,		100		thrace
    faction_relationships	dacia,		100		seleucid
    faction_relationships	dacia,		100		carthage

  11. #11

    Default Re: Game Ignoring descr_strat diplomacy

    Hmm... they allied at 100? I always thought allied_to was 0.
    RTR VII Developer

  12. #12

    Default Re: Game Ignoring descr_strat diplomacy

    Quote Originally Posted by HouseOfHam View Post
    Hmm... they allied at 100? I always thought allied_to was 0.
    I think the alliance part gets established with the core_attitudes, and anything below 200 in the faction_relationships is also equivalent to an alliance, at least thats what I read somewhere. I used -10 for the attitudes and 100 for the relationship because the same is used for the romans in vanilla. I will probably change the 100's to 0's since 100 is supposed to mean suspicious.

  13. #13
    Notepad user Member Red Spot's Avatar
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    491

    Default Re: Game Ignoring descr_strat diplomacy

    Quote Originally Posted by comrade_general View Post
    After more tinkering this code worked. Apparently core_attitudes likes commas whereas faction_relationships hates them.
    Yup, thats it. I once had the same .. er .. hick up. You need to specify the relations 1 faction at a time.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO