This step-by-step guide will teach you how to create and add new Racemenu overlays (body paints, hand paints, foot paints, etc.) to Skyrim. This includes both creating the design and adding it into your game.
This is part 2 of the guide, which covers adding your design into the game via the Creation Kit. If you need guidance on creating your design, please see part 1 of the guide.
Requirements
1. Skyrim Creation Kit
2. Text editor; you can use Notepad (Windows default) but I recommend Notepad++
3. SKSE
4. Racemenu Modders Package (go to Files, find Modders Package for current version)
5. The texture you intend to use as your overlay
Initial Setup
There are several steps you’ll need to take before we can begin the actual work of implementation in the Creation Kit. If you’ve done any work with scripts in the Creation Kit, you may have completed some or all of these steps already – feel free to skip any you’ve done already.
1. You’ll need to extract the source files for the vanilla Skyrim scripts into your Data folder. These files are included with the game installation, and are stored in a file called Scripts.rar in your Skyrim/Data folder. If this file is not there, or you’ve previously deleted it, you can recover it by verifying your game cache through Steam.
Open this file and extract the contents into your Skyrim/Data folder. If asked to overwrite/replace any files, select no – you don’t want to overwrite any files added by installed mods or by a previous installation of SKSE.
2. If you don’t already have SKSE installed, which is unlikely if you’ve previously used Racemenu, you’ll want to install it now. It’s also worth noting that if you installed SKSE via its installer, there’s a chance it may choose not to overwrite certain vanilla script sources. If you encounter compiler issues later in this process, try manually reinstalling SKSE.
3. Download the Racemenu Modders Package and extract the contents into your Skyrim/Data folder.
Creation Kit – First Steps
1. Open the Creation Kit. You do not need to load Skyrim.esm.
2. On the top bar, go to Gameplay -> Compile Papyrus Scripts. This may take a moment to load.
3. Scroll through the tediously long and unsearchable list until you find “RaceMenuBase”. Click the checkbox next to it, and then click “Compile”.
4. If everything compiles fine, open the compiler again and scroll until you find “RaceMenuLoad”. Click the box next to it and then compile it.
Creation Kit – Creating the Quest
1. On the left side panel of the Object Window, navigate to the “Quest” section.
2. In the right panel of the Object Window, right click on an empty space and select “New”.
3. On the first tab, “Quest Data”, give your quest a simple name. This won’t appear anywhere except the Creation Kit, and simply allows your body paints to be loaded in the game.
4. Go to the Quest Aliases tab at the top of the quest window. Right click somewhere in the empty fields and select “New Reference Alias”.
5. In the Alias Name, type “Player”.
6. Click the radio button for “Specific Reference” and then click “Select Forced Reference”. In the dialogue that pops up, select “(any)” as the cell which should auto-populate PlayerRef into the Ref field.
7. Click “OK” on the Reference Alias window. Curiously, if you try to add a script before doing this, the CK will crash.
8. Double click the reference alias you just created to reopen it. On the right side, under Scripts, click “Add”.
9. Type “racemenu” into the filter bar at the top of the scripts dialogue, and find “RaceMenuLoad”. Click it in the list, and then click OK.
10. Click OK to close the reference alias window.
11. Go to the Scripts tab at the top of the quest dialogue and click “Add”.
12. On the dialogue that pops up, select “[New Script]” at the top and click OK.
13. On the new window, give your script a name – preferably something that will be easy for you to find in that long list with no search feature we previously navigated. In the Extends field, enter “Quest” for now.
14. Click OK on both of the script windows.
Create Your Script
1. We’re now going to create a simple script to tell Racemenu how to find your new overlay. Navigate to your Skyrim install folder. Once inside the Skyrim folder, go to Data/Scripts/Source. You should find a file with the same name as the one you created in step 13 above.
2. Open that file in your text editor of choice.
3. Replace the contents of the file with the following:
Scriptname YOURSCRIPTNAME extends RaceMenuBase
Event OnBodyPaintRequest()
AddBodyPaint(“NAME OF BODYPAINT”, “Actors\\Character\\Character Assets\\Overlays\\YOURFILENAME.dds”)
EndEvent
4. You’ll need to make a few changes to the above script. For “YOURSCRIPTNAME”, replace it with the name of your script as it appears in the file – the same as the name you gave it in the Creation Kit. For “NAME OF BODYPAINT”, this is the descriptive name that will appear in the Racemenu list of overlays – numbers and spaces are fine. It’s best to choose something that will help users find your paint easily, for example, “Skeever Back Tattoo”. For the file name and file path, update these to match the location and name of your file.
Note: The script you’ll need to use will be different if you’re looking to add hand, face, or foot paints – the above script applies only to body paints. In order to add one of these, replace the “Event OnBodyPaintRequest()” with one of the following:
Face paint/warpaint:
Event OnWarpaintRequest()
Hand paint:
Event OnHandPaintRequest()
Foot paint:
Event OnFeetPaintRequest()
5. Save your script and go back to the Creation Kit.
6. Click OK on the Quest dialogue to close it.
7. Open the Papyrus Compiler window again (Gameplay on the top bar -> Compile Papyrus Scripts), then find and select the script you just created in the list. Compile it like you have done previously.
8. Click the Save icon in the top left corner of the CK window. Give your plugin a name – this will be the name of the mod’s ESP that will be loaded into the game – and click Save.
9. Activate your ESP through your mod manager of choice, navigate to the proper tab in Racemenu, and test it out!
[…] How to Create New Body Paints and Overlays for Racemenu (Part 2) […]
I’ve followed this tutorial time and time again. I’ve finally made it into the game, but for some reason, all the body gets white, and no texture at all. Perhaps it does have something to do with the fact I am modding Special Edition, or maybe with the fact that photoshop make me blend the layers every time to create a .dds.
If anyone can help, I would be very happy.
Hi, i’m finding this very useful and easy to follow, thanks for that! I’m having a problem however where Creation Kit crashes (surprising, i know) on step 6 of Create Your Script section, right after i edit the script manually i go to CK, click OK on the Quest Window, it freezes for a few seconds and Stopped Working message.
I’ve followed every step with precision and i know that CK is really buggy but i’m not that familiarized with it so i don’t know about common workarounds and stuff like that. Anything you can suggest me to do?
I hope you can help me, i’m so close to get my first overlay in game xD Thanks in advance!
Hey! Sorry for the kinda slow reply. Sometimes the CK can be especially moody about adding scripts to quests – it’s unfortunately a common issue for both Skyrim and FO4’s CK. A few things you can try/double check:
1. Create the quest, save it, and save your plugin. Then try adding the script after that.
2. Create a duplicate of the quest that crashes when you try to add the script, then try to add it to the new (duplicated) quest.
3. Make sure you’ve extracted all the scripts into your data/scripts folder (Step 1 under Initial Setup)
Let me know if any of those help.
My overlays appear too dark. What’s the trick?
Try a brighter (i.e. closer to white) for your the visible area of your alpha channel.
Thank you very much for this tutorial. I followed everything as described, except that I had to duplicate the quest as mentioned by you in a comment, because otherwise my CK would crash when adding the script and then clicking ok.
When I reach the last step (Step 8 of last section) and try to compile my script I get the following error:
Starting 1 compile threads for 1 files…
Compiling “aasnowskin”…
D:\Games\Steam\steamapps\common\Skyrim\Data\Scripts\Source\aasnowskin.psc(5,17): no viable alternative at character ‘”‘
D:\Games\Steam\steamapps\common\Skyrim\Data\Scripts\Source\aasnowskin.psc(5,23): no viable alternative at character ‘”‘
D:\Games\Steam\steamapps\common\Skyrim\Data\Scripts\Source\aasnowskin.psc(5,26): no viable alternative at character ‘”‘
D:\Games\Steam\steamapps\common\Skyrim\Data\Scripts\Source\aasnowskin.psc(5,34): mismatched character ‘\’ expecting ‘\n’
D:\Games\Steam\steamapps\common\Skyrim\Data\Scripts\Source\aasnowskin.psc(5,45): mismatched character ‘\’ expecting ‘\n’
D:\Games\Steam\steamapps\common\Skyrim\Data\Scripts\Source\aasnowskin.psc(5,63): mismatched character ‘\’ expecting ‘\n’
D:\Games\Steam\steamapps\common\Skyrim\Data\Scripts\Source\aasnowskin.psc(5,73): mismatched character ‘\’ expecting ‘\n’
D:\Games\Steam\steamapps\common\Skyrim\Data\Scripts\Source\aasnowskin.psc(5,89): no viable alternative at character ‘”‘
D:\Games\Steam\steamapps\common\Skyrim\Data\Scripts\Source\aasnowskin.psc(5,27): no viable alternative at input ‘Actors’
D:\Games\Steam\steamapps\common\Skyrim\Data\Scripts\Source\aasnowskin.psc(5,56): required (…)+ loop did not match anything at input ‘Assets’
D:\Games\Steam\steamapps\common\Skyrim\Data\Scripts\Source\aasnowskin.psc(5,74): required (…)+ loop did not match anything at input ‘snowelfskin’
D:\Games\Steam\steamapps\common\Skyrim\Data\Scripts\Source\aasnowskin.psc(5,90): required (…)+ loop did not match anything at input ‘)’
No output generated for aasnowskin.psc, compilation failed.
I dont know how to fix this, any help would be greatly appreciated.
I am really not that experienced with modding, but I think it might have something to do with the fact that I run the CK through Mod Organizer?
You would be correct! Mod Organizer cannot compile scripts by default, and will always result in errors because it has issues with 64-bit executables. There is a patcher for it if you’d like to continue running the CK through MO, but I usually just compile my scripts without launching via MO for simplicity.
Patcher link: http://www.nexusmods.com/skyrim/mods/65578/?
Good luck!
Ive followed this tutorial and re-done everything probably 10 times and I still cannot get it to work. I am not having any CK crashes or any errors. The tattoo’s are just not showing up in racemenu’s makeup section.
Hard to guess what might be wrong there – have you enabled the .esp you created through your data files or mod manager? When you load it into the CK, does everything appear in place?
I can’t recall what my problem was when I asked for help on here but I figured it out somehow. I just reacalled this because I was working on a new warpaint plugin and came to see if you replied and to thank you soooo very much for your tutorial on how to do this. It was a blessing and helped me tremendously. Thank you!
Here’s a link to my modpage with a thank you in the credits 🙂
https://www.nexusmods.com/skyrim/mods/86651
Please Help!
I have question, when I try to do the initial compile, as described by:
“3. Scroll through the tediously long and unsearchable list until you find “RaceMenuBase”. Click the checkbox next to it, and then click “Compile”.”
It always fails. It fails for every single compiled script, every single time.
The errors look like this:
Starting 1 compile threads for 1 files…
Compiling “RaceMenuBase”…
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Keyword.psc(4,33): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(27,49): unknown type globalvariable
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(28,34): globalvariable is not a known user-defined type
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(28,1): type mismatch on parameter 1 (did you forget a cast?)
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ActorBase.psc(4,15): unknown type class
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\LeveledItem.psc(13,24): unknown type globalvariable
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\LeveledItem.psc(14,40): unknown type globalvariable
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(48,15): unknown type light
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(49,24): unknown type light
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(51,22): unknown type effectshader
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(52,35): unknown type effectshader
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(54,22): unknown type effectshader
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(55,39): unknown type effectshader
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(57,20): unknown type projectile
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(58,34): unknown type projectile
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(60,19): unknown type explosion
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(61,32): unknown type explosion
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(72,23): unknown type impactdataset
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(73,40): unknown type impactdataset
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(78,28): unknown type imagespacemodifier
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(79,45): unknown type imagespacemodifier
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Race.psc(20,19): unknown type voicetype
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Race.psc(23,52): unknown type voicetype
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ActorBase.psc(55,24): unknown type class
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ActorBase.psc(104,19): unknown type voicetype
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ActorBase.psc(105,32): unknown type voicetype
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Shout.psc(4,21): unknown type wordofpower
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Shout.psc(8,46): unknown type wordofpower
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(179,17): unknown type package
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Ammo.psc(9,20): unknown type projectile
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Weapon.psc(54,16): unknown type static
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Weapon.psc(55,33): unknown type static
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(293,45): unknown type associationtype
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(454,28): unknown type idle
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(457,38): unknown type idle
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(721,32): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(721,51): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(733,29): unknown type package
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(737,30): unknown type package
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(741,27): unknown type package
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Game.psc(176,41): unknown type wordofpower
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Game.psc(251,57): unknown type imagespacemodifier
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Game.psc(257,31): unknown type wordofpower
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Game.psc(263,32): unknown type wordofpower
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(86,33): location is not a known user-defined type
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(86,77): location is not a known user-defined type
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(110,5): unknown type key
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(112,5): type mismatch on parameter 1 (did you forget a cast?)
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(112,29): cannot compare a none to a int (cast missing or types unrelated)
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(113,3): type mismatch on parameter 1 (did you forget a cast?)
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(242,18): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(245,15): unknown type scene
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(251,18): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(269,13): unknown type key
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(368,19): unknown type voicetype
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(374,20): unknown type worldspace
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(388,41): unknown type locationreftype
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(465,90): unknown type encounterzone
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(477,45): unknown type impactdataset
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(517,19): unknown type topic
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(598,36): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(600,10): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(604,20): location is not a known user-defined type
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(665,67): unknown type projectile
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(822,24): unknown type referencealias
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(834,26): unknown type referencealias[]
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Keyword.psc(8,45): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(12,66): unknown type globalvariable
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(13,12): globalvariable is not a known user-defined type
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(18,34): globalvariable is not a known user-defined type
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(18,40): cannot compare a none to a float (cast missing or types unrelated)
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(18,40): cannot relatively compare variables to None
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(18,90): globalvariable is not a known user-defined type
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(18,96): cannot compare a none to a float (cast missing or types unrelated)
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(18,96): cannot relatively compare variables to None
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(135,58): unknown type globalvariable
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(140,10): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(144,10): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(148,10): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(155,10): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(158,62): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(159,10): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(169,31): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(173,10): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(176,33): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(179,36): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(185,28): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(200,71): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(205,10): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(208,57): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(229,10): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(232,48): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(236,33): unknown type location
D:\Program Files (x86)\Steam_D_Drive_Games\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(241,10): unknown type location
No output generated for RaceMenuBase.psc, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on RaceMenuBase.psc
I am NOT running the CK through the a mod manager. I AM running a 64 bit system, so I also tried downloading the 64 bit patcher for the Papyrus Compiler, despite not running through the mod organizer. It’s the one found here:
https://www.nexusmods.com/skyrim/mods/65578/?tab=1&navtag=https%3A%2F%2Fwww.nexusmods.com%2Fskyrim%2Fajax%2Fmoddescription%2F%3Fid%3D65578%26preview%3D&pUp=1
But, patched or unpatched, it NEVER works.
I may be asking a newbie type of question, but this is not my first go at Bethesda modding, nor with the creation kit. (It is the first time I’ve tried the specific procedure. And I don’t know if I’m missing something that is generally known. But Google searches are not helping me.
But any help would be appreciated.
Thanks,
– Emily (AKA: Oppaiko)
This error typically means the vanilla/SKSE script sources from your scripts.rar file aren’t extracted into the correct place. The exact order of operations for this is in “Initial Setup” at the top of this part of the guide. Could you double check that all the files from scripts.rar and SKSE are extracted into your Data/Scripts/Source folder?
I’m having one primary issue. When I load papyrus scipts, the load fails, preventing me from using RaceMenuLoad on step 9. Any idea? I’m tired of cutesy tattoos and looking to make some that aren’t so blah.
This is the message in the creation kit when I try to compile RaceMenuBase
Starting 1 compile threads for 1 files…
Compiling “RaceMenuBase”…
(0,0): Unable to find flags file: TESV_Papyrus_Flags.flg
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(0,0): unable to locate script Quest
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(20,15): unknown type actor
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(21,19): unknown type actorbase
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(26,15): unknown type actor
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(27,19): unknown type actorbase
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(59,16): variable Game is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(59,21): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(60,33): actor is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(131,35): unknown type objectreference
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(135,25): unknown type actor
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(139,33): unknown type objectreference
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(144,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(145,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(146,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(147,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(148,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(151,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(152,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(153,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(154,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(155,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(156,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(165,1): type mismatch on parameter 1 (did you forget a cast?)
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(168,35): unknown type form
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(169,23): cannot convert to unknown type actor
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(169,23): cannot cast a form to a actor, types are incompatible
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(170,33): actor is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(173,74): unknown type form
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(174,1): UnregisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(175,1): UnregisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(176,1): UnregisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(177,1): UnregisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(178,1): UnregisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(180,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(181,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(182,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(183,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(184,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(187,76): unknown type form
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(191,76): unknown type form
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(195,75): unknown type form
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(199,1): type mismatch on parameter 1 (did you forget a cast?)
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(202,79): unknown type form
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(204,21): variable Math is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(204,26): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(204,56): cannot compare a none to a int (cast missing or types unrelated)
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(205,22): variable Math is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(205,27): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(205,57): cannot compare a none to a int (cast missing or types unrelated)
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(206,22): variable Math is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(206,27): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(206,57): cannot compare a none to a int (cast missing or types unrelated)
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(207,22): variable Math is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(207,27): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(207,57): cannot compare a none to a int (cast missing or types unrelated)
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(208,22): variable Math is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(208,27): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(208,57): cannot compare a none to a int (cast missing or types unrelated)
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(209,20): variable Math is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(209,25): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(209,55): cannot compare a none to a int (cast missing or types unrelated)
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(210,23): variable Math is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(210,28): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(210,58): cannot compare a none to a int (cast missing or types unrelated)
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(245,67): actorbase is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(245,95): actorbase is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(263,76): unknown type form
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(275,66): actorbase is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(275,94): actorbase is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(280,78): unknown type form
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(282,66): actorbase is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(282,94): actorbase is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(287,86): unknown type form
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(293,77): unknown type form
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(297,76): unknown type form
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(301,29): unknown type actor
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(301,47): unknown type actorbase
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(325,29): unknown type actor
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(325,47): unknown type actorbase
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(329,24): unknown type actor
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(329,42): unknown type actorbase
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(333,28): unknown type actor
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(333,46): unknown type actorbase
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(333,63): unknown type race
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(349,22): variable Utility is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(349,30): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(367,22): variable Utility is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(367,30): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(385,22): variable Utility is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(385,30): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(403,22): variable Utility is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(403,30): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(421,22): variable Utility is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(421,30): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(439,22): variable Utility is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(439,30): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(457,22): variable Utility is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(457,30): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(475,22): variable Utility is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(475,30): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(493,22): variable Utility is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(493,30): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(511,21): variable Utility is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(511,29): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(529,21): variable Utility is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(529,29): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(547,24): variable Utility is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(547,32): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(561,1): variable UI is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(561,4): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(565,1): variable UI is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(565,4): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(569,1): variable UI is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(569,4): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(573,1): variable UI is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(573,4): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(577,1): variable UI is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(577,4): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(581,1): variable UI is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(581,4): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(585,1): variable UI is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(585,4): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(595,1): variable UI is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(595,4): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(608,4): variable Math is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(608,9): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(608,49): cannot compare a none to a int (cast missing or types unrelated)
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(609,14): variable Utility is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(609,22): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(612,19): variable Utility is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(612,27): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(615,19): variable Utility is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(615,27): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(618,19): variable Utility is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(618,27): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(621,19): variable Utility is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(621,27): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(625,4): variable Math is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(625,9): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(625,48): cannot compare a none to a int (cast missing or types unrelated)
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(626,13): variable Utility is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(626,21): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(630,4): variable Math is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(630,9): none is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(630,51): cannot compare a none to a int (cast missing or types unrelated)
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(631,16): variable Utility is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\RaceMenuBase.psc(631,24): none is not a known user-defined type
No output generated for RaceMenuBase.psc, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on RaceMenuBase.psc
Neither race menu compile and it keeps failing.
It looks like you either haven’t installed SKSE or the base game files have overwritten its scripts. Try reinstalling it, especially if you exracted the scripts.rar files after having SKSE installed previously 🙂
Just re-installed SKSE. Same problem. Any other suggestions?
Hm, that’s a strange one since those are the errors that usually occur when the CK can’t find the SKSE source scripts – in particular, “Utility” is a variable supplied by SKSE. You have them installed to your base Skyrim folder, right? (I assume so, but worth a double check.)
Some other things you can try/verify:
1. Don’t run the CK from Mod Organizer unless you’ve used the workaround to allow papyrus to compile (see my response to the above user)
2. You’ve extracted all the scripts from the “scripts.rar” file in your Skyrim Data folder, and then installed SKSE after
3. You’ve installed the RaceMenu modder package
If all else fails, you can do a full reinstall of the skyrim base scripts and SKSE – should ideally fix any conflicts going on there.
SO everything works fine up until I have to compile my own script. It looks like this;
Scriptname bodypaintmod extends RaceMenuBase
Event OnBodyPaintRequest()
AddBodyPaint(“BodyPaint”, “Actors\\Character\\Character Assets\\Overlays\\paintmod\\bodypaint.dds”)
AddBodyPaint(“BodyPaint Interior”, “Actors\\Character\\Character Assets\\Overlays\\paintmod\\bodyPaintInt.dds”)
AddBodyPaint(“BodyPaint Exterior”, “Actors\\Character\\Character Assets\\Overlays\\paintmod\\bodyPaintExt.dds”)
EndEvent
Event OnWarpaintRequest()
AddWarpaint(“Facepaint”, “Actors\\Character\\Character Assets\\Overlays\\paintmod\\facepaint.dds”)
AddWarpaint(“Facepaint Interior”, “Actors\\Character\\Character Assets\\Overlays\\paintmod\\facePaintInt.dds”)
AddWarpaint(“Facepaint Exterior”, “Actors\\Character\\Character Assets\\Overlays\\paintmod\\facePaintExt.dds”)
EndEvent
I go to compile it CK and it fails every time. Any ideas?
Could you let me know what error it’s giving when it fails to compile?
Starting 1 compile threads for 1 files…
Compiling “bodyPaintMod”…
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(3,14): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(3,15): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(3,16): no viable alternative at character ‘o’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(3,26): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(3,27): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(3,28): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(3,31): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(3,32): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(3,33): no viable alternative at character ‘o’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(3,41): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(3,52): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(3,70): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(3,80): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(3,94): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(3,95): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(3,96): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,14): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,15): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,16): no viable alternative at character ‘o’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,35): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,36): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,37): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,40): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,41): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,42): no viable alternative at character ‘o’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,50): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,61): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,79): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,89): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,106): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,107): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,108): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,14): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,15): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,16): no viable alternative at character ‘o’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,35): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,36): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,37): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,40): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,41): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,42): no viable alternative at character ‘o’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,50): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,61): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,79): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,89): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,106): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,107): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,108): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(9,13): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(9,14): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(9,15): no viable alternative at character ‘o’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(9,25): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(9,26): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(9,27): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(9,30): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(9,31): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(9,32): no viable alternative at character ‘o’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(9,40): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(9,51): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(9,69): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(9,79): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(9,93): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(9,94): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(9,95): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,13): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,14): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,15): no viable alternative at character ‘o’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,34): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,35): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,36): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,39): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,40): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,41): no viable alternative at character ‘o’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,49): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,60): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,78): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,88): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,105): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,106): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,107): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,13): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,14): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,15): no viable alternative at character ‘o’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,34): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,35): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,36): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,39): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,40): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,41): no viable alternative at character ‘o’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,49): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,60): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,78): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,88): mismatched character ‘\’ expecting ‘\n’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,105): no viable alternative at character ‘ƒ’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,106): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,107): no viable alternative at character ‘?’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(3,34): no viable alternative at input ‘Actors’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(3,63): required (…)+ loop did not match anything at input ‘Assets’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(3,81): required (…)+ loop did not match anything at input ‘bodypaint’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(3,97): required (…)+ loop did not match anything at input ‘)’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,17): no viable alternative at input ‘BodyPaint’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,38): required (…)+ loop did not match anything at input ‘,’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,62): required (…)+ loop did not match anything at input ‘Character’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,43): function variable Character already defined in the same scope
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,80): required (…)+ loop did not match anything at input ‘Overlays’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,102): required (…)+ loop did not match anything at input ‘.’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(4,109): required (…)+ loop did not match anything at input ‘)’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,17): no viable alternative at input ‘BodyPaint’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,38): required (…)+ loop did not match anything at input ‘,’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,62): required (…)+ loop did not match anything at input ‘Character’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,43): function variable Character already defined in the same scope
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,80): required (…)+ loop did not match anything at input ‘Overlays’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,62): function variable Assets already defined in the same scope
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,102): required (…)+ loop did not match anything at input ‘.’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(5,109): required (…)+ loop did not match anything at input ‘)’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(9,33): no viable alternative at input ‘Actors’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(9,62): required (…)+ loop did not match anything at input ‘Assets’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(9,80): required (…)+ loop did not match anything at input ‘facepaint’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(9,96): required (…)+ loop did not match anything at input ‘)’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,16): no viable alternative at input ‘Facepaint’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,37): required (…)+ loop did not match anything at input ‘,’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,61): required (…)+ loop did not match anything at input ‘Character’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,42): function variable Character already defined in the same scope
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,79): required (…)+ loop did not match anything at input ‘Overlays’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,101): required (…)+ loop did not match anything at input ‘.’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(10,108): required (…)+ loop did not match anything at input ‘)’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,16): no viable alternative at input ‘Facepaint’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,37): required (…)+ loop did not match anything at input ‘,’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,61): required (…)+ loop did not match anything at input ‘Character’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,42): function variable Character already defined in the same scope
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,79): required (…)+ loop did not match anything at input ‘Overlays’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,61): function variable Assets already defined in the same scope
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,101): required (…)+ loop did not match anything at input ‘.’
E:\My Games\Steam\steamapps\common\skyrim\Data\Scripts\Source\bodyPaintMod.psc(11,108): required (…)+ loop did not match anything at input ‘)’
No output generated for bodyPaintMod.psc, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on bodyPaintMod.psc
Thanks! Those are all errors relating to the script syntax, so it looks like you probably have everything installed correctly. A few things you can check to fix it, in order from most likely to least:
1. The class for racemenu’s warpaint/facepaint overlays is “FacePaint” rather than “WarPaint”, I don’t know if a WarPaint class exists (admittedly never tried it), but give this a try for your warpaint lines:
Event OnFacePaintRequest()
AddFacePaint(“Paint Name”, “FILEPATH”)
EndEvent
2. Add a space between the AddBodyPaint and the parentheses for the filename. A minor syntax thing, but Papyrus is picky and has thrown a fit at me for missing or misplaced spaces before.
3. Double and triple check that your file paths are accurate, but that seems unlikely based on the errors you got.
I’ve tried everything and looked it over a bunch, but it still fails.
https://pastebin.com/raw/yyPECicK
Hey there
Not sure if you’ve fixed you’re problem or not, but I was having the exact same problem as you. Turns out I was using the wrong speech marks. It’s supposed to be “” instead of 66 99. Try using those, it might solve your problem 🙂
Hey, so I’ve reached up to step 7 and am having some issues. When trying to compile my script, im getting errors. I’m not running through MO like another comment here was either. Any help would be greatly appreciated 🙂
********My script**********
Scriptname HFS_Heart extends RaceMenuBase
Event OnBodyPaintRequest()
AddBodyPaint(“HFS Heart”, “Actors\\Character\\Overlays\\HeartAttempt.dds”)
EndEvent
***********The errors when trying to compile*************
Starting 1 compile threads for 1 files…
Compiling “HFS_Heart”…
D:\Steam\steamapps\common\Skyrim\Data\Scripts\Source\HFS_Heart.psc(4,14): no viable alternative at character ‘”‘
D:\Steam\steamapps\common\Skyrim\Data\Scripts\Source\HFS_Heart.psc(4,24): no viable alternative at character ‘”‘
D:\Steam\steamapps\common\Skyrim\Data\Scripts\Source\HFS_Heart.psc(4,27): no viable alternative at character ‘”‘
D:\Steam\steamapps\common\Skyrim\Data\Scripts\Source\HFS_Heart.psc(4,35): mismatched character ‘\’ expecting ‘\n’
D:\Steam\steamapps\common\Skyrim\Data\Scripts\Source\HFS_Heart.psc(4,46): mismatched character ‘\’ expecting ‘\n’
D:\Steam\steamapps\common\Skyrim\Data\Scripts\Source\HFS_Heart.psc(4,56): mismatched character ‘\’ expecting ‘\n’
D:\Steam\steamapps\common\Skyrim\Data\Scripts\Source\HFS_Heart.psc(4,73): no viable alternative at character ‘”‘
D:\Steam\steamapps\common\Skyrim\Data\Scripts\Source\HFS_Heart.psc(4,15): no viable alternative at input ‘HFS’
D:\Steam\steamapps\common\Skyrim\Data\Scripts\Source\HFS_Heart.psc(4,25): required (…)+ loop did not match anything at input ‘,’
D:\Steam\steamapps\common\Skyrim\Data\Scripts\Source\HFS_Heart.psc(4,47): required (…)+ loop did not match anything at input ‘Overlays’
D:\Steam\steamapps\common\Skyrim\Data\Scripts\Source\HFS_Heart.psc(4,69): required (…)+ loop did not match anything at input ‘.’
D:\Steam\steamapps\common\Skyrim\Data\Scripts\Source\HFS_Heart.psc(4,74): required (…)+ loop did not match anything at input ‘)’
No output generated for HFS_Heart.psc, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on HFS_Heart.psc
So! I’ve followed all the instructions and my tattoo is not showing up in the Racemenu list.
Everything Compiled fine. Everything saved fine. Activated the mod. Went into game on a test character to see the tattoo and it’s just not in the list.
Getting this error when attempting to compile my script. Everything else leading up to this step is fine, but the final one never works.
Starting 1 compile threads for 1 files…
Compiling “aaBodyPaintSet01″…
C:\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaBodyPaintSet01.psc(4,38): mismatched character ‘\’ expecting ‘\n’
C:\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaBodyPaintSet01.psc(4,49): mismatched character ‘\’ expecting ‘\n’
C:\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaBodyPaintSet01.psc(4,67): mismatched character ‘\’ expecting ‘\n’
C:\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaBodyPaintSet01.psc(4,77): mismatched character ‘\’ expecting ‘\n’
C:\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaBodyPaintSet01.psc(4,92): mismatched character ‘\r’ expecting ‘”‘
C:\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaBodyPaintSet01.psc(4,31): no viable alternative at input ‘Actors’
C:\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaBodyPaintSet01.psc(4,60): required (…)+ loop did not match anything at input ‘Assets’
C:\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaBodyPaintSet01.psc(4,78): required (…)+ loop did not match anything at input ‘BodySet1’
No output generated for aaBodyPaintSet01.psc, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on aaBodyPaintSet01.psc
Looks like it might be an issue with the encoding format of your text editor. What program are you using? I’d recommend giving something like Notepad++ a try, and ensuring your encoding is set to UTF8.
If that doesn’t solve it, I’d need to see your script (via pastebin or something similar) to further diagnose.
Hey, I followed this perfectly, it’s really well written, but I managed to mess up something on my end, near the very end when you compile your own script. My script can be found here: https://pastebin.com/XWyASdUz and the errors I get can be found here: https://pastebin.com/VRd8LHnG
I’m using Notepad++, and this is the only issue I’ve had so far. Any help would be much appreciated!
RaceMenuBase /RaceMenuLoad fails to compile error “nothing selected” must of gone over this a hundred times..still no luck
The tutorial is great! Simple to understand and easy to reproduce! Thank you!
I had a problem while compiling RaceMenuLoad and RaceMenuBase. “Failed to compile” I solved the problem :
1 – Reinstalling the game (without mods)
2 – Reinstall Creation Kit.
3 – Extract the Script.rar
4 – Install SKSE manually and replace the files if requested.
5 – Install RaceMenu and Racemenu For modders.
After doing that, I followed the tutorial without problem!
I do not know if it’s important … But, if you copy paste the script, put the quotation marks manually in Notepad++ while you write:
— ” — ==> OK
— “ — ==> NOT
Hi there I’m bashing my brains against trying to get the racemenubase to compile. I’ve made sure all the scripts are in the right place, reinstalled skse like 50 times, and am in general so incredibly frustrated. Any tips? The error I get is
So this tutorial does work for SE, but mind the fact that in SE scripts and source folders are swapped around, so when extracting Scripts.rar and SKSE scripts (&Racemenu scripts) keep that one in mind. When writing the scripts mind the “”, I had to rewrite them myself in notepad++ so it won’t be annoyed and would work fine. The path to texture goes from Data, so if you followed the first part the place where the texture would be is “Textures\\Actors\\Character\\Overlays\\YOURTEXTURENAME.dds”. From there it should be smooth sailing.