Jump to content

How do I change script .psc into .pex


Recommended Posts

When you compile and save the script in the Creation Kit, it gets converted from PSC to PEX. PSC is the readable/understandable code that you see when typing out a script. PEX is basically gibberish that only the game engine can understand.

Link to comment
Share on other sites

When you compile and save the script in the Creation Kit, it gets converted from PSC to PEX. PSC is the readable/understandable code that you see when typing out a script. PEX is basically gibberish that only the game engine can understand.

Thank you . But how I edit that .psc script in the Creation Kit? It is not origin game film . I can‘t find it in creationkit- gameplay- papyrus script manager.

Edited by haohao69869
Link to comment
Share on other sites

Method 1.)

In the Creation Kit you can go to Gameplay -> Script Manager and search for the script name. You can double click to edit it in notepad or some other text editor like Notepad ++

You can then go to Gameplay -> Compile Papyrus Scripts and search for the script to compile again.

 

Method 2.)

Or alternatively you can right click on a script that is "attached" to a Base Object or Object Reference and click Edit Source to edit it right in the Creation Kit's editor. I would probably just start here with this method since the Creation Kit will give helpful information in the compiling errors when you mess something up. When you're done editing you can click Compile in the top of the text editor and then save it. (Or just save it, saving attempts to compile).

 

Most scripts have to be "attached" to a Base Object or to an Object Reference. I'm willing to bet that whatever script you are trying to edit or whatever you are trying to create will need to be "attached" to something.

 

This is what a Base Object is

 

This is what an Object Reference is

 

A demonstration of "attaching" a script to a Base Object

Link to comment
Share on other sites

 

 

I can‘t find it in creationkit- gameplay- papyrus script manager.

 

 

Make a copy of your .psc and make sure it is in Data/Scripts/Source/User

 

SCRIPTS: Cannot open store for class "111111", missing file?
How to do? It crashes ..
Edited by haohao69869
Link to comment
Share on other sites

  • Recently Browsing   0 members

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