Skyrim

File information

Last updated

Original upload

Created by

Mstrgareth

Uploaded by

Mstrgareth

Virus scan

Safe to use

About this mod

SVCM is a voice control module that allows users to map ALL their spells, shouts and powers to a voice control file (Windows Speech Recognition**). It also has the ability to save and equip gear combos and manage a single follower. The process is as automated as possible with Skyrim's scripting language "Papyrus" and the SKSE add-on

Permissions and credits
Changelogs
Skyrim Voice Control Module (SVCM)

Description
=========================================================
SVCM is a voice control module that allows users to map ALL their spells, shouts and powers to a voice control file (Windows Speech Recognition**). It also has the ability to save and equip gear combos and manage a single follower. The process is as automated as possible with Skyrim's scripting language "Papyrus" and the SKSE add-on. This module will handle the loading portion, but does not fire the loaded ability so the user retains finer control over the abilities use.

A follower can also be mapped and issued voice commands, see below.

Primary Features:
    Can easily map up to 800 spells/Powers
    Can easily map up to 100 Shouts
    Efficient response times
    Ability to toggle equip state (right/left/dual/cycle)
    Can issue commands to upto 5 followers
    5 right and left hand combo slots for weapons/spells/shield
    Rapid shout toggle
    Auto shout toggle

Misc. Features:
    Ability to toggle debug logging as needed
    Command to toggle Exp gains for levelling (persistent after game save)

**Other voice control programs are possible if there is enough community interest.

How It Works
==========================
SVCM will cycle through all your spells and powers to build its required lists. Shouts can be recorded by equipping them and activating a hotkey that tells SVCM to record your current shout. This allows SVCM to create complete lists of spells, powers and shouts no matter what mods you have installed.

In order to map so many potential abilities a multiple sequential keystroke input was implemented, so instead of being limited to a smaller number of possible combinations (cntl+1,alt+1,Shift+1,1) the possibilities are now unlimited (within reason).

To ease the mapping process I have implemented key commands to build the lists then print a complete WSR macro file to the debug log for a simple cut & paste.

Requirements
==========================
SKSE: http://skse.silverlock.org/download/
Windows Speech Recognition Macros (win7/8):  http://www.microsoft.com/en-us/download/details.aspx?id=13045 IMPORTANT - Microsoft requires you to use Internet Explorer to authenticate the download.
Microphone

The control map is required to clear all bindings to the numpad keys. (one is linked on nexus page as Optional. MHP uses similar so you may not need a new one)


Compatibility
==========================
SVCM will conflict with any mod that remaps keys on the numpad or requires the use of a control map that doesn't clear the numpad bindings. MHP should not conflict by default, but you may have already mapped some numpad keys so they would need to be unmapped. MHP also uses custom control maps, many of which already unbind the numpad keys and handle the requirement.

Problems initializing have been seen when an excess of 110 modules are loaded.

Installation
==========================
First install Microsoft Speech Recognition Macros and confirm it is working.

Second install the control map to disable skyrim's default mappings for the numpad keys.
Download the control map listed in requirements and copy to ".\Skyrim\Data\Interface\Controls\PC\
Backup your previous control map first by simply renaming it. You can also choose to use the nexus mod manager to install, but it will not be able to backup the original control map.

Third, Install SVCM using the Nexus Mod Manager preferably.

Fourth, start skyrim and start using it =)


Using SVCM
==========================
Once in game, the first thing to do is build the spell/power lists. This is done by simply tapping the "9" key on the numpad 3 times rapidly. This will cause a notification in the left top corner letting you know its working. Don't do anything until you get another notification saying it is done.

Next, open your magic window and go to your shouts section. Equip your first shout then hit 9 9 2 rapidly on the numpad. If you haven't previously stored this shout you will get another notification letting you know it was added. Equip the next shout and hit 9 9 2 again to add the newly selected shout. Rinse and repeat until all your shouts are entered.

Now all your shout, powers and spells are saved to the modules internal lists. Do a quick save to make sure the data stays persistent.

Now we need to enable debug logging so we have a place to write the xml data for the WSR macro file. Tap 9 9 1 on the numpad and you should get a notification that logging is enabled.

Then tap 9 9 8 to begin the data dump to the log file. A notification will appear when it starts and another when it stops.

After it stops, hit 9 9 0 to close the debug file

Now we need to open the debug file, open start menu and click Documents. Go to "my games\Skyrim\Logs\Script" and open the file Papyrus0.log

The data you need will look like this:

    <?xml version="1.0" encoding="UTF-16"?>
    <speechMacros>
    <command priority="127">
            .....
            .....
            .....
            .....
    </list>
    </rule>

    </speechMacros>


Simply select and copy all of it then create a new text file and paste it inside and save as "SVCM.wsr"  (you can play with pronunciations and/or remove spells you wont use if you want, some wsr knowledge is wise)

After the file is saved then move it to "Documents\Speech Macros\". Now right click the file and select "Sign Speech Macros..."

Start up Skyrim and start playing.....

When you learn new spells and shout, this process will need to be repeated. I typically use a normal hotkey for a new spell/shout until I get enough to remake a new wsr file.

Commands and Usage
===============================
There are a few built in commands you can use, just speak the phrase as written (not usable until first wsr has been completed and signed).*

    build spell lists
    add shout to list
    dump lists
    enable logging
    disable logging
    stop levelling
    resume levelling
    
    equip left
    equip right
    dual wield
    equip cycle
    unequip spells
    save weapon set <1/2/3/4/5>
    equip weapon set <1/2/3/4/5>
    
    open Magic
    open Inventory
    open Map
    open Skills
    
    follow me
    wait here
    trade with me
    do me a favor    
    stop combat   (will re-agro rapidly if opponent not pacified)
    stand your ground
    Register follower <1/2/3/4/5>
    Follower <1/2/3/4/5>
    <followers name>
    Everyone follow me
    Everyone wait here
    
    Enable rapid shout
    Disable rapid shout
    
    Enable auto shout
    Disable auto shout
    
To use shouts, spells, follower commands, equip sets and powers you simply say them by name. If recognition doesn't work well for some spells then you can edit the wsr file, train windows speech recognition or try saying it differently.

*More commands are possible if community interest justifies it.

Follower commands
==============================
To use a follower you must first do the build process so your wsr file is complete and working. Then after registering your followers you need to remake the wsr file so it contains the updated names. Remaking the wsr file is only needed to use the actual followers names, the generic command of "follower <1/2/3/4/5>" will work without the remake if you want to delay a bit.

When in game and next to your follow you wish to use voice commands with, simply say "register follower <1/2/3/4/5>" and wait for the notification in the top left. Then move your cursor over your follower so the cursor changes to show the name of the follower. When done properly there will be a notification in the top left with the followers name. Once this is done, your follower is registered and you should do a game save to make it persistent.

From now on, you can simply use voice commands to direct your follower. To control which follower is accepting commands, simply say the followers name and wait for the notification in the top left showing the command was successful. Once control is initiated any successive commands will go to that follower. Instead of using the followers name you can also use "follower <1/2/3/4/5>". There are 5 commands that can be used "do me a favor", "wait here", "Stop Combat", "follow me" and "trade with me". "Stand your ground" has been added but is not very pretty and is turned off by using "follow me".

There are two commands that affect all followers at once, "Everyone follow me" and "Everyone wait here".

Rapid shout functionality
===============================
This allows the player to automatically use the highest powered version of the word with a single key tap instead of holding the key down to ramp up the number of words used. You can toggle the ability on and off so you can still access the first and second word versions if needed.

Auto shout functionality
===============================
This allows the player the ability to toggle whether a shout will be automatically fired when it is loaded by voice commands. The effective key tap will only be long enough to fire the first word of the shout, unless rapid shout is enabled which will result in the strongest version the player has available.

Custom WSR modifications
===============================
Users can get some very nice functionality by modifying the wsr file manually. A good example is a post in the "posts" section of the SVCM page on Nexus Mods by " luister777".

Credits
===============================
Thanks to SKSE for many useful papyrus functions.

Change Log
===============================
v1.0.7 Nov-30-2014:
    - Changed follower support to handle up to 5 followers

v1.0.6 Nov-13-2014:
    - Added "Rapid Shout" capability, toggleable.
    - Added "Auto Shout" capability, toggleable.

v1.0.5 Nov-02-2013:
    - Bug fix to correct left hand spells not equipping with weapon set combos.
    
v1.0.4 Nov-01-2013:
    - Added functionality to handle saving and equipping weapon sets. Saving a set will store both right hand and left hand contents
      for easy re-equipping as a combo set. Can use weapons, spells and/or shield. There is 5 sets available.
    - Added a "Stand your ground" command for follower. The follower will stop moving, but it isn't pretty. The follower will keep animating
      animating as if it is moving but is locked in place until the "Follow me" command is issued. BETA feature until I can find
      a better implementation.

v1.0.3 Oct-24-2013:
    - Added follower command "stop combat"
    - foxed an error that prevented hard coded commands from getting dumped to wsr file.
    
v1.0.2 Oct-23-2013:
    - Made the levelling setting persistent between game save so you don't have to remember to say command every game session.
    - Added a notification when a shout is equipped for consistency.

v1.0.1 Oct-21-2013:
    -Added more voice commands: "Open magic", "open inventory", "open skills", "open map", "Equip Cycle"
    -The new Equip Cycle command will rotate between right and left hand every time a spell is loaded.
    -Added voice controls for one Follower. This allows commands to be issued to the registered follower (favor, wait, follow, trade)