Jump to content

Hotkey PCB


drithius

Recommended Posts

Since I can't find a satisfactory PCB mod for FNV, I've been trying to make a (very) simple mod that allows you hit a hotkey (backspace) for PCB. However, I am completely inexperienced with creating scripts in GECK and can't seem to make this work:

scn PCBHotKeyScript

Begin GameMode
    if isKeyPressed 14
        PurgeCellBuffers
        ShowMessage PCBHotkeyMessage
    endif
End

The above should be the code but I can't figure out how to tie it all together into the esp. Is it a "Quest" script type?

 

Edit: well, I've made some progress on the troubleshooting front. I was using an old version of GECK powerup as well as also not using an NVSE-capable version. I've corrected those issues but now I'm getting the below error - anyone have some clarification for me?

 

http://img513.imageshack.us/img513/2742/i8ja.jpg

Edited by drithius
Link to comment
Share on other sites

Just change the name of, I assume, your quest from "PCBHotKeyScript" to whatever else, I'd recommend "PCBHotKeyQuest".

 

Technically speaking, you don't even need to do that, as your quest has already been renamed (to "PCBHotKeyScriptDUPLICATE000"), but this will keep it nice and neat. So long as your quest is set to "Start Game Enabled", and its script is set to "PCBHotKeyScript" you ought to be good to go! :)

Link to comment
Share on other sites

The thing is, I didn't name my quest PCBHotkeyScript - it was already PCBHotkeyQuest. That's why I'm not at all sure what the error message is talking about =/ The below is what I've been trying to input, and getting the above 'not unique' error. And, if I hit yes on the error message (to rename), nothing happens - no renaming, no saving.

 

http://img546.imageshack.us/img546/475/x71m.jpg

edit: actually, i've been setting the script type to quest, just noticed the mistake after I posted the image. It doesn't work either way though.

Edited by drithius
Link to comment
Share on other sites

Have you been typing that script in by clicking on the "...", next to where it says script? If you have, you should instead select "PCBHotkeyScript" from the drop-down list.

 

I should say though, that quests are weird. Before you can access the drop-down list, you will need to save your quest, just as it is, and then go back to it to be able to do anything.

 

You'll also need to set the priority, I find that fifty works for me, but honestly I don't think it matters too much on what you set it to. You may also want to change the "Script Processing Delay" as by default it means that the script attached to it will run every five seconds. That means that you would need to, at most, hold down the hotkey for five seconds before anything happened. I'd try 0.5 since you're using a hotkey. :)

Link to comment
Share on other sites

Finally... got it to work! Jojash, your comment about saving the script first got me to do just that in the standalone editor, then I used the dropdown quest menu to add it. Jeez, what a temperamental piece of ...

Edited by drithius
Link to comment
Share on other sites

  • Recently Browsing   0 members

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