Quantcast
Channel: Modding — Beamdog Forums
Viewing all articles
Browse latest Browse all 11774

Can You Force the Game to Save?

$
0
0
This is a very technical question, so I'm posting this in the modding section. Is it possible to use a script or console command to force the game to save, whether an auto-save or a specific save slot like the Final Save file?

I ask because certain mod-introduced fights like the Chosen of Cyric encounter and Ascension Melissan are both very lengthy and very prone to crashing. Since both encounters are extremely complex, it's nearly impossible to replicate a bug that happens midway through the fight, and since both encounters are preceded by lengthy cutscenes, suffering a crash is a huge time loss, whether you're playing the game or just doing some testing. Being able to save at any time would also open up some new opportunities for ordinary gameplay.

It looks like the game forces auto-saves and Final Saves via the SaveGame() command in scripts, and it seems like the parameter determines the save slot. Most use the auto save slot, which appears to be SaveGame(0), but there are a bunch of others available.

lgtsd2lrfce3.png

Would it be possible to design a custom character script, which the player could assign via the Customize button on the Record screen, that would allow the player to activate the SaveGame() command by pressing a predetermined hotkey?

Viewing all articles
Browse latest Browse all 11774

Latest Images

Trending Articles



Latest Images