rwross Posted April 29, 2010 Share Posted April 29, 2010 So, I've wandered back into the world of Modding after taking enough time off that I've forgotten everything I once knew...which wasn't much ;-) Anyway, I'm running on a Mac now using BootCamp and that means most of the F-keys don't work. There is one particular mod, Expanded Hot Keys and Spell Delete http://www.tesnexus.com/downloads/file.php?id=20159 That simply won't work because it relies on the F8 key and that key is non functional on the Mac. I went into the Construction Set and made the associated .esp active but can't for the life of me find the script to edit it. I assume, I should look in the edit script section, but it seems to list EVERY script in all of Oblivion. I looked for something obviously named but couldn't find anything. Does anyone have any tips or suggestions on how to isolate the proper script and then how to edit and recompile? I read what I could find in the Wiki and aside from knowing not to "recompile all," i'm not sure what to do or avoid...and that of course presupposes that I can even find the right script to edit ;-/ Thanks for any help... ~rwr Link to comment Share on other sites More sharing options...
razorpony Posted April 29, 2010 Share Posted April 29, 2010 OK simplest way to do this is to load the mod into the CS like normal, then after it finishes loading click file then data again, make sure you have the mod highlighted, then click details. This will bring up a list of everything added or changed by the mod. Anything with the header SCPT is a script and you'll see 3, all starting with ehk. The one you're looking for is ehkcontrolscr. The line you want is this one: begin gameMode set configKey to 66 ; F8 Due to my being a bit of a geek with nothing better to do I looked up the codes amd found this page. Scroll down to extended ascii keyboard codes section to change 66 to whatever key you want. Hope this works for you. -Razorpony Link to comment Share on other sites More sharing options...
rwross Posted April 29, 2010 Author Share Posted April 29, 2010 Thanks...I think I'm following what you suggest; will try it tonight. Once I make the edit, do I just do a file->save or is there a different process? Thanks Again!! OK simplest way to do this is to load the mod into the CS like normal, then after it finishes loading click file then data again, make sure you have the mod highlighted, then click details. This will bring up a list of everything added or changed by the mod. Anything with the header SCPT is a script and you'll see 3, all starting with ehk. The one you're looking for is ehkcontrolscr. The line you want is this one: begin gameMode set configKey to 66 ; F8 Due to my being a bit of a geek with nothing better to do I looked up the codes amd found this page. Scroll down to extended ascii keyboard codes section to change 66 to whatever key you want. Hope this works for you. -Razorpony Link to comment Share on other sites More sharing options...
razorpony Posted April 29, 2010 Share Posted April 29, 2010 You have to save that one script (NO RECOMPILE) and then save the .esp itself. Depending on how the mod works you may need to uninstall and do a clean savegame then reinstall it, or you might just need to wait a few seconds for the scripts to kick in with the new changes. Also, I don't know if you have this mod in a particular spot in your load order, but saving it will move it to the last spot. If it needs to be farther up you'll have to move it using OBMM or Wrye bash. Good luck -Razorpony Link to comment Share on other sites More sharing options...
rwross Posted May 1, 2010 Author Share Posted May 1, 2010 Well, your instructions were crystal clear and I found exactly what I needed to do, but the CS kept throwing up an error and refused to let me save the script. Error was:Script 'ehkControlSCR', line 21:Syntax Error. Unknown command 'isKeyPressed2. So I wanted to change the configKey to 63 from 66 and the change would not take. Any thoughts? thanks!!rwr You have to save that one script (NO RECOMPILE) and then save the .esp itself. Depending on how the mod works you may need to uninstall and do a clean savegame then reinstall it, or you might just need to wait a few seconds for the scripts to kick in with the new changes. Also, I don't know if you have this mod in a particular spot in your load order, but saving it will move it to the last spot. If it needs to be farther up you'll have to move it using OBMM or Wrye bash. Good luck -Razorpony Link to comment Share on other sites More sharing options...
Shadowfen Posted May 1, 2010 Share Posted May 1, 2010 Well, your instructions were crystal clear and I found exactly what I needed to do, but the CS kept throwing up an error and refused to let me save the script. Error was:Script 'ehkControlSCR', line 21:Syntax Error. Unknown command 'isKeyPressed2. So I wanted to change the configKey to 63 from 66 and the change would not take. Any thoughts? thanks!!rwr Looked up the isKeyPressed2 function in the TES Construction Set wiki: (http://cs.elderscrolls.com/constwiki/index.php) to verify that it comes from OBSE - not vanilla scripting. Regarding OBSE functions:Scripts written with these new commands must be written via the TESConstructionSet launched with obse_loader. Open a command prompt window, navigate to your oblivion install folder, and type "obse_loader -editor". The normal editor can open plugins with these extended scripts fine, it just can't recompile them and it will give errors if you try. Link to comment Share on other sites More sharing options...
Recommended Posts