How to create an Autosave in-game!

Post » Thu Sep 08, 2011 7:11 pm

I couldn't find any writing about this topic on the TES Wiki, so here I go:

1. Go to the 'Activator' section in the TES Construction Set and create a duplicate version of any object starting with the name Trigzone, and rename it into MyModTrigZonePlayerAutosave01 (*).

2. Attach this script to your newly created Trigzone object:

scn MyModTrigZonePlayerAutosaveSCRIPTshort triggeredBegin onTrigger player	if triggered == 0		Autosave		set triggered to 1	endifEndBegin onResetset triggered to 0End


And done!


You can place this Trigzone at places out of the way of big upcoming fights and individual creatures (triggering an Autosave during a [large] battle could crash Oblivion), and as soon as your character triggers this Trigzone (by walking through it) the game will be saved :)

Don't place this Trigzone in front of doors which loads the player from an exterior cell to an interior cell or the other way around, in order to avoid triggering two Autosaves at once: this could screw up your saved game and/or making Oblivion CTD (crash to desktop).


(*) The 'MyMod' part of the Trigzones and Scripts name must be replaced with the name of your Mod to avoid conflicts with other peoples Mods :)


dutch666

@ anyone: feel absolutly free to add the above to the http://cs.elderscrolls.com/constwiki/index.php/Main_Page: I can't do it, cuz me English still svcks big time <_<
User avatar
Elle H
 
Posts: 3407
Joined: Sun Aug 06, 2006 3:15 am

Post » Fri Sep 09, 2011 6:50 am

Only thing is you need to be careful using that as it will overwrite the users current autosave -- and if say it is near a door and they already have autosave on cell change active you'll be writing 2 autosaves at almost the exact time which could cause corruption of the autosave - also on some systems that are already barely able to run the game having the game try to autosave in the middle of a battle or similar might cause a CTD when the system tries to save and load info from the hdd at the same time ( which is why most people turn off autosaves in their ini file )

In any case it would propbably be better to just do a normal save with a name instead of using the autosave to avoid overwritting a save that the user might still want to keep.
User avatar
Avril Louise
 
Posts: 3408
Joined: Thu Jun 15, 2006 10:37 pm

Post » Fri Sep 09, 2011 1:17 am

Thank you for your help! I've improved the start post based on your Re: :)

In any case it would propbably be better to just do a normal save with a name instead of using the autosave to avoid overwritting a save that the user might still want to keep.


This script will only overwrite the Autosave, not any custom made ones :)
User avatar
Nicole Coucopoulos
 
Posts: 3484
Joined: Fri Feb 23, 2007 4:09 am


Return to IV - Oblivion