Yay. I'm not cool enough to be allowed to edit my posts. -_-
I just realized that "alpaca's .string.bin reader" might be the key to answering my question. Yes?
Now, where to find such a thing...
Yay. I'm not cool enough to be allowed to edit my posts. -_-
I just realized that "alpaca's .string.bin reader" might be the key to answering my question. Yes?
Now, where to find such a thing...
Aaaah thanks alpaca. I figured those lines were only about using different spoken lines etc..., had missed the thresholds.
Rhedd : the DT_RELATIONS are used in \data\text\diplomacy.txt.strings.bin, and \data\text\diplomacy_speech.txt.strings.bin which tells the game what to say/display in what conditions
Anything wrong ? Blame it on me. I'm the French.
Is there anything like a reader for .string files?
Regards
GrandViZ
No reader but a converter: https://forums.totalwar.org/vb/showthread.php?t=75229Originally Posted by mesut
Thanks for the info, Kobal. That's exactly what I was looking for.
So... what happened to that .xml file you mentioned back in post #9? ^_^
Erm some more quick questions:
1. What's a shadow faction and why does the code make it never ask for peace or protectorate?
2. What do the AI invasion priorities do?
3. What's the difference between invade_opportunistic and invade_immediate?
4. Looking over SW's mod I noticed that she replaces all these lines:
can_force_invade="false"
With:
can_force_invade="false" invade="invade_none"
What's the difference?
- Not sure 100% what a shadow faction is, but my guess would be "those factions you have to destroy in a short campaign", or perhaps "the factions that need to destroy you to win a short campaign". They don't want peace with you because you're out to get them anyway.
- Invasion priorities do squat per se. It's just higher and higher values so that a given condition overrules other conditions further down the checks, that is to say that when there are two "valid" conditions, but one more threatening that the other, the AI acts only on the threatening one.
- Not sure, again. That's not something you can test as easily. I'd say invade_immediate is "attack with what you got, no matter what", while invade_opportunistic is "attack if you're stronger and he's weak", or "attack if you find yourself in a position to do so right now, without taking long term problems into account", but that's just conjecture at this point.
4 - nothing. Invade=none is the default so you never need to specify it. Well, it should be, only the default is just commented-on empty faction-decision. My guess would be that the AI reverts to invade_none whenever it's not specifically told to do something, but I put invade_none invade_priority=50 in the default, just in case. The default was also clear in RTW.
Rhedd : it's about done, but I'm trying to deal with the naval invasion problem post-patch, as it seems to defy logic a little bit : it invades, but still wants peace because it doesn't share borders. Only when said invasion captures its target does the AI become sensible again, and naval invasions don't seem to be triggered by the same stuff as land ones (ie borderstrength balance etc... don't apply obviously).
Plus the antitrait thing derailed my campaign testing and got me back into modding... again :)
I'll probably end up posting my file and asking you guys to test it for me.
Last edited by Kobal2fr; 12-24-2006 at 17:25.
Anything wrong ? Blame it on me. I'm the French.
Bookmarks