Jump to content

scripting compile and save errors


Recommended Posts

Yesterday when I tried to save or compile scripts I didn't need a "base" folder in scripts>source. Today I get an error about not having one, so I created it. Then I started getting these errors:


Compiling "AkaShowerScript"...

<unknown>(0,0): Unable to find flags file: Institute_Papyrus_Flags.flg

C:\Users\allou\AppData\Local\Temp\PapyrusTemp\AkaShowerScript.psc(3,26): Unknown user flag mandatory

C:\Users\allou\AppData\Local\Temp\PapyrusTemp\AkaShowerScript.psc(4,14): Unknown user flag mandatory

C:\Users\allou\AppData\Local\Temp\PapyrusTemp\AkaShowerScript.psc(5,5): Unknown user flag mandatory

C:\Users\allou\AppData\Local\Temp\PapyrusTemp\AkaShowerScript.psc(6,5): Unknown user flag mandatory

C:\Users\allou\AppData\Local\Temp\PapyrusTemp\AkaShowerScript.psc(7,13): Unknown user flag mandatory

C:\Users\allou\AppData\Local\Temp\PapyrusTemp\AkaShowerScript.psc(8,6): Unknown user flag mandatory

C:\Users\allou\AppData\Local\Temp\PapyrusTemp\AkaShowerScript.psc(9,15): Unknown user flag mandatory

C:\Users\allou\AppData\Local\Temp\PapyrusTemp\AkaShowerScript.psc(10,15): Unknown user flag mandatory

No output generated for AkaShowerScript, compilation failed.


Batch compile of 1 files finished. 0 succeeded, 1 failed.

Failed on AkaShowerScript


Link to comment
Share on other sites

Compiler is not set up correctly, it needs file with flags on input. You are trying to compile the script that uses one of the flags "Mandatory", while flag file for Fallout4 scripting is not found by compiler " Unable to find flags file: Institute_Papyrus_Flags.flg".

Link to comment
Share on other sites

Compiler is not set up correctly, it needs file with flags on input. You are trying to compile the script that uses one of the flags "Mandatory", while flag file for Fallout4 scripting is not found by compiler " Unable to find flags file: Institute_Papyrus_Flags.flg".

 

Ok. Can you tell me how to fix this? I am trying to utitlize this script without really knowing anything about scripting. So any help would be appreciated.

Link to comment
Share on other sites

 

Compiler is not set up correctly, it needs file with flags on input. You are trying to compile the script that uses one of the flags "Mandatory", while flag file for Fallout4 scripting is not found by compiler " Unable to find flags file: Institute_Papyrus_Flags.flg".

 

Ok. Can you tell me how to fix this? I am trying to utitlize this script without really knowing anything about scripting. So any help would be appreciated.

 

 

If you use compiler inside CK, everything must be set up already. If you use standalone one in the fallout4 folder you must create batch file (with bat extension, one i created named compileme.bat and is placed in same folder with compiler) with the following content:

 

"D:\Fallout 4\Papyrus Compiler\PapyrusCompiler.exe" %1 -f="D:\Fallout 4\Data\Scripts\Source\Base\Institute_Papyrus_Flags.flg" -i="D:\Fallout 4\Data\Scripts\Source\Base" -o="D:\Fallout 4\Papyrus Compiler" -op

 

just change the path to your fallout4 folder, when to compile script file use command (without quotes): "compileme my.psc" at the command line, while you are in compiler directory.

Edited by Engager
Link to comment
Share on other sites

  • 8 years later...

Is there a way to get the flags for Version 1.10.163.0?  I'm using the GOG version, set to pre-Next-Gen, and there doesn't seem to be a way for me to get the file with the flags in it.

 

Edit: I was able to get it from the Creation Kit, and it seemed to work fine on my version, although I couldn't get the Creation Kit to work directly with my GOG version of Fallout 4.  I was able to use FO4Edit still, and could use the Papyrus Compiler through console scripting.

Edited by NiftyPower
Link to comment
Share on other sites

  • Recently Browsing   0 members

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