Any way to change AI director mid game?

Started by Teiwaz, November 06, 2013, 10:45:25 PM

Previous topic - Next topic

Teiwaz

I'm finding the classic AI director's constant swarms of raiders unfun, but the friendly director is just a bore. Has anyone found a way to change the AI director, by editing the savegame, or something? I'd love to build an established colony in friendly and then sic swarms of raiders on it with a classic-hard director.

Tynan

Yes. Just start a game with the storyteller you want. Save it. Look for the "Storyteller" XML block. Copy it over the one from the savegame you want to modify.
Tynan Sylvester - @TynanSylvester - Tynan's Blog

Teiwaz

Thanks.

For other people trying this, the savegames are in a bit of a funny place. Took me a little while to locate them. They're in:
\users\<username>\appdata\LocalLow\LudeonStudios
File extension is .rim

chaotix14

Nice. Now I'll just duplicate my save and change the storyteller to randy one one of the saves. I wanna see how long it'll last.

Reaver41

Quote from: Tynan on November 06, 2013, 11:06:11 PM
Yes. Just start a game with the storyteller you want. Save it. Look for the "Storyteller" XML block. Copy it over the one from the savegame you want to modify.

will you ever add the way to change a ai director  mid-game in the menu?

Tynan

Quote from: Reaver41 on November 07, 2013, 07:33:34 AM
Quote from: Tynan on November 06, 2013, 11:06:11 PM
Yes. Just start a game with the storyteller you want. Save it. Look for the "Storyteller" XML block. Copy it over the one from the savegame you want to modify.

will you ever add the way to change a ai director  mid-game in the menu?

Probably yes.
Tynan Sylvester - @TynanSylvester - Tynan's Blog

Wgl

Quote from: Tynan on November 07, 2013, 11:52:45 AM
Quote from: Reaver41 on November 07, 2013, 07:33:34 AM
Quote from: Tynan on November 06, 2013, 11:06:11 PM
Yes. Just start a game with the storyteller you want. Save it. Look for the "Storyteller" XML block. Copy it over the one from the savegame you want to modify.

will you ever add the way to change a ai director  mid-game in the menu?

Probably yes.

If I may, I think this is a bad idea.

In the future the AI Storyteller may need backward story references. Now the AI Storytellers are basics but (I hope) they will evolve using real AI features. And changing the Storyteller in the middle of a game would corrupt a whole game experience.

Galileus

What difficulty player wants to play on is up to player. And I don't think there would be a problem with the switch - the AI "evolution" would need to be saved in the files all the same, there is no problem with directing the same variables to a new one.

The only exception to this is any kind of "hardcore" or "ironman" mode, where you're forbidden to save and game saves automatically, preventing you to "play the dice" or changing established events. But this - again - is due to player's wish to be punished for bad choices while he knows he would be too tempted to try and alter that result.

Teiwaz

Having done the swap manually, what appears to happen is that changing out the storyteller effectively resets the storyteller. When I changed my big, friendly mode game over to Cassandra classic, the first raid I got was one dude with a pistol. The second raid was like 20 guys including the dreaded snipers. So saved variables don't come into it, it's just like starting a new game except you have a lot more colonists and buildings already.

Tynan

Quote from: Teiwaz on November 07, 2013, 03:24:23 PM
Having done the swap manually, what appears to happen is that changing out the storyteller effectively resets the storyteller. When I changed my big, friendly mode game over to Cassandra classic, the first raid I got was one dude with a pistol. The second raid was like 20 guys including the dreaded snipers. So saved variables don't come into it, it's just like starting a new game except you have a lot more colonists and buildings already.

Ah yes, that makes sense. Cassandra has a bit of a ramp-up she'll remember. This could be solved if you swapped in a Cassandra from at least 15 days into the game.
Tynan Sylvester - @TynanSylvester - Tynan's Blog

nnescio

Quote from: Tynan on November 07, 2013, 03:51:57 PM
Quote from: Teiwaz on November 07, 2013, 03:24:23 PM
Having done the swap manually, what appears to happen is that changing out the storyteller effectively resets the storyteller. When I changed my big, friendly mode game over to Cassandra classic, the first raid I got was one dude with a pistol. The second raid was like 20 guys including the dreaded snipers. So saved variables don't come into it, it's just like starting a new game except you have a lot more colonists and buildings already.

Ah yes, that makes sense. Cassandra has a bit of a ramp-up she'll remember. This could be solved if you swapped in a Cassandra from at least 15 days into the game.

Hmm...

Quote<StoryState>
         <LastThreatQueueTime>691270</LastThreatQueueTime>
         <NumThreatsQueued>7</NumThreatsQueued>
         <LastQueueTicks>
            <KeyList>
               <Int32>2768</Int32>
               <Int32>1551</Int32>
               <Int32>56138</Int32>
               <Int32>20668</Int32>
               <Int32>56342</Int32>
               <Int32>5412</Int32>
               <Int32>22116</Int32>
               <Int32>71453</Int32>
               <Int32>871047</Int32>
               <Int32>512318</Int32>
            </KeyList>
            <ValueList>
               <Int32>497026</Int32>
               <Int32>602524</Int32>
               <Int32>657617</Int32>
               <Int32>670344</Int32>
               <Int32>680804</Int32>
               <Int32>691270</Int32>
               <Int32>462164</Int32>
               <Int32>287770</Int32>
               <Int32>438612</Int32>
               <Int32>665487</Int32>
            </ValueList>
         </LastQueueTicks>
      </StoryState>

What do the Keylist and ValueList affect? Is it possible to edit the game files to force a huge raider wave regardless of the current number of colonists and turrets, to test defenses and stuff?

Also, can I just change <Storyteller Class="Parameter"> without changing the rest of entries under the storyteller block? Or is it a bad idea?


XToxicBarfX


Semmy

Quote from: XToxicBarfX on November 25, 2013, 01:13:12 AM
What program should i use for this?

You can chance the file with notepad if i am not mistaking.
The only thing necessary for the triumph of evil is for good men to do nothing.
Edmund Burke

XToxicBarfX

Quote from: Semmy on November 25, 2013, 01:14:48 AM
Quote from: XToxicBarfX on November 25, 2013, 01:13:12 AM
What program should i use for this?

You can chance the file with notepad if i am not mistaking.
aaaa good old note pad

Semmy

Quote from: XToxicBarfX on November 25, 2013, 01:17:16 AM
Quote from: Semmy on November 25, 2013, 01:14:48 AM
Quote from: XToxicBarfX on November 25, 2013, 01:13:12 AM
What program should i use for this?

You can chance the file with notepad if i am not mistaking.
aaaa good old note pad

Yes the solution is sometimes to easy to think about i know the problem happens to me alot.
Have fun.
The only thing necessary for the triumph of evil is for good men to do nothing.
Edmund Burke