Adding perksmagic effectsspells to player upon mod load?

Post » Mon Jun 18, 2012 8:26 am

Is it possible to add custom perks and or spells to the player by simply loading up your mod? I have a Magic Effect script I want the player to have by default the first time they load up the game (from their existing save, not a new game). I would also like it to add an item to the inventory of the player, kind of like a mod "readme".

It's simple to add these things to a new game by editing the scripts on the first main quest, but I'd really rather some script run upon loading of the game that checks whether the user has loaded up the mod before and add the item/perk automatically.

I heard something about doing this with some "invisible quest" but I'm not familiar with this term. Can anyone give me advice?

Thanks.
User avatar
Kevin Jay
 
Posts: 3431
Joined: Sun Apr 29, 2007 4:29 am

Post » Mon Jun 18, 2012 6:04 pm

You said that it's simple to add those things to a new game by editing the scripts on the first main quest.

That's exactly the process. Just make your own quest instead of editing the main quest. Make sure it's Start Game Enabled.

You could add in (the script) a little safeguard to make sure it only runs one time, but since all you're doing is front-loading things and then not doing anything else, you shouldn't need to bother with that. Add the items and perks and then stop the quest. It won't run again unless something else turns it back on.
User avatar
Lakyn Ellery
 
Posts: 3447
Joined: Sat Jan 27, 2007 1:02 pm

Post » Mon Jun 18, 2012 7:10 am

But would this start the quest even if someone enables the esp and loads up an existing save? Or would this method only work on a new game?
User avatar
amhain
 
Posts: 3506
Joined: Sun Jan 07, 2007 12:31 pm

Post » Mon Jun 18, 2012 6:00 pm

It will work on loading a save or at new game.

Start Game Enabled means that the quest (if it's not already stopped/completed) will start whether you start a new game or load up an existing one :)
User avatar
katie TWAVA
 
Posts: 3452
Joined: Tue Jul 04, 2006 3:32 am

Post » Mon Jun 18, 2012 12:47 pm

Wow, that's great. Thanks a ton for the help :)
User avatar
Len swann
 
Posts: 3466
Joined: Mon Jun 18, 2007 5:02 pm


Return to V - Skyrim