Jump to content

Compiling psc files?


Zeorik

Recommended Posts

Posted

I'm... at a loss. None of the attempts to compile a psc into a pex (Even psc I HAVEN'T edited!) have succeeded, and I 'have' to compile it in order to make WeighMorphs and Devourment work properly with SL Inflation Framwork. (Devourment adds a few things to the .pex, which aren't present for SLIF's patch.) Right now it's giving me a headache... I'm not this kind ofmodder! ? Not even entirely sure if how the code is 'set up' is proper so... if anyone can also verify what I did should function properly... I'd be appreciated.

 

Here's the lines of code I'm NOT certain of.

Spoiler

Event OnMagicEffectApply(ObjectReference akCaster, MagicEffect akEffect)
    If PlayerRef.HasSpell(AbilitySpeed) || PlayerRef.HasSpell(AbilitySpeedNegative)
        ;Apply new speed
        PlayerRef.ModActorValue("CarryWeight", 1)
        PlayerRef.ModActorValue("CarryWeight", -1)
    EndIf
EndEvent

 

This is the original SLIF patch code

 

Event OnMagicEffectApply(ObjectReference akCaster, MagicEffect  akEffect)
    If (akEffect == FoodDevourment)
                ChangeWeight(0.3 * MultGainDevourment)
    EndIf
EndEvent

 

This is the code in Devourment's patch. I'm guessing I'd need to combine the two, and from looking at the code (As I said... I can't write NEW code well) I'm guessing merging these lines would be something like this?

 

 

Event OnMagicEffectApply(ObjectReference akCaster, MagicEffect akEffect)
    If PlayerRef.HasSpell(AbilitySpeed) || PlayerRef.HasSpell(AbilitySpeedNegative)
        ;Apply new speed
        PlayerRef.ModActorValue("CarryWeight", 1)
        PlayerRef.ModActorValue("CarryWeight", -1)

    Else (akEffect == FoodDevourment)
                ChangeWeight(0.3 * MultGainDevourment)
    EndIf
EndEvent

 

Any help would be... really appreciated for an inexperienced person. The attached file doesn't have edits to the code above for being unsure how to merge or if either code is even necessary...

WeightMorphs.psc

Posted
20 minutes ago, orgs1n said:

Your code compiles just fine...

 

WeightMorphs.pex

 

What is the error that you're getting, then?

When putting it into  CK, it's something about it was expecting something , but got something else on line.. .239? or something. In others it just flat fails.

 

Would you also know how I ought to merge the lines of code in the spoilers?

Posted

Skyrim Script Compiler ProSE doesn't work to make a pex from it... CK doesn't like it either x-x Nor does running the compiler through Notepad, unless I've broken that.

Posted
1 minute ago, orgs1n said:

Personally I use PapyrusCompilerPlus, set up as an executable from MO.

Tried that... This is the result.

Spoiler

[ WeightMorphs.psc ]

Starting 1 compile threads for 1 files...
Compiling "WeightMorphs"...
No output generated for C:\Games\steamapps\common\Skyrim\Data\Source\Scripts\WeightMorphs.psc, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on C:\Games\steamapps\common\Skyrim\Data\Source\Scripts\WeightMorphs.psc


--- ERRORS ---

WeightMorphs.psc(0,0): unable to locate script ReferenceAlias
WeightMorphs.psc(123,15): unknown type actor
WeightMorphs.psc(124,15): unknown type spell
WeightMorphs.psc(125,15): unknown type spell
WeightMorphs.psc(126,15): unknown type spell
WeightMorphs.psc(127,15): unknown type spell
WeightMorphs.psc(128,18): unknown type formlist
WeightMorphs.psc(129,18): unknown type formlist
WeightMorphs.psc(130,18): unknown type formlist
WeightMorphs.psc(131,21): unknown type magiceffect
WeightMorphs.psc(156,11): variable SKSE is undefined
WeightMorphs.psc(156,16): none is not a known user-defined type
WeightMorphs.psc(156,47): cannot compare a none to a int (cast missing or types unrelated)
WeightMorphs.psc(156,47): cannot relatively compare variables to None
WeightMorphs.psc(156,72): variable NiOverride is undefined
WeightMorphs.psc(156,83): none is not a known user-defined type
WeightMorphs.psc(156,102): cannot compare a none to a int (cast missing or types unrelated)
WeightMorphs.psc(156,102): cannot relatively compare variables to None
WeightMorphs.psc(194,16): variable NiOverride is undefined
WeightMorphs.psc(194,27): none is not a known user-defined type
WeightMorphs.psc(204,8): RegisterForSingleUpdate is not a function or does not exist
WeightMorphs.psc(208,39): unknown type objectreference
WeightMorphs.psc(209,16): cannot compare a objectreference to a actor (cast missing or types unrelated)
WeightMorphs.psc(220,28): unknown type form
WeightMorphs.psc(220,50): unknown type objectreference
WeightMorphs.psc(223,25): formlist is not a known user-defined type
WeightMorphs.psc(223,36): cannot compare a none to a int (cast missing or types unrelated)
WeightMorphs.psc(223,36): cannot relatively compare variables to None
WeightMorphs.psc(225,30): formlist is not a known user-defined type
WeightMorphs.psc(225,41): cannot compare a none to a int (cast missing or types unrelated)
WeightMorphs.psc(225,41): cannot relatively compare variables to None
WeightMorphs.psc(227,29): formlist is not a known user-defined type
WeightMorphs.psc(227,40): cannot compare a none to a int (cast missing or types unrelated)
WeightMorphs.psc(227,40): cannot relatively compare variables to None
WeightMorphs.psc(234,41): unknown type objectreference
WeightMorphs.psc(234,63): unknown type magiceffect
WeightMorphs.psc(235,17): actor is not a known user-defined type
WeightMorphs.psc(235,53): actor is not a known user-defined type
WeightMorphs.psc(237,18): actor is not a known user-defined type
WeightMorphs.psc(238,18): actor is not a known user-defined type
WeightMorphs.psc(259,34): actor is not a known user-defined type
WeightMorphs.psc(259,49): none is not a known user-defined type
WeightMorphs.psc(259,12): type mismatch while assigning to a int (cast missing or types unrelated)
WeightMorphs.psc(379,12): variable NiOverride is undefined
WeightMorphs.psc(379,23): none is not a known user-defined type
WeightMorphs.psc(389,14): actor is not a known user-defined type
WeightMorphs.psc(390,14): actor is not a known user-defined type
WeightMorphs.psc(391,14): actor is not a known user-defined type
WeightMorphs.psc(392,14): actor is not a known user-defined type
WeightMorphs.psc(399,52): variable Math is undefined
WeightMorphs.psc(399,57): none is not a known user-defined type
WeightMorphs.psc(399,27): spell is not a known user-defined type
WeightMorphs.psc(400,22): actor is not a known user-defined type
WeightMorphs.psc(402,60): variable Math is undefined
WeightMorphs.psc(402,65): none is not a known user-defined type
WeightMorphs.psc(402,35): spell is not a known user-defined type
WeightMorphs.psc(403,22): actor is not a known user-defined type
WeightMorphs.psc(407,50): variable Math is undefined
WeightMorphs.psc(407,55): none is not a known user-defined type
WeightMorphs.psc(407,25): spell is not a known user-defined type
WeightMorphs.psc(408,22): actor is not a known user-defined type
WeightMorphs.psc(410,58): variable Math is undefined
WeightMorphs.psc(410,63): none is not a known user-defined type
WeightMorphs.psc(410,33): spell is not a known user-defined type
WeightMorphs.psc(411,22): actor is not a known user-defined type
WeightMorphs.psc(418,8): RegisterForAnimationEvent is not a function or does not exist
WeightMorphs.psc(419,8): RegisterForAnimationEvent is not a function or does not exist
WeightMorphs.psc(420,8): RegisterForAnimationEvent is not a function or does not exist
WeightMorphs.psc(421,8): RegisterForAnimationEvent is not a function or does not exist
WeightMorphs.psc(422,8): RegisterForAnimationEvent is not a function or does not exist
WeightMorphs.psc(423,8): RegisterForSingleUpdate is not a function or does not exist
WeightMorphs.psc(425,8): UnregisterForAnimationEvent is not a function or does not exist
WeightMorphs.psc(426,8): UnregisterForAnimationEvent is not a function or does not exist
WeightMorphs.psc(427,8): UnregisterForAnimationEvent is not a function or does not exist
WeightMorphs.psc(428,8): UnregisterForAnimationEvent is not a function or does not exist
WeightMorphs.psc(429,8): UnregisterForAnimationEvent is not a function or does not exist
WeightMorphs.psc(430,8): UnregisterForUpdate is not a function or does not exist
WeightMorphs.psc(504,8): variable NiOverride is undefined
WeightMorphs.psc(504,19): none is not a known user-defined type
WeightMorphs.psc(509,14): formlist is not a known user-defined type
WeightMorphs.psc(510,15): formlist is not a known user-defined type
WeightMorphs.psc(511,14): formlist is not a known user-defined type
WeightMorphs.psc(515,20): variable Utility is undefined
WeightMorphs.psc(515,46): variable Game is undefined
WeightMorphs.psc(515,51): none is not a known user-defined type
WeightMorphs.psc(515,28): none is not a known user-defined type
WeightMorphs.psc(516,14): unknown type keyword[]
WeightMorphs.psc(519,18): variable Game is undefined
WeightMorphs.psc(519,23): none is not a known user-defined type
WeightMorphs.psc(521,27): variable GameData is undefined
WeightMorphs.psc(521,36): none is not a known user-defined type
WeightMorphs.psc(521,19): unknown type form[]
WeightMorphs.psc(523,28): form is not a known user-defined type
WeightMorphs.psc(524,30): formlist is not a known user-defined type
WeightMorphs.psc(525,32): form is not a known user-defined type
WeightMorphs.psc(526,31): formlist is not a known user-defined type
WeightMorphs.psc(527,32): form is not a known user-defined type
WeightMorphs.psc(528,30): formlist is not a known user-defined type
WeightMorphs.psc(531,34): formlist is not a known user-defined type
WeightMorphs.psc(533,35): formlist is not a known user-defined type
WeightMorphs.psc(535,34): formlist is not a known user-defined type
WeightMorphs.psc(543,26): variable GameData is undefined
WeightMorphs.psc(543,35): none is not a known user-defined type
WeightMorphs.psc(543,15): unknown type form[]
WeightMorphs.psc(545,27): form is not a known user-defined type
WeightMorphs.psc(546,26): formlist is not a known user-defined type
WeightMorphs.psc(547,31): form is not a known user-defined type
WeightMorphs.psc(548,27): formlist is not a known user-defined type
WeightMorphs.psc(549,31): form is not a known user-defined type
WeightMorphs.psc(550,26): formlist is not a known user-defined type
WeightMorphs.psc(553,30): formlist is not a known user-defined type
WeightMorphs.psc(555,31): formlist is not a known user-defined type
WeightMorphs.psc(557,30): formlist is not a known user-defined type
WeightMorphs.psc(564,30): variable GameData is undefined
WeightMorphs.psc(564,39): none is not a known user-defined type
WeightMorphs.psc(564,15): unknown type form[]
WeightMorphs.psc(566,31): form is not a known user-defined type
WeightMorphs.psc(567,26): formlist is not a known user-defined type
WeightMorphs.psc(568,35): form is not a known user-defined type
WeightMorphs.psc(569,27): formlist is not a known user-defined type
WeightMorphs.psc(570,35): form is not a known user-defined type
WeightMorphs.psc(571,26): formlist is not a known user-defined type
WeightMorphs.psc(574,30): formlist is not a known user-defined type
WeightMorphs.psc(576,31): formlist is not a known user-defined type
WeightMorphs.psc(578,30): formlist is not a known user-defined type
WeightMorphs.psc(588,28): unknown type actor
WeightMorphs.psc(589,7): variable Game is undefined
WeightMorphs.psc(589,12): none is not a known user-defined type
WeightMorphs.psc(589,59): cannot compare a none to a int (cast missing or types unrelated)
WeightMorphs.psc(592,12): variable SLIF_Morph is undefined
WeightMorphs.psc(592,23): none is not a known user-defined type
WeightMorphs.psc(595,12): variable SLIF_Morph is undefined
WeightMorphs.psc(595,23): none is not a known user-defined type
WeightMorphs.psc(599,12): variable NiOverride is undefined
WeightMorphs.psc(599,23): none is not a known user-defined type
WeightMorphs.psc(601,12): variable NiOverride is undefined
WeightMorphs.psc(601,23): none is not a known user-defined type
WeightMorphs.psc(606,30): unknown type actor
WeightMorphs.psc(607,7): variable Game is undefined
WeightMorphs.psc(607,12): none is not a known user-defined type
WeightMorphs.psc(607,59): cannot compare a none to a int (cast missing or types unrelated)
WeightMorphs.psc(610,8): variable NiOverride is undefined
WeightMorphs.psc(610,19): none is not a known user-defined type
WeightMorphs.psc(614,26): unknown type actor
WeightMorphs.psc(615,21): variable ModEvent is undefined
WeightMorphs.psc(615,30): none is not a known user-defined type
WeightMorphs.psc(615,8): type mismatch while assigning to a int (cast missing or types unrelated)
WeightMorphs.psc(617,8): variable ModEvent is undefined
WeightMorphs.psc(617,17): none is not a known user-defined type
WeightMorphs.psc(618,8): variable ModEvent is undefined
WeightMorphs.psc(618,17): none is not a known user-defined type
WeightMorphs.psc(619,8): variable ModEvent is undefined
WeightMorphs.psc(619,17): none is not a known user-defined type
WeightMorphs.psc(620,8): variable ModEvent is undefined
WeightMorphs.psc(620,17): none is not a known user-defined type
WeightMorphs.psc(621,8): variable ModEvent is undefined
WeightMorphs.psc(621,17): none is not a known user-defined type
WeightMorphs.psc(622,8): variable ModEvent is undefined
WeightMorphs.psc(622,17): none is not a known user-defined type
WeightMorphs.psc(626,36): unknown type actor
WeightMorphs.psc(627,21): variable ModEvent is undefined
WeightMorphs.psc(627,30): none is not a known user-defined type
WeightMorphs.psc(627,8): type mismatch while assigning to a int (cast missing or types unrelated)
WeightMorphs.psc(629,8): variable ModEvent is undefined
WeightMorphs.psc(629,17): none is not a known user-defined type
WeightMorphs.psc(630,8): variable ModEvent is undefined
WeightMorphs.psc(630,17): none is not a known user-defined type
WeightMorphs.psc(631,8): variable ModEvent is undefined
WeightMorphs.psc(631,17): none is not a known user-defined type
WeightMorphs.psc(632,8): variable ModEvent is undefined
WeightMorphs.psc(632,17): none is not a known user-defined type

Time: 0.9724371 seconds
Input: C:\Games\steamapps\common\Skyrim\Data\Source\Scripts\WeightMorphs.psc
Output: C:\Games\steamapps\common\Skyrim\Data\Source\WeightMorphs.pex

Finished with 171 errors
 

image.png.294d8e1cb9e8c22f9ca0b69b3b26896c.png

 

Posted

It looks like the base script files necessary for CK to compile any script are missing from your install. Looks for a scripts.rar in your skyrim\data directory and extract it so you have all the base scripts in skyrim\data\scripts\source.

Posted
7 minutes ago, xAteax said:

Tried that... This is the result.

  Reveal hidden contents

[ WeightMorphs.psc ]

Starting 1 compile threads for 1 files...
Compiling "WeightMorphs"...
No output generated for C:\Games\steamapps\common\Skyrim\Data\Source\Scripts\WeightMorphs.psc, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on C:\Games\steamapps\common\Skyrim\Data\Source\Scripts\WeightMorphs.psc


--- ERRORS ---

WeightMorphs.psc(0,0): unable to locate script ReferenceAlias
WeightMorphs.psc(123,15): unknown type actor
WeightMorphs.psc(124,15): unknown type spell
WeightMorphs.psc(125,15): unknown type spell
WeightMorphs.psc(126,15): unknown type spell
WeightMorphs.psc(127,15): unknown type spell
WeightMorphs.psc(128,18): unknown type formlist
WeightMorphs.psc(129,18): unknown type formlist
WeightMorphs.psc(130,18): unknown type formlist
WeightMorphs.psc(131,21): unknown type magiceffect
WeightMorphs.psc(156,11): variable SKSE is undefined
WeightMorphs.psc(156,16): none is not a known user-defined type
WeightMorphs.psc(156,47): cannot compare a none to a int (cast missing or types unrelated)
WeightMorphs.psc(156,47): cannot relatively compare variables to None
WeightMorphs.psc(156,72): variable NiOverride is undefined
WeightMorphs.psc(156,83): none is not a known user-defined type
WeightMorphs.psc(156,102): cannot compare a none to a int (cast missing or types unrelated)
WeightMorphs.psc(156,102): cannot relatively compare variables to None
WeightMorphs.psc(194,16): variable NiOverride is undefined
WeightMorphs.psc(194,27): none is not a known user-defined type
WeightMorphs.psc(204,8): RegisterForSingleUpdate is not a function or does not exist
WeightMorphs.psc(208,39): unknown type objectreference
WeightMorphs.psc(209,16): cannot compare a objectreference to a actor (cast missing or types unrelated)
WeightMorphs.psc(220,28): unknown type form
WeightMorphs.psc(220,50): unknown type objectreference
WeightMorphs.psc(223,25): formlist is not a known user-defined type
WeightMorphs.psc(223,36): cannot compare a none to a int (cast missing or types unrelated)
WeightMorphs.psc(223,36): cannot relatively compare variables to None
WeightMorphs.psc(225,30): formlist is not a known user-defined type
WeightMorphs.psc(225,41): cannot compare a none to a int (cast missing or types unrelated)
WeightMorphs.psc(225,41): cannot relatively compare variables to None
WeightMorphs.psc(227,29): formlist is not a known user-defined type
WeightMorphs.psc(227,40): cannot compare a none to a int (cast missing or types unrelated)
WeightMorphs.psc(227,40): cannot relatively compare variables to None
WeightMorphs.psc(234,41): unknown type objectreference
WeightMorphs.psc(234,63): unknown type magiceffect
WeightMorphs.psc(235,17): actor is not a known user-defined type
WeightMorphs.psc(235,53): actor is not a known user-defined type
WeightMorphs.psc(237,18): actor is not a known user-defined type
WeightMorphs.psc(238,18): actor is not a known user-defined type
WeightMorphs.psc(259,34): actor is not a known user-defined type
WeightMorphs.psc(259,49): none is not a known user-defined type
WeightMorphs.psc(259,12): type mismatch while assigning to a int (cast missing or types unrelated)
WeightMorphs.psc(379,12): variable NiOverride is undefined
WeightMorphs.psc(379,23): none is not a known user-defined type
WeightMorphs.psc(389,14): actor is not a known user-defined type
WeightMorphs.psc(390,14): actor is not a known user-defined type
WeightMorphs.psc(391,14): actor is not a known user-defined type
WeightMorphs.psc(392,14): actor is not a known user-defined type
WeightMorphs.psc(399,52): variable Math is undefined
WeightMorphs.psc(399,57): none is not a known user-defined type
WeightMorphs.psc(399,27): spell is not a known user-defined type
WeightMorphs.psc(400,22): actor is not a known user-defined type
WeightMorphs.psc(402,60): variable Math is undefined
WeightMorphs.psc(402,65): none is not a known user-defined type
WeightMorphs.psc(402,35): spell is not a known user-defined type
WeightMorphs.psc(403,22): actor is not a known user-defined type
WeightMorphs.psc(407,50): variable Math is undefined
WeightMorphs.psc(407,55): none is not a known user-defined type
WeightMorphs.psc(407,25): spell is not a known user-defined type
WeightMorphs.psc(408,22): actor is not a known user-defined type
WeightMorphs.psc(410,58): variable Math is undefined
WeightMorphs.psc(410,63): none is not a known user-defined type
WeightMorphs.psc(410,33): spell is not a known user-defined type
WeightMorphs.psc(411,22): actor is not a known user-defined type
WeightMorphs.psc(418,8): RegisterForAnimationEvent is not a function or does not exist
WeightMorphs.psc(419,8): RegisterForAnimationEvent is not a function or does not exist
WeightMorphs.psc(420,8): RegisterForAnimationEvent is not a function or does not exist
WeightMorphs.psc(421,8): RegisterForAnimationEvent is not a function or does not exist
WeightMorphs.psc(422,8): RegisterForAnimationEvent is not a function or does not exist
WeightMorphs.psc(423,8): RegisterForSingleUpdate is not a function or does not exist
WeightMorphs.psc(425,8): UnregisterForAnimationEvent is not a function or does not exist
WeightMorphs.psc(426,8): UnregisterForAnimationEvent is not a function or does not exist
WeightMorphs.psc(427,8): UnregisterForAnimationEvent is not a function or does not exist
WeightMorphs.psc(428,8): UnregisterForAnimationEvent is not a function or does not exist
WeightMorphs.psc(429,8): UnregisterForAnimationEvent is not a function or does not exist
WeightMorphs.psc(430,8): UnregisterForUpdate is not a function or does not exist
WeightMorphs.psc(504,8): variable NiOverride is undefined
WeightMorphs.psc(504,19): none is not a known user-defined type
WeightMorphs.psc(509,14): formlist is not a known user-defined type
WeightMorphs.psc(510,15): formlist is not a known user-defined type
WeightMorphs.psc(511,14): formlist is not a known user-defined type
WeightMorphs.psc(515,20): variable Utility is undefined
WeightMorphs.psc(515,46): variable Game is undefined
WeightMorphs.psc(515,51): none is not a known user-defined type
WeightMorphs.psc(515,28): none is not a known user-defined type
WeightMorphs.psc(516,14): unknown type keyword[]
WeightMorphs.psc(519,18): variable Game is undefined
WeightMorphs.psc(519,23): none is not a known user-defined type
WeightMorphs.psc(521,27): variable GameData is undefined
WeightMorphs.psc(521,36): none is not a known user-defined type
WeightMorphs.psc(521,19): unknown type form[]
WeightMorphs.psc(523,28): form is not a known user-defined type
WeightMorphs.psc(524,30): formlist is not a known user-defined type
WeightMorphs.psc(525,32): form is not a known user-defined type
WeightMorphs.psc(526,31): formlist is not a known user-defined type
WeightMorphs.psc(527,32): form is not a known user-defined type
WeightMorphs.psc(528,30): formlist is not a known user-defined type
WeightMorphs.psc(531,34): formlist is not a known user-defined type
WeightMorphs.psc(533,35): formlist is not a known user-defined type
WeightMorphs.psc(535,34): formlist is not a known user-defined type
WeightMorphs.psc(543,26): variable GameData is undefined
WeightMorphs.psc(543,35): none is not a known user-defined type
WeightMorphs.psc(543,15): unknown type form[]
WeightMorphs.psc(545,27): form is not a known user-defined type
WeightMorphs.psc(546,26): formlist is not a known user-defined type
WeightMorphs.psc(547,31): form is not a known user-defined type
WeightMorphs.psc(548,27): formlist is not a known user-defined type
WeightMorphs.psc(549,31): form is not a known user-defined type
WeightMorphs.psc(550,26): formlist is not a known user-defined type
WeightMorphs.psc(553,30): formlist is not a known user-defined type
WeightMorphs.psc(555,31): formlist is not a known user-defined type
WeightMorphs.psc(557,30): formlist is not a known user-defined type
WeightMorphs.psc(564,30): variable GameData is undefined
WeightMorphs.psc(564,39): none is not a known user-defined type
WeightMorphs.psc(564,15): unknown type form[]
WeightMorphs.psc(566,31): form is not a known user-defined type
WeightMorphs.psc(567,26): formlist is not a known user-defined type
WeightMorphs.psc(568,35): form is not a known user-defined type
WeightMorphs.psc(569,27): formlist is not a known user-defined type
WeightMorphs.psc(570,35): form is not a known user-defined type
WeightMorphs.psc(571,26): formlist is not a known user-defined type
WeightMorphs.psc(574,30): formlist is not a known user-defined type
WeightMorphs.psc(576,31): formlist is not a known user-defined type
WeightMorphs.psc(578,30): formlist is not a known user-defined type
WeightMorphs.psc(588,28): unknown type actor
WeightMorphs.psc(589,7): variable Game is undefined
WeightMorphs.psc(589,12): none is not a known user-defined type
WeightMorphs.psc(589,59): cannot compare a none to a int (cast missing or types unrelated)
WeightMorphs.psc(592,12): variable SLIF_Morph is undefined
WeightMorphs.psc(592,23): none is not a known user-defined type
WeightMorphs.psc(595,12): variable SLIF_Morph is undefined
WeightMorphs.psc(595,23): none is not a known user-defined type
WeightMorphs.psc(599,12): variable NiOverride is undefined
WeightMorphs.psc(599,23): none is not a known user-defined type
WeightMorphs.psc(601,12): variable NiOverride is undefined
WeightMorphs.psc(601,23): none is not a known user-defined type
WeightMorphs.psc(606,30): unknown type actor
WeightMorphs.psc(607,7): variable Game is undefined
WeightMorphs.psc(607,12): none is not a known user-defined type
WeightMorphs.psc(607,59): cannot compare a none to a int (cast missing or types unrelated)
WeightMorphs.psc(610,8): variable NiOverride is undefined
WeightMorphs.psc(610,19): none is not a known user-defined type
WeightMorphs.psc(614,26): unknown type actor
WeightMorphs.psc(615,21): variable ModEvent is undefined
WeightMorphs.psc(615,30): none is not a known user-defined type
WeightMorphs.psc(615,8): type mismatch while assigning to a int (cast missing or types unrelated)
WeightMorphs.psc(617,8): variable ModEvent is undefined
WeightMorphs.psc(617,17): none is not a known user-defined type
WeightMorphs.psc(618,8): variable ModEvent is undefined
WeightMorphs.psc(618,17): none is not a known user-defined type
WeightMorphs.psc(619,8): variable ModEvent is undefined
WeightMorphs.psc(619,17): none is not a known user-defined type
WeightMorphs.psc(620,8): variable ModEvent is undefined
WeightMorphs.psc(620,17): none is not a known user-defined type
WeightMorphs.psc(621,8): variable ModEvent is undefined
WeightMorphs.psc(621,17): none is not a known user-defined type
WeightMorphs.psc(622,8): variable ModEvent is undefined
WeightMorphs.psc(622,17): none is not a known user-defined type
WeightMorphs.psc(626,36): unknown type actor
WeightMorphs.psc(627,21): variable ModEvent is undefined
WeightMorphs.psc(627,30): none is not a known user-defined type
WeightMorphs.psc(627,8): type mismatch while assigning to a int (cast missing or types unrelated)
WeightMorphs.psc(629,8): variable ModEvent is undefined
WeightMorphs.psc(629,17): none is not a known user-defined type
WeightMorphs.psc(630,8): variable ModEvent is undefined
WeightMorphs.psc(630,17): none is not a known user-defined type
WeightMorphs.psc(631,8): variable ModEvent is undefined
WeightMorphs.psc(631,17): none is not a known user-defined type
WeightMorphs.psc(632,8): variable ModEvent is undefined
WeightMorphs.psc(632,17): none is not a known user-defined type

Time: 0.9724371 seconds
Input: C:\Games\steamapps\common\Skyrim\Data\Source\Scripts\WeightMorphs.psc
Output: C:\Games\steamapps\common\Skyrim\Data\Source\WeightMorphs.pex

Finished with 171 errors
 

image.png.294d8e1cb9e8c22f9ca0b69b3b26896c.png

 

Errors like "variable SKSE is undefined " or "variable NiOverride is undefined" mean that the source code is missing of a few libraries: SKSE, SkyUI SDK, NiOverride... Make sure that MO can find this. I noticed that you're using MO; below is how I set things up:

 

image.png.ba901f9645decb822785fcc9a9a4b32a.png

Posted
16 minutes ago, orgs1n said:

Errors like "variable SKSE is undefined " or "variable NiOverride is undefined" mean that the source code is missing of a few libraries: SKSE, SkyUI SDK, NiOverride... Make sure that MO can find this. I noticed that you're using MO; below is how I set things up:

 

image.png.ba901f9645decb822785fcc9a9a4b32a.png

Ended up just kept attempting to compile and grabbing the sources  as they were asked for... lol. Still, hoping that I did the proper fix for the odd line of code... bleh

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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