SonOfCronus Posted January 23, 2014 Share Posted January 23, 2014 I am trying to alter Torch Hotkey hotkey from "9" to "T". I am having problems as I am not sure what program to use. I run Tes4Edit and then tried to edit the script source. I can copy it into notepad but I do not know how to copy the text back into Tes4Edit as multi-line. It only copies the first line and leaves the rest out. scriptname aaTorchHotkey float fQuestDelayTime short curKey short hotKeyHere the script source I am chaning. I highlighted the bit I changed. Begin gamemode if ( curKey && isKeyPressed3 curkey ) ; key still being held down return ; wait until it's released else set curkey to 0 endif if ( isKeyPressed3 hotKey ) if ( player.GetEquipped torch02 ) player.UnequipItemNS torch02 else if ( player.GetItemCount torch02 > 0 ) player.EquipItemNS torch02 else Message "You don't have any torch to equip." endif endif set curKey to hotKey endif if ( GetGameRestarted ) ; setting script to run at about every 2nd frame (when running at 60fps). set fQuestDelayTime to 0.0334 set hotKey to 20 PrintToConsole "New hotkey initialized: Torch(9)." endif end Link to comment Share on other sites More sharing options...
Legotrash Posted January 23, 2014 Share Posted January 23, 2014 You have to use the construction set. Link to comment Share on other sites More sharing options...
DrakeTheDragon Posted January 23, 2014 Share Posted January 23, 2014 I have to agree with Legotrash. While several 3rd party apps may be able to alter the script 'sources', it is impossible for anything but the CS to actually 'compile' the changes into functioning scripts. The compiler code was never made open source and is likely protected even not to be copied. Link to comment Share on other sites More sharing options...
SonOfCronus Posted January 24, 2014 Author Share Posted January 24, 2014 Thanks you both. Was hoping there was something simpler as I am unable to get my head around CS. Link to comment Share on other sites More sharing options...
Legotrash Posted January 24, 2014 Share Posted January 24, 2014 CS is really not so hard to learn and the best way to start doing so IMHO is by tweaking an existing mod that you use and like (as you are already doing). Go for it and you'll get the hang of it. :) Link to comment Share on other sites More sharing options...
SonOfCronus Posted January 25, 2014 Author Share Posted January 25, 2014 (edited) Go for it and you'll get the hang of it. :smile: CS has one of the worlds worse interface but still a lot better than Skyrim. Figured it out by reading toolbar description. Script Editor button. Took me a lot longer to figure out how I had to run CS through OBSE to be able to get it to save. Edited January 25, 2014 by SonOfCronus Link to comment Share on other sites More sharing options...
Recommended Posts