The Elder Scrolls V: Skyrim

The Elder Scrolls V: Skyrim

View Stats:
Adding custom shouts to player automatically
Hello everyone,

For a long time I've wondered about how I can add 'stuff' to my character automatically the first time a save loads with a mod installed (for me that is always on a completely fresh game anyway, I've learned over the years not to change things midway through).

In my current case, I am making some custom shouts, just for fun. They are OP but they are for a dragon-humanoid 'queen' character and need to be OP, again, just for fun. But I would like to add the new words and unlock them as well, as soon as the game loads the mod for the first time.

I'm very bad when it comes to scripting. I have looked things up to no avail, so... can anyone please guide me?

Thanks in advance!

- DIaborMagics
< >
Showing 1-7 of 7 comments
CraftyWülf Oct 5, 2017 @ 9:36am 
You'd probably best end up using an onTrigger event in papyrus. Setting that to add your new shouts and powers based on an object or space.

Either add some item to the game that you can interrect with to give you the shouts, or make it happen on loading a certain cell like say the live another life room.

Game.UnlockWord <-- is the script command for teaching you words that way. Just give it a trigger to go allong with it.

Edit: If you do want them right on game start.. the command is : Event OnInit()
You put the script event between those brackets. Do make sure you call an end to that event however, since if you don't the game is just going to keep on giving you copies of the same shouts every time you load the game.
Last edited by CraftyWülf; Oct 5, 2017 @ 9:45am
Altbert Oct 5, 2017 @ 10:25am 
Best way (imho) is to use the OnTriggerEnter event and place the trigger activator someplace. Be sure that only the player activates the trigger and the trigger disables itself to prevent multiple copies. Attach a script to the trigger, which might look like this:

ScriptName ShoutTrigger Extends ObjectReference Import Game WordOfPower Property myWord Auto Actor Property PlayerRef Auto Event OnTriggerenter(Actor akActionRef) If (akActionRef == PlayerRef) TeachWord(myWord) UnlockWord(myWord) EndIf Self.Disable() EndEvent
DiaborMagics Oct 5, 2017 @ 12:11pm 
ok ill need to sit down and go over this carefully... with not even knowing what to attach the script to, this seems like rocket science to me XD
(i have made mods before but hardly ever used scripts. the few ones i've used were things ive added long ago and they did not need something like on game load events or whatever... an example is a perkbook. attach script to book, that was clear enough :P i just tried it, but im tired. got all kinds of errors (tried it on a quest... first quest i ever made >.< ) and just discarded the changes made. ill try again later)

thanks for the quick replies guys, i appreciate it :D
Kaytid Oct 5, 2017 @ 12:35pm 
Use normal shouts like everyone else
Bloodhawk Oct 5, 2017 @ 1:32pm 
The way I give myself stuff when I start a new character is to just make a batch file and run it with the console. Just figure out what console commands you'd need to give yourself what you want, then write them all in a basic text file, give the file a name, and then stick it in your Skyrim folder. When you're in the game just open the console and type "bat <filename>" and it will run all of the commands in the file.

So in your case, you'd need to find the IDs for your custom shouts, then put commands to learn them in your batch file. The command to add shouts is "teachword <word ID>".
N2-Power Oct 5, 2017 @ 5:22pm 
The best way would be an MCM, which are surprisingly easy to do. Especially if you want to go deeper into the modding zone.
Last edited by N2-Power; Oct 5, 2017 @ 5:25pm
DiaborMagics Oct 6, 2017 @ 1:45pm 
Originally posted by My name is Jeff:
The way I give myself stuff when I start a new character is to just make a batch file and run it with the console. Just figure out what console commands you'd need to give yourself what you want, then write them all in a basic text file, give the file a name, and then stick it in your Skyrim folder. When you're in the game just open the console and type "bat <filename>" and it will run all of the commands in the file.

So in your case, you'd need to find the IDs for your custom shouts, then put commands to learn them in your batch file. The command to add shouts is "teachword <word ID>".
I know what bat files are, but thanks for the explanation anyway, too few people know about them. I've actually been making quite a lot - it helps to quickly get back into action again if I decide I want to build a new mod list with the same character. All commands that stay the same (base game/DLC ones) can be reused over and over again.

Anyway... I thought at first that a bat file might not help here, but I was being too tired and too dumb yesterday. I made the spells for the shouts but did not actually add the shouts themselves that reference the effects and the words to unlock.... yeah... good going, me!
So I opted for the bat file anyway and since the powerful version unlock alongside the normal versions of shouts, it can be used for other characters now, too. I don't think too many people would be interested in this little mod so I won't have to implement a script, you're right if you thought of it that way. So I won't. I'll stick with batting or normal progression. I can always roleplay an ancient dragon king or queen that has forgotten all about her past and slowly reawakens and takes revenge on Alduin or something. I dunno. Would have to be fleshed out a bit more :P
< >
Showing 1-7 of 7 comments
Per page: 1530 50

Date Posted: Oct 5, 2017 @ 9:26am
Posts: 7