View Full Version : Game Ignoring descr_strat diplomacy
comrade_general
04-10-2009, 18:46
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?
You're not by any chance trying to define faction_relationships before core_attitudes?
comrade_general
04-11-2009, 00:38
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.
Makanyane
04-11-2009, 08:30
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.
comrade_general
04-11-2009, 15:13
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:
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
HouseOfHam
04-13-2009, 09:28
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.
Emperor of Graal
04-13-2009, 10:19
Get rid of the '-' on every one and it should work
comrade_general
04-13-2009, 16:33
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?
HouseOfHam
04-13-2009, 18:56
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.
comrade_general
04-13-2009, 20:49
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.
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.
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:
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
HouseOfHam
04-13-2009, 23:42
Hmm... they allied at 100? I always thought allied_to was 0.
comrade_general
04-14-2009, 00:09
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.
Red Spot
04-16-2009, 07:15
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.
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.