Kwok, I've got a question: |
Submitted by Gideon on Sat, 2007-11-24 15:30.
SE:V MODs
Since you're the resident AI guru, I thought I would ask you.
How long do message log events remain stored? I want to look up treaty elements from several rounds after the treaty has been accepted. Is it possible to look back any distance in the message log (and if so, how far)?
I need to know, so I know whether I can look them up for renegotiation, or if I have to store the elements in a datafile.




Re: Kwok, I've got a question:
Log IDs probably persist as long as the user's settings (ie how many turns of logs to remember as per the player's setting).
You could store the treaty and it's elements in the AI's turn to turn memory. It'd be a similar system to how the AI's memory is setup for anger/requests. It'd be somewhat complicated to engineer.
Another option is to ask MM for a script function to "copy" the existing treaty and its elements between two players, as a current function already does for copying the treaty and its elements from a log message in order to counter it. That would be the easiest solution for what you want to accomplish.
Space Empires Depot | SE:V Balance Mod