Jump to content

Skyrim Sprinting Scripting Problem


RS13

Recommended Posts

I want to use Skyrim Sprinting For Oblivion (http://www.nexusmods.com/oblivion/mods/41539). However, in the first comment Gallion says " This mod does not play well with speed and athletics changing while sprinting (eg by Fortify spells) and can cause permanent buff/debuffs if that happens. If you replace the sprinting script's use of forceav with modav, this won't happen." Now, I'm a complete scripting novice, but even I can replace one word with another.

 

However, the CS will not let me save the script (regardless of whether I make any changes or not). The error I get is

 

Script 'aaaSprintingScript', line 19:

Syntax Error. Unknown command 'IsKeyPressed2'.

 

Now Gallion did say that I'd need to install the construction set extender, but so I downloaded it and installed it. I have everything installed that it required, I unblocked the archive, then unzipped it into the oblivion root directory. CS and OBSE loader are each set to run as administrator.

 

Any help?

 

 

Tl;dr: trying to change one word in a script but getting an error unrelated to that change.

Edited by RS13
Link to comment
Share on other sites

Your CS is complaining about this OBSE function being unknown to it, because you ran your CS without OBSE.

 

Installing the CSE is a good thing, but not for that reason. Even when using the CSE you still need to use a way to start the CS "through" OBSE. There should be means to do that coming with the CSE install already, but given the problem wasn't solved for you yet, I take it you're either not using them now or they weren't done correctly during install.

 

The proper way to launch the CS "with" OBSE is to run the "obse_loader.exe" with the parameter "-editor". This will run the OBSE loader but instead of the game it will launch the CS, and insert its code enhancements into this one's code after loaded into memory. Then you can change and compile scripts containing OBSE functions as well in the CS.

 

Pre-CSE we were promoting to create a shortcut to your "obse_loader.exe" and just change the command line to "obse_loader.exe -editor" instead.

But with CSE there should be additional launch files that should be used instead of just clicking the CS icon from now on. Though in case there aren't, the pre-CSE approach will still always work.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...