Jump to content

Unable to get scripts to run


Recommended Posts

I can't get any of my scripts to run, not sure what is wrong. I've taken a look at registrator2000's BulletTime mod, and he said I could use that as a baseboard to get mine working. I'm not sure if the scripts are running or not, or if they are compiled/written incorrectly, etc. I can call out his scripts from my esp and they run fine, so I'm confused why mine don't run.

 

Originally I used Champollion to decompile his scripts, caprica wouldn't recompile the PSC into PEX though. I did find a workaround though: Write code in PSC format, compile with Skyrim, use PEXUpgrader to convert to FO4 format. (what a pain!). But after all that, PEXInspector and Caprica were able to look at the scripts just fine. I've been comparing them to the working BulletTime scripts, and I can't see anything wrong with the scripts themselves, other than they don't activate. (well, only one activates upon loading the savegame. Once it has run once though, it will not run again.) I've tried re-writing them in PexInspector, decompiling and comparing to BulletTime's scripts, then recompiling, both to no avail.

 

 

 

RFBCourserEquip gives the player the config consumable item. - This script activates on loading the game, which is what I want. The downside is that it only activates ONCE, and will not run a second time if it has already run on that save. This is problematic because it ensures the configtool item is given to the player, without it running, they won't have it.

 

RFBCourserConfigScript - This is the config menu. This should give the player a replacement ConfigTool (since its consumable), then open up the main menu for the mod. From there, you have 3 choices to determine what you want to configure. Two of the choices have sub-menus. I wanted to go this route because its less clutter than having 7+ choices in the one popup menu.

 

CourserActiveCamo - This is suppose to add the Magic Effects to the player for the Camo effect, and the AP drain. It also gives the player a replacement trigger, and turns the spells off if it runs a second time.

 

ActiveCamoDispel - This turns the spells off if the player runs out of AP.

 

 

 

Not sure what's going wrong. I'm sure its probably something simple, but I can't find it. Any help would be appreciated.

Edited by Robbery525
Link to comment
Share on other sites

  • Recently Browsing   0 members

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