LoneWolf1377 Posted September 13 Share Posted September 13 So I am helping with a mod and trying to get the armor working. What's happening is the mod has its own transformation that will equip a unique version of the original armor, which is the berserker armor. During the transformation it equips the transformed version of the armor and afterward is supposed to reequip the original, however the boots and gauntlets work but the chest piece does not. I am unsure if this is due to the chest having multiple version so that you can convert the armor from heavy to light, it also has duplicates of the armor that allow you to only have the visuals of the armor without any of the transformation abilities and without needing to go through the quest to obtain the powered armor. I am uploading my new script which is trying to read what armor is equipped before the transformation and then reequip it when it's over but keep getting errors such as these when compiling "Starting 1 compile threads for 1 files... Compiling "qlberserk_storeOGarmor"... F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(0,0): unable to locate script Actor F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(4,6): unknown type armor F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(5,6): unknown type armor F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(6,6): unknown type armor F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(9,15): unknown type armor F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(14,16): GetWornForm is not a function or does not exist F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(14,31): cannot cast a none to a armor, types are incompatible F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(15,20): GetWornForm is not a function or does not exist F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(15,35): cannot cast a none to a armor, types are incompatible F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(16,16): GetWornForm is not a function or does not exist F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(16,31): cannot cast a none to a armor, types are incompatible F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(20,8): RemoveItem is not a function or does not exist F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(23,8): RemoveItem is not a function or does not exist F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(26,8): RemoveItem is not a function or does not exist F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(30,4): EquipItem is not a function or does not exist F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(36,4): RemoveItem is not a function or does not exist F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(40,8): EquipItem is not a function or does not exist F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(43,8): EquipItem is not a function or does not exist F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(46,8): EquipItem is not a function or does not exist No output generated for qlberserk_storeOGarmor, compilation failed." I am trying to take over for the mod as the original author can't continue with devolving. I am at my wits end and have no idea what is wrong anymore. I could really use any help, I am desperate. If you need any other information, please respond on here or message me directly. Thank you. qlberserk_storeOGarmor.psc Link to comment Share on other sites More sharing options...
ArcaneTourist Posted September 13 Share Posted September 13 (edited) Your script compiles just fine for me. The fact that the papyrus compiler is complaining about base game functions like EquipItem() tells me that your compilation environment isn't set up correctly. At a somewhat wild guess, your Scripts.bsa hasn't been unpacked - but the CreationKit should have done that for you. Note that GetWornForm() requires SKSE. If only playing the game but not compiling scripts, you only need some of the SKSE files. For compiling, you need to copy the SKSE Scripts folder to an appropriate location. FWIW, I prefer to make the SKSE scripts into a mod and, using MO2, nothing needs to modify my Skyrim steam folder. However, most people probably just follow the instructions in the SKSE readme. I would suggest that you take a step back and follow one of the guides or tutorials that explain how to setup for compiling papyrus scripts. Edited September 13 by ArcaneTourist Link to comment Share on other sites More sharing options...
LoneWolf1377 Posted September 13 Author Share Posted September 13 2 hours ago, ArcaneTourist said: Your script compiles just fine for me. The fact that the papyrus compiler is complaining about base game functions like EquipItem() tells me that your compilation environment isn't set up correctly. At a somewhat wild guess, your Scripts.bsa hasn't been unpacked - but the CreationKit should have done that for you. Note that GetWornForm() requires SKSE. If only playing the game but not compiling scripts, you only need some of the SKSE files. For compiling, you need to copy the SKSE Scripts folder to an appropriate location. FWIW, I prefer to make the SKSE scripts into a mod and, using MO2, nothing needs to modify my Skyrim steam folder. However, most people probably just follow the instructions in the SKSE readme. I would suggest that you take a step back and follow one of the guides or tutorials that explain how to setup for compiling papyrus scripts. Thing is that's should already all be set up. I'm using a modlist that just adds all the essentials and keeps my stock game clean and has skse installed as a mod in mo2. No idea what I would need to change to fix that. I've even tried using PCA compiler which has been the only thing that has compiled some what correctly but I still get the same errors Link to comment Share on other sites More sharing options...
LoneWolf1377 Posted September 13 Author Share Posted September 13 2 hours ago, ArcaneTourist said: Your script compiles just fine for me. The fact that the papyrus compiler is complaining about base game functions like EquipItem() tells me that your compilation environment isn't set up correctly. At a somewhat wild guess, your Scripts.bsa hasn't been unpacked - but the CreationKit should have done that for you. Note that GetWornForm() requires SKSE. If only playing the game but not compiling scripts, you only need some of the SKSE files. For compiling, you need to copy the SKSE Scripts folder to an appropriate location. FWIW, I prefer to make the SKSE scripts into a mod and, using MO2, nothing needs to modify my Skyrim steam folder. However, most people probably just follow the instructions in the SKSE readme. I would suggest that you take a step back and follow one of the guides or tutorials that explain how to setup for compiling papyrus scripts. Ok so I re-added the skse scrips folder to the mo2 root folder, and now I get this error in PCA (Papyrus Compiler App) "F:\Mod making\Game Root\Data\Scripts\Source\qlberserk_storeOGarmor.psc(22,14): variable TransformedArmor is undefined F:\Mod making\Game Root\Data\Scripts\Source\qlberserk_storeOGarmor.psc(28,15): variable TransformedArmor is undefined" But this in creation kit "F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(0,0): unable to locate script Actor F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(4,5): unknown type form F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(5,5): unknown type form F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(6,5): unknown type form F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(9,15): unknown type armor F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(14,16): variable Game is undefined F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(14,21): none is not a known user-defined type F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(14,33): none is not a known user-defined type F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(15,20): variable Game is undefined F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(15,25): none is not a known user-defined type F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(15,37): none is not a known user-defined type F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(16,16): variable Game is undefined F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(16,21): none is not a known user-defined type F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(16,33): none is not a known user-defined type F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(20,8): variable Game is undefined F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(20,13): none is not a known user-defined type F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(20,25): none is not a known user-defined type F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(23,8): variable Game is undefined F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(23,13): none is not a known user-defined type F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(23,25): none is not a known user-defined type F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(26,8): variable Game is undefined F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(26,13): none is not a known user-defined type F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(26,25): none is not a known user-defined type F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(30,4): variable Game is undefined F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(30,9): none is not a known user-defined type F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(30,21): none is not a known user-defined type F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(36,4): variable Game is undefined F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(36,9): none is not a known user-defined type F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(36,21): none is not a known user-defined type F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(40,8): variable Game is undefined F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(40,13): none is not a known user-defined type F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(40,25): none is not a known user-defined type F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(43,8): variable Game is undefined F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(43,13): none is not a known user-defined type F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(43,25): none is not a known user-defined type F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(46,8): variable Game is undefined F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(46,13): none is not a known user-defined type F:\Mod making\Game Root\Data\Source\Scripts\qlberserk_storeOGarmor.psc(46,25): none is not a known user-defined type No output generated for qlberserk_storeOGarmor, compilation failed." Link to comment Share on other sites More sharing options...
ArcaneTourist Posted September 13 Share Posted September 13 (edited) The papyrus compiler is not seeing the CK scripts that are distributed in Scripts.zip. Your Scripts.zip archive needs to be unpacked into .../Data/Scripts/. EDIT: I misremembered - it's Scripts.zip, not Scripts.bsa. Make sure it's unzipped into the top level directory so that it creates files such as .../Data/DialogueViews/0000081B.xml and .../Data/Source/Scripts/Actor.psc EDIT 2: It's perfectly fine to unzip that archive into a new mod folder. That's what I do for MO2. Edited September 13 by ArcaneTourist Link to comment Share on other sites More sharing options...
LoneWolf1377 Posted September 13 Author Share Posted September 13 Could you possibly share that zip it's not in any of my folders even my original game Link to comment Share on other sites More sharing options...
ArcaneTourist Posted September 13 Share Posted September 13 I'm not sure that it's legit to relay that file. It should be in your skyrim Data directory. If not, try re-installing the creation kit. Link to comment Share on other sites More sharing options...
LoneWolf1377 Posted September 14 Author Share Posted September 14 So I got compiling to work now. But now how do I get the script working. That's the main thing I need help with Link to comment Share on other sites More sharing options...
ArcaneTourist Posted September 14 Share Posted September 14 Check out the following. They'll tell you how to create a quest and have it startup your scripts. ck.uesp.net - Category:Getting Started Cipscis - Skyrim - Papyrus for Beginners Link to comment Share on other sites More sharing options...
Recommended Posts