amokrun1 Posted August 2, 2019 Share Posted August 2, 2019 I am trying to apply a condition to a weapon by means of a script but I have next to no knowledge of scripting. So, I found a mod that does a similar thing and opened it in the CK to learn the scripting involved, but the edit source option is greyed out. From what I know, the CK needs to know where the scripts are for this option to be available. I found the script I want to open in data/scripts and so I adjusted the CreationKit.ini under Papyrus as follows: sAdditionalImports = $(source);.\Data\Scripts;.\Data\Scripts\Source\Base;.\Data\Scripts\Source\DLC01;.\Data\Scripts\Source\DLC02;.\Data\Scripts\Source\DLC03;.\Data\Scripts\Source\DLC04;.\Data\Scripts\Source\DLC05;.\Data\Scripts\Source\DLC06" It still cannot give me the edit source option. Can anyone advise? Also, it's a pex file, not sure if that has any effect. Link to comment Share on other sites More sharing options...
SKKmods Posted August 2, 2019 Share Posted August 2, 2019 You need both the compiled PEX in \Scripts and the editable text PSC in \Scripts\Source\User. Use champollion to decompile the PEX to PSC. Link to comment Share on other sites More sharing options...
amokrun1 Posted August 2, 2019 Author Share Posted August 2, 2019 Through searching I found that the PEX files are not available with edit source, so I'm with you there. I also found Champollion, but I'm embarrassed to say I don't know how to launch it. Do I need to use the command prompt? Also, the mod I am trying to learn from only has a PEX file, no PSC. Uncertain if this is relevant. Link to comment Share on other sites More sharing options...
Balx2 Posted August 3, 2019 Share Posted August 3, 2019 Extract Champollion then drag the .pex file onto the Champollion.exe or right click the .pex file choose properties and change opens with to champollion then double click on the pex and you should have a .psc to take a gander at. Link to comment Share on other sites More sharing options...
amokrun1 Posted August 5, 2019 Author Share Posted August 5, 2019 Yes, thank you! No GUI forced me to find this through trial and error. Link to comment Share on other sites More sharing options...
Recommended Posts