Jump to content

[LE] Can't Create New Scripts


Recommended Posts

I am trying to create a new quest script so I type the name of the quest as _PGQMaintenance and in Extends I type "Quest". Then When I click "OK" I get the following errors:

Starting 1 compile threads for 1 files...
Compiling "_PGQMaintenanceScript"...
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,1): no viable alternative at character ':'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,3): mismatched character 'p' expecting '\n'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,23): mismatched character 's' expecting '\n'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,29): mismatched character 's' expecting '\n'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,39): mismatched character 'c' expecting '\n'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,46): mismatched character 's' expecting '\n'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,69): mismatched character 'd' expecting '\n'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,74): mismatched character 's' expecting '\n'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,81): mismatched character 's' expecting '\n'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,89): mismatched character 'q' expecting '\n'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,103): no viable alternative at character ':'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,148): no viable alternative at character ':'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,185): no viable alternative at character '''
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,187): no viable alternative at character ':'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,189): mismatched character 'p' expecting '\n'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,209): mismatched character 's' expecting '\n'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,215): mismatched character 's' expecting '\n'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,225): mismatched character 'c' expecting '\n'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,232): mismatched character 's' expecting '\n'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,255): mismatched character 'd' expecting '\n'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,260): mismatched character 's' expecting '\n'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,267): mismatched character 's' expecting '\n'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,275): mismatched character 'q' expecting '\n'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,284): no viable alternative at character '''
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(1,0): missing SCRIPTNAME at 'Starting'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(1,9): required (...)+ loop did not match anything at input '1'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(1,31): required (...)+ loop did not match anything at input '1'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(1,19): Unknown user flag for
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,17): required (...)+ loop did not match anything at input '('
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,4): Unknown user flag Files
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,94): required (...)+ loop did not match anything at input '.'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,30): Unknown user flag ommon
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,30): Unknown user flag kyrim
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,30): Unknown user flag Special
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,30): Unknown user flag Edition
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,30): Unknown user flag ata
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,30): Unknown user flag ource
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,30): Unknown user flag cripts
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,30): Unknown user flag uest
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,203): required (...)+ loop did not match anything at input '('
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,128): Unknown user flag read
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,128): Unknown user flag script
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,128): Unknown user flag Quest
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,128): Unknown user flag The
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,128): Unknown user flag process
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,128): Unknown user flag cannot
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,128): Unknown user flag access
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,128): Unknown user flag the
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,128): Unknown user flag file
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,128): Unknown user flag C
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,128): Unknown user flag rogram
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,128): Unknown user flag Files
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,280): required (...)+ loop did not match anything at input '.'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,216): Unknown user flag ommon
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,216): Unknown user flag kyrim
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,216): Unknown user flag Special
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,216): Unknown user flag Edition
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,216): Unknown user flag ata
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,216): Unknown user flag ource
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,216): Unknown user flag cripts
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,216): Unknown user flag uest
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,210): script variable teamapps already defined
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,329): required (...)+ loop did not match anything at input '.'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,286): Unknown user flag it
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,286): Unknown user flag is
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,286): Unknown user flag being
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,286): Unknown user flag used
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,286): Unknown user flag by
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,286): Unknown user flag another
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(3,286): Unknown user flag process
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(4,46): required (...)+ loop did not match anything at input ','
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(4,3): Unknown user flag generated
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(4,3): Unknown user flag for
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(4,3): Unknown user flag _PGQMaintenanceScripts
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(4,66): required (...)+ loop did not match anything at input '.'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(6,17): required (...)+ loop did not match anything at input '1'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(6,6): Unknown user flag of
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(6,33): required (...)+ loop did not match anything at input '.'
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(7,7): Unknown user flag _PGQMaintenanceScripts
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Quest.psc(0,0): filename does not match script name: starting
No output generated for _PGQMaintenanceScript, compilation failed.

Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on _PGQMaintenanceScript

I tried reinstalling sse the ck and skse but nothing is working. I am running the ck through MO. Any ideas would be greatly appreciated.

Link to comment
Share on other sites

When running the creation kit on it's own I still get the same results. The code in the psc looks like this:

ScriptName _PGQMaintenanceScript extends Quest

and that's it. But I still get a million cryptic errors.

 

 

Edit: I also get the same results by using the powershell with this command:

.\papyruscompiler _PGQmaintenancescript -i="..\Data\Source\Scripts" -o="..\Data\Scripts"
Edited by drail15951
Link to comment
Share on other sites

In your Skyrim/Data directory, there should be a file labeled "Scripts.rar" try unzipping the contents of it and stuffing it into the Skyrim/Data/Scripts folder: let it make one if you don't already have it.

 

It contains a lot of necessary information that allows the CK to understand and run Papyrus, and there's a common bug where the CK can't actually read or run scripts while everything is in the .rar file, and therefore compiling a script will only result in a ton of errors.

Edited by Galcyon
Link to comment
Share on other sites

In your Skyrim/Data directory, there should be a file labeled "Scripts.rar" try unzipping the contents of it and stuffing it into the Skyrim/Data/Scripts folder: let it make one if you don't already have it.

 

It contains a lot of necessary information that allows the CK to understand and run Papyrus, and there's a common bug where the CK can't actually read or run scripts while everything is in the .rar file, and therefore compiling a script will only result in a ton of errors.

 

Thank you so much! That solved my problem. I'm off and running again!

Link to comment
Share on other sites

  • Recently Browsing   0 members

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