Jump to content

Compiling Scrips Assistance please


mavmanzero

Recommended Posts

I having trouble compiling. I get this massage: unable to locate script Alias

This is a Base script from FormID: 23C675
Scriptname RedRocketPaintJobCertificateScript extends ObjectReference
GlobalVariable Property PA_Global_Material_RedRocket Auto
Message Property RedRocketPowerArmorPaintJobPurchaseMessage Auto
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
if akNewContainer == Game.GetPlayer()
Debug.Trace("Doing frame stuff for Player")
PA_Global_Material_RedRocket.setValue(1)
RedRocketPowerArmorPaintJobPurchaseMessage.Show()
Delete()
endIf
endEvent

 

 

 

Link to comment
Share on other sites

I don't know where is you mod location but you need:

1) Make in folder Scripts folder "YourModdfoldername" - I use for example RR (red rocket)

2) Move you scripts source file in Source ->Users-> RR folder

3) In fo4edit write RR:RedRocketPaintJobCertificateScript

4) In scrip txt file write Scriptname RR:RedRocketPaintJobCertificateScript extends ObjectReference

5) Compile in CK papyrus script compiler part

 

Must be worked - for me it's worked

where "RR" is yourModfolderName

Link to comment
Share on other sites

Fixed:

 

You need folder data->Scripts->RR - where will be your compiled scripts (pex)

Your source files need be in folder data->scripts>source->user->RR - scripts text file here

Open ck -> gameplay->papyrus script manager->found your source script file->right mouse button on it->compile

 

Where RR - isyourmodfolderName

Edited by Elsidia1
Link to comment
Share on other sites

If you look in Data/Scripts/Source/Base can you see the Alias.psc?

 

If not, maybe the ck didn't automatically unpack the base scripts when you installed it. You can extract it yourself from Fallout 4\Data\Scripts\Source\Base\Base.zip, to Fallout 4\Data\Scripts\Source\Base\

Link to comment
Share on other sites

  • Recently Browsing   0 members

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