For background, I'm trying to work on a smaller/more minimal overhaul mod for Skyrim that focuses on difficulty for multiple playthroughs, etc. One of those features I want to add is a greater focus on stamina useage and conservation - if the player has to make a tactical retreat from battle and get to higher ground, I think there should be at least a stamina consideration in this - hence the jumping penalty to go along with sprinting.
I last tried making this mod a few months ago, and it looks like http://www.creationkit.com/Input_Script since then - and I’m hoping someone can provide me with the “best”/cleanest way to do this. My idea right now is to:
- Have a script attached to the player (Is it better to have this as a quest? Do I have to worry about the Brawl Bug?)
- Have the script detect when the player presses Spacebar (is there a way to detect if the player rebinds spacebar?)
- Reduce the player's current stamina (Not even sure where to begin with this)
- Finish the script and detect the next keypress.
Seems simple enough, but as a scripting noob I'm not sure if this is the right line of thinking, which functions are optimal to use, etc. Any help and guidance on this would be appreciated. Thanks!