Jump to content

Creation Kit Basic Scripting Problem


bkrotti

Recommended Posts

Yesterday I started to work with CK but my script didn't work. I know you probably answered this type of question but i couldn't find any solution.

 

This is the error I keep getting.

 

Starting 1 compile threads for 1 files...
Compiling "HelloWorld"...
Steam\steamapps\common\skyrim\Data\Scripts\Source\Game.psc(251,57): unknown type imagespacemodifier
Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(477,45): unknown type impactdataset
No output generated for HelloWorld, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on HelloWorld
Link to comment
Share on other sites

Without seeing the script the best guess is that you forgot to define your properties or variables. You have to close the source code window, then click on the properties button, or right click on the script like you would to edit the source code, and click edit properties. Make sure you pick a specific image space modifier and anything else you are using. Also based on the HelloWorld title I assume this is one of your first scripts, if so, you should probably try watching tutorials on basic programming for languages like java or c++ on YouTube. Any knowledge of those programming languages help make the CK seem easier to work with.

Link to comment
Share on other sites

Is this your first attempt at compiling a script?

 

See the following quote taken from http://www.nexusmods.com/skyrim/mods/70883/?

  Quote

 

You also must, must, must extract the Scripts.rar archive in your Skyrim/Data into Skyrim/Data. In the latest update, Bethesda (Beth) moved all of the source files into that archive, and you cannot script without the source files. You will run into a bunch of compiler errors and will be unable to script if you don’t do this!

 

There is a lot of good information on scripting both in general and in-depth. Please be sure to read it as well as the information on the Creation Kit wiki.

Link to comment
Share on other sites

Thanks for replies. Actually I didn't try to write a script, I'm trying to do this tutorial http://www.creationkit.com/Bethesda_Tutorial_Papyrus_Hello_World and I stucked at this point http://www.creationkit.com/images/7/77/Papyrus_Tutorial1_NewScript.jpg. After I hit OK compiler gives the error which I mentioned.

Edited by bkrotti
Link to comment
Share on other sites

  On 11/4/2015 at 2:37 PM, bkrotti said:

Thanks for replies. Actually I didn't try to write a script, I'm trying to do this tutorial http://www.creationkit.com/Bethesda_Tutorial_Papyrus_Hello_World and I stucked at this point http://www.creationkit.com/images/7/77/Papyrus_Tutorial1_NewScript.jpg. After I hit OK compiler gives the error which I mentioned.

Did you extract the scripts.rar file located in your Skyrim/Data folder. If you have not you will have problems compiling scripts anyway.

 

See this Post for instructions on how to do it and where to put the source files.

Edited by Aragorn58
Link to comment
Share on other sites

  On 11/4/2015 at 2:37 PM, bkrotti said:

Thanks for replies. Actually I didn't try to write a script, I'm trying to do this tutorial http://www.creationkit.com/Bethesda_Tutorial_Papyrus_Hello_World and I stucked at this point http://www.creationkit.com/images/7/77/Papyrus_Tutorial1_NewScript.jpg. After I hit OK compiler gives the error which I mentioned.

As I said I didn't put any code. At this http://www.creationkit.com/images/7/77/Papyrus_Tutorial1_NewScript.jpg point i getting this error.

 

Starting 1 compile threads for 1 files...
Compiling "HelloWorld"...
Steam\steamapps\common\skyrim\Data\Scripts\Source\Game.psc(251,57): unknown type imagespacemodifier
Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(477,45): unknown type impactdataset
No output generated for HelloWorld, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on HelloWorld
And of course kit doesn't add to the script at the reference window.
But in the scripts folder I can see my HelloWorldScript.psc file.
Link to comment
Share on other sites

If you are following the Hello World tutorial to the letter and you are getting those errors it indicates:

You have missing base scripts in \Data\Scripts\Source\ directory or running CK from a virtual directory so it can't find the source scripts.

eg: MO not configured properly or some other mod manager that keeps your game directory clean and runs stuff from another directory.

 

There is no other reasons.

Edited by sLoPpYdOtBiGhOlE
Link to comment
Share on other sites

  • Recently Browsing   0 members

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