EternalDamned Posted November 30, 2013 Posted November 30, 2013 I am trying to create a sexlab/sl aroused aware NPC. My goal being that when her arousal level reaches 75+ she will seek out someone with relationship rank 2 or higher in vicinity and initiate sex with them, or masturbate if no one meeting that criteria is within around a 500 meter range. I already have her set-up with SexLab and SL Aroused as parent masters. But I have absolutely no clue about writing the script! Any help would be greatly appreciated. Already read every page of the wiki and watched a dozen tutorials, none of them even come close to hinting at how to do this.
shane4244 Posted November 30, 2013 Posted November 30, 2013 I am trying to create a sexlab/sl aroused aware NPC. My goal being that when her arousal level reaches 75+ she will seek out someone with relationship rank 2 or higher in vicinity and initiate sex with them, or masturbate if no one meeting that criteria is within around a 500 meter range. I already have her set-up with SexLab and SL Aroused as parent masters. But I have absolutely no clue about writing the script! Any help would be greatly appreciated. Already read every page of the wiki and watched a dozen tutorials, none of them even come close to hinting at how to do this. The only way to learn from scratch besides reading the wiki tutorials is to look at other mods scripts that come close to what you want to do. Make a simple mod to start with to get used to how things work in the script. Once you have made a simple sex script and have it working then you can add different conditions to it, like the range, rank and other things you mentioned. The reason I'm suggesting to do it like that is so your not fighting 100 reasons why your script doesn't work at once. Also once you get your fuctional sex script working you can focus on how to add each thing one at a time. For example when you want to learn how to do the range part you can google something like "How can I target an NPC at a certain range in the skyrim ck with a script" and prepare to read through some garbage to get what you want but you will learn other things as your reading. The reason you don't see some detailed tutorial on scripting for skyrim is because it would be almost impossible to make there are endless amounts of things to cover but normally if you search for one issue at a time you can find the answer. If you haven't looked at the guide for modding with sexlab don't forget to check that out. It will help you get started with your basic sex script which is where I would suggest starting you will find a link for it in the OP for SexLab. I hope this was somewhat helpful to you.
EternalDamned Posted November 30, 2013 Author Posted November 30, 2013 If only I could find anything that actually tells how to even start a working sex mod...
Ashal Posted November 30, 2013 Posted November 30, 2013 If only I could find anything that actually tells how to even start a working sex mod... Something like http://git.loverslab.com/sexlab/wikis/home or http://git.loverslab.com/sexlab/wikis/function-startsex for instance?
shane4244 Posted November 30, 2013 Posted November 30, 2013 If only I could find anything that actually tells how to even start a working sex mod... There is nothing complicated about using a basic sex funtiion with SexLab here is a basic example Link I'll break that example down a little here is the script from that example: My notes are in green Scriptname sslMM_Dialogue extends Quest (this is the script name to write this script go under the scripts tab in your quest, click add, create new and name it) SexLabFramework property SexLab auto (this is one of the script properties when you go to actually write your script (right click the script you just made and click edit) you would write this line then save the script. Next click on properties click on sexlab and only one option will show up Sexlab framework click on that. function SexCall(Actor SpeakerRef) (this is your funtion you can name it anything you like. Example MyFuntion() in this case in between the () he is declaring that the speakerRef is an actor by puting (Actor SpeakerRef) you do not always need to do this. For example if Sexactor [2] was a specific NPC you would just assign a property for the script for the NPC "Actor Property YourNPC Auto" debug.messagebox (SpeakerRef) (This just makes a message box on screen completly optional but help to see if your script is firing) ; // Create our actor array using our chosen actor references (this is a script note its not part of the funtion anything with ; in front of it will not be ran) actor[] sexActors = new actor[2] I don't know the right way to explain this without confusing you who the sexactors are is defined below) sexActors[0] = Game.GetPlayer() (this is the first actor in the scene in this case its the player. The way this was done is the simplest way to get the player no property needed) sexActors[1] = SpeakerRef (this is the secound actor involved in this case no property needed here either it is declared as an actor in the the begining " function SexCall(Actor SpeakerRef)" debug.messagebox (sexActors[0]) (more message boxes for testing your script optional but helpful) debug.messagebox (sexActors[1]) ; // Initialize our animation array as empty, so SexLab will pick the animations based on defaults (script note optional) sslBaseAnimation[] anims (explained in the script note above this is what selects the animation in this case it will be random but there are many ways to pick the type, or a specific animation with this call it's explained further in the SexLab git.) ; // "Buisness Time" SexLab.StartSex(sexActors, anims) (this what actually starts the animation SexActors is the 2 actors that were assigned above and anims are pulled from the sslBaseanimation[] anims from above in this case like I said there are no varibles so it will just pick something random) endfunction (this ends the function) To call this function with this example simply use (GetOwningQuest() as sslMM_Dialogue).SexCall(akSpeaker) in a dialog fragment script. Making a script that pulls from the framework has been made very easy by ashal its everything else that will make you pull out your hair. Before you can make a mod you need to learn all the basics first by reading everyting you can find,trying to make the example quest on the wiki, tearing apart and changing other mods untill you understand them. Thats actually how I started by tweaking SexAddicts to my liking the more I changed the more a started to understand how it worked. this the meat of this script that you would write in yours this how simple the script can be to get two actors to have sex SexLabFramework property SexLab auto function SexCall(Actor SpeakerRef) actor[] sexActors = new actor[2] sexActors[0] = Game.GetPlayer() sexActors[1] = SpeakerRef sslBaseAnimation[] anims SexLab.StartSex(sexActors, anims) endfunction When wrighting this I assumed you have done some basic homework like how to make a basic quest, how to assign properties to a script. If there is anything you don't understand then you need to do some googling to learn the basics.
EternalDamned Posted November 30, 2013 Author Posted November 30, 2013 OMG now THAT is helpful! It may seem like something very simple, but if no one tells you that you need: sexActors[0] = Game.GetPlayer() and sexActors[1] = SpeakerRef It will drive you INSANE!! From the looks of it, I had everything else right several days ago, but missing those few key words was enough to make me create a dozen errors again and again. So from this, would I be correct to assume that if I was not necessarily to be in the act, but another NPC was, it would be sexActors[0] = SpeakerRef sexActors[1] = TargetRef ?
Ashal Posted November 30, 2013 Posted November 30, 2013 Making a script that pulls from the framework has been made very easy by ashal its everything else that will make you pull out your hair. Before you can make a mod you need to learn all the basics first by reading everyting you can find,trying to make the example quest on the wiki, tearing apart and changing other mods untill you understand them. Thats actually how I started by tweaking SexAddicts to my liking the more I changed the more a started to understand how it worked. To add my own encouragment to this; this is exactly how I learned as well, I knew literally zero scripting for Skyrim before making SexLab, I learned everything that resulted in making SexLab by first and foremost tearing apart SexiS and SexAddicts until I understood how they worked. First step to making SexLab mods themselves is no different, don't hesitate to tear apart existing mods that do things you want. this the meat of this script that you would write in yours this how simple the script can be to get two actors to have sex SexLabFramework property SexLab auto function SexCall(Actor SpeakerRef) actor[] sexActors = new actor[2] sexActors[0] = Game.GetPlayer() sexActors[1] = SpeakerRef sslBaseAnimation[] anims SexLab.StartSex(sexActors, anims) endfunction To make it even smaller/simplier looking, with the upcoming SexLab 1.30 it could actually look as simple as this, with not even a SexLabFramework property being necessary: function SexCall(Actor SpeakerRef) SexLabUtil.QuickStart(Game.GetPlayer(), SpeakerRef) endFunction
shane4244 Posted November 30, 2013 Posted November 30, 2013 OMG now THAT is helpful! It may seem like something very simple, but if no one tells you that you need: sexActors[0] = Game.GetPlayer() and sexActors[1] = SpeakerRef It will drive you INSANE!! From the looks of it, I had everything else right several days ago, but missing those few key words was enough to make me create a dozen errors again and again. So from this, would I be correct to assume that if I was not necessarily to be in the act, but another NPC was, it would be sexActors[0] = SpeakerRef sexActors[1] = TargetRef ? You could use that but you would have to declare who the TargetRef is and if its just some random NPC then you would need to set up an alias for the NPC to fill and probably get rid of the speakerRef and use another alias for that actor if what your doing is trying to make 2 NPC'S have sex (without you taliking to them). What your trying to do is not simple for a beginner especially with the conditions you want. All I've done is explain the basic sex script it really won't help much with what your trying to do.
EternalDamned Posted November 30, 2013 Author Posted November 30, 2013 Believe me, explaining the basic sex script is no small thing. But as you said earlier, the first step is getting something working. Then I can fine tune it after that. Thats what led me to originally believe it might have been possible to do through an AI package. The functions are there, as well as access to script fragments. I can set the GetFactionRank sl_arousal under the conditions tab, and enter script fragments under the Begin/End/Change tab. So I'm hoping to figure something out eventually.
shane4244 Posted November 30, 2013 Posted November 30, 2013 Believe me, explaining the basic sex script is no small thing. But as you said earlier, the first step is getting something working. Then I can fine tune it after that. Thats what led me to originally believe it might have been possible to do through an AI package. The functions are there, as well as access to script fragments. I can set the GetFactionRank sl_arousal under the conditions tab, and enter script fragments under the Begin/End/Change tab. So I'm hoping to figure something out eventually. I wasn't trying to discourage you I also think it would be an interesting mod kind of like the Random sex mod but instead of timers it would use arousal very good idea and while I'm on the subject I think having a peek at the Random Sex mod might be helpfull to see how he grabs random NPC's obviously the conditions would be different but it may help you.
EternalDamned Posted December 18, 2013 Author Posted December 18, 2013 Please! What am I doing wrong?!? This is my entire script!: Scriptname BAPSexTime Extends QuestSexLabFramework property SexLab auto function SexCall(Actor SpeakerRef) actor[] sexActors = new actor[2] sexActors[0] = Game.GetPlayer() sexActors[1] = SpeakerRef sslBaseAnimation[] anims SexLab.StartSex(sexActors, anims)endfunction This is what I get when I try to compile it: Starting 1 compile threads for 1 files...Compiling "BAPSexTime"...D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslUtility.psc(195,12): variable StringUtil is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslUtility.psc(195,23): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslUtility.psc(195,5): type mismatch while assigning to a int (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslUtility.psc(197,15): variable StringUtil is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslUtility.psc(197,26): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslUtility.psc(198,5): variable StringUtil is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslUtility.psc(198,16): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslUtility.psc(198,35): cannot compare a none to a string (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslUtility.psc(199,9): variable StringUtil is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslUtility.psc(199,20): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslUtility.psc(205,9): variable StringUtil is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslUtility.psc(205,20): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslUtility.psc(205,2): type mismatch while assigning to a int (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslAnimationFactory.psc(46,1): RegisterForModEvent is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslAnimationFactory.psc(47,1): SendModEvent is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslAnimationFactory.psc(48,1): UnregisterForAllModEvents is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslCreatureAnimationFactory.psc(27,1): RegisterForModEvent is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslCreatureAnimationFactory.psc(28,1): SendModEvent is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslCreatureAnimationFactory.psc(29,1): UnregisterForAllModEvents is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslCreatureAnimationDefaults.psc(49,17): GetModCount is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslCreatureAnimationDefaults.psc(49,17): cannot call the member function GetModCount alone or on a type, must call it on a variableD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslCreatureAnimationDefaults.psc(49,5): type mismatch while assigning to a int (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslCreatureAnimationDefaults.psc(52,24): GetModName is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslCreatureAnimationDefaults.psc(52,24): cannot call the member function GetModName alone or on a type, must call it on a variableD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslCreatureAnimationSlots.psc(20,45): GetName is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslCreatureAnimationSlots.psc(50,13): GetNthAlias is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslCreatureAnimationSlots.psc(50,28): cannot cast a none to a sslbaseanimation, types are incompatibleD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslCreatureAnimationSlots.psc(55,1): SendModEvent is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorStats.psc(499,1): SendModEvent is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslThreadSlots.psc(72,18): GetNthAlias is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslThreadSlots.psc(72,33): cannot cast a none to a sslthreadcontroller, types are incompatibleD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslBaseVoice.psc(49,23): GetVoiceType is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslBaseVoice.psc(56,8): SetVoiceType is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslBaseVoice.psc(58,8): SetVoiceType is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslBaseVoice.psc(62,7): SetVoiceType is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslVoiceFactory.psc(31,1): RegisterForModEvent is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslVoiceFactory.psc(32,1): SendModEvent is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslVoiceFactory.psc(33,1): UnregisterForAllModEvents is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslVoiceSlots.psc(145,13): GetNthAlias is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslVoiceSlots.psc(145,28): cannot cast a none to a sslbasevoice, types are incompatibleD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslVoiceSlots.psc(150,1): SendModEvent is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslExpressionFactory.psc(35,1): RegisterForModEvent is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslExpressionFactory.psc(36,1): SendModEvent is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslExpressionFactory.psc(37,1): UnregisterForAllModEvents is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslExpressionSlots.psc(135,13): GetNthAlias is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslExpressionSlots.psc(135,28): cannot cast a none to a sslbaseexpression, types are incompatibleD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslExpressionSlots.psc(140,1): SendModEvent is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(38,14): GetCameraState is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(38,14): cannot call the member function GetCameraState alone or on a type, must call it on a variableD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(38,31): cannot compare a none to a int (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(6,16): GetModCount is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(6,16): cannot call the member function GetModCount alone or on a type, must call it on a variableD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(6,9): cannot compare a int to a none (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(6,9): cannot relatively compare variables to NoneD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(7,16): GetModName is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(7,16): cannot call the member function GetModName alone or on a type, must call it on a variableD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(7,30): cannot compare a none to a string (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(51,4): variable StringUtil is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(51,15): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(51,38): cannot compare a none to a int (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(61,4): variable StringUtil is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(61,15): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(61,36): cannot compare a none to a int (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(64,4): variable StringUtil is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(64,15): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(64,38): cannot compare a none to a int (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(67,4): variable StringUtil is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(67,15): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(67,38): cannot compare a none to a int (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(70,4): variable StringUtil is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(70,15): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(70,40): cannot compare a none to a int (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(84,26): GetCameraState is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(84,26): cannot call the member function GetCameraState alone or on a type, must call it on a variableD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\SexLabUtil.psc(84,43): cannot compare a none to a int (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(63,2): RegisterForKey is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(64,2): RegisterForKey is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(65,2): RegisterForKey is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(66,2): RegisterForKey is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(67,2): RegisterForKey is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(68,2): RegisterForKey is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(69,2): RegisterForKey is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(70,2): RegisterForKey is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(71,2): RegisterForKey is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(72,2): RegisterForKey is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(73,2): RegisterForKey is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(74,2): RegisterForKey is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(75,2): RegisterForKey is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(76,2): RegisterForKey is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(87,1): UnregisterForAllKeys is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(91,1): RegisterForKey is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(96,43): variable UI is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(96,46): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(96,71): variable UI is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(96,74): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(108,17): variable Input is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(108,23): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(108,43): variable Input is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(108,49): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(110,15): variable Input is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(110,21): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(116,22): variable Input is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(116,28): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(116,49): variable Input is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(116,55): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(118,20): variable Input is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslControlLibrary.psc(118,26): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslThreadModel.psc(204,63): GetName is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslThreadModel.psc(207,63): GetName is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslThreadModel.psc(210,63): GetName is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslThreadModel.psc(216,63): GetName is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslThreadModel.psc(224,56): GetName is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslThreadModel.psc(224,89): GetName is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslThreadModel.psc(729,2): SendModEvent is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslThreadModel.psc(732,1): SendModEvent is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslThreadModel.psc(743,16): RegisterForModEvent is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslThreadModel.psc(745,1): SendModEvent is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorAlias.psc(101,21): GetName is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorAlias.psc(221,60): GetCameraState is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorAlias.psc(221,60): cannot call the member function GetCameraState alone or on a type, must call it on a variableD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorAlias.psc(221,77): cannot compare a none to a int (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorAlias.psc(475,13): SheatheWeapon is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorAlias.psc(560,22): GetCameraState is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorAlias.psc(560,22): cannot call the member function GetCameraState alone or on a type, must call it on a variableD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorAlias.psc(560,39): cannot compare a none to a int (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorAlias.psc(711,1): UnregisterForAllModEvents is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorSlots.psc(23,17): GetNthAlias is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorSlots.psc(23,34): cannot cast a none to a sslactoralias, types are incompatibleD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorSlots.psc(24,17): GetNthAlias is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorSlots.psc(24,38): cannot cast a none to a sslactoralias, types are incompatibleD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorSlots.psc(25,17): GetNthAlias is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorSlots.psc(25,38): cannot cast a none to a sslactoralias, types are incompatibleD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorSlots.psc(26,17): GetNthAlias is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorSlots.psc(26,38): cannot cast a none to a sslactoralias, types are incompatibleD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorSlots.psc(27,17): GetNthAlias is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorSlots.psc(27,38): cannot cast a none to a sslactoralias, types are incompatibleD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorSlots.psc(71,17): GetNthAlias is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorSlots.psc(71,32): cannot cast a none to a sslactoralias, types are incompatibleD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(285,14): GetNumKeywords is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(285,5): type mismatch while assigning to a int (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(288,19): GetNthKeyword is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(288,36): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(289,5): variable StringUtil is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(289,16): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(289,36): cannot compare a none to a int (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(289,45): variable StringUtil is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(289,56): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(289,74): cannot compare a none to a int (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(343,35): GetMaskForSlot is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(343,35): cannot call the member function GetMaskForSlot alone or on a type, must call it on a variableD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(343,17): GetWornForm is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(385,26): GetType is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(385,7): type mismatch while assigning to a int (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(461,77): GetName is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(468,41): HasKeywordString is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(469,76): GetName is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(473,76): GetName is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(477,76): GetName is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(481,76): GetName is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(485,76): GetName is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(489,29): GetName is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(490,14): IsRaceFlagSet is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(490,43): variable StringUtil is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(490,54): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(490,78): cannot compare a none to a int (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(490,87): variable StringUtil is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(490,98): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(490,120): cannot compare a none to a int (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(490,129): variable StringUtil is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(490,140): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(490,164): cannot compare a none to a int (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(490,173): variable StringUtil is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(490,184): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(490,207): cannot compare a none to a int (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(490,216): variable StringUtil is undefinedD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(490,227): none is not a known user-defined typeD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(490,252): cannot compare a none to a int (cast missing or types unrelated)D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(492,76): GetName is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(495,25): HasKeywordString is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(496,76): GetName is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslActorLibrary.psc(516,45): HasKeyWordString is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslAnimationSlots.psc(215,13): GetNthAlias is not a function or does not existD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslAnimationSlots.psc(215,28): cannot cast a none to a sslbaseanimation, types are incompatibleD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\sslAnimationSlots.psc(220,1): SendModEvent is not a function or does not existNo output generated for BAPSexTime.psc, compilation failed.Batch compile of 1 files finished. 0 succeeded, 1 failed.Failed on BAPSexTime.psc Any hints, ideas, help?
Ashal Posted December 18, 2013 Posted December 18, 2013 You need to reinstall SKSE. Installing the creation kit overwrites SKSEs scripts, which is why you're getting a bunch of errors saying those SKSE functions don't exists.
EternalDamned Posted December 18, 2013 Author Posted December 18, 2013 grrr I had creation kit installed first too
EternalDamned Posted December 18, 2013 Author Posted December 18, 2013 Re-installed SKSE and I get the exact same thing.
Guest Posted December 18, 2013 Posted December 18, 2013 use the 7zip not the installer, that was it for me.
EternalDamned Posted December 18, 2013 Author Posted December 18, 2013 use the 7zip not the installer, that was it for me. OMG thanks so much! That did it! Who would have guessed the installer fail's to overwrite the psc files in the src folder!
PsYchoMurder Posted April 27, 2014 Posted April 27, 2014 You need to reinstall SKSE. Installing the creation kit overwrites SKSEs scripts, which is why you're getting a bunch of errors saying those SKSE functions don't exists. omg huge thanks for this one i was just about to give up on figuring why i can't compile any scripts, but then i found this topic... now all works like a charm
R0kk0 Posted June 25, 2014 Posted June 25, 2014 use the 7zip not the installer, that was it for me. still getting the same here. im about to give up. any ideas?
Shenk Posted June 28, 2014 Posted June 28, 2014 use the 7zip not the installer, that was it for me. still getting the same here. im about to give up. any ideas? I, too am getting this. I am merely trying to compile sslActorLibrary.psc as it was when downloaded. I have made no changes at all. Reinstalling SKSE using the 7zip as instructed disposed of a number of errors, but not even close to all of them. Installing the SkyUI stuff as instructed did nothing. I simply get a bunch of lines giving error messages along the lines of those already given here - "none is not a known user-defined type" and "variable ModEvent is undefined" seemingly being the most common. I await reply. :c
arcain782 Posted August 2, 2014 Posted August 2, 2014 Also getting same errors after installing in correct order: Creation Kit -> SKSE (7z Archive)-> SexLab Starting 1 compile threads for 1 files... Compiling "sslActorLibrary"... C:\Program Files (x86)\Steam\SteamApps\common\Skyrim\Data\scripts\Source\sslSystemConfig.psc(508,9): variable FNIS is undefined C:\Program Files (x86)\Steam\SteamApps\common\Skyrim\Data\scripts\Source\sslSystemConfig.psc(508,14): none is not a known user-defined type No output generated for sslActorLibrary, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on sslActorLibrary UPDATE Solution Found! I found out why it wasnt compiling. You need to have FNIS and FNIS Creature Pack installed inorder to compile SexLab. In addition to this FNIS requires you to run GenerateFNIS behavior files. Directions on how to do this are located at the mod page at Skyrim Nexus. Just search FNIS. This problem was very frustrating to me as it has been to others who have posted here so I hope this helps. Just install FNIS + Creature Pack, generate the behavior files and the compile will succeed as long as you have installed everything in the proper order. Starting 1 compile threads for 1 files... Compiling "sslActorLibrary"... Starting assembly of sslActorLibrary 0 error(s), 0 warning(s) Assembly succeeded Compilation succeeded. Batch compile of 1 files finished. 1 succeeded, 0 failed.
sethwarner08 Posted August 21, 2015 Posted August 21, 2015 Also getting same errors after installing in correct order: Creation Kit -> SKSE (7z Archive)-> SexLab Starting 1 compile threads for 1 files... Compiling "sslActorLibrary"... C:\Program Files (x86)\Steam\SteamApps\common\Skyrim\Data\scripts\Source\sslSystemConfig.psc(508,9): variable FNIS is undefined C:\Program Files (x86)\Steam\SteamApps\common\Skyrim\Data\scripts\Source\sslSystemConfig.psc(508,14): none is not a known user-defined type No output generated for sslActorLibrary, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on sslActorLibrary UPDATE Solution Found! I found out why it wasnt compiling. You need to have FNIS and FNIS Creature Pack installed inorder to compile SexLab. In addition to this FNIS requires you to run GenerateFNIS behavior files. Directions on how to do this are located at the mod page at Skyrim Nexus. Just search FNIS. This problem was very frustrating to me as it has been to others who have posted here so I hope this helps. Just install FNIS + Creature Pack, generate the behavior files and the compile will succeed as long as you have installed everything in the proper order. Starting 1 compile threads for 1 files... Compiling "sslActorLibrary"... Starting assembly of sslActorLibrary 0 error(s), 0 warning(s) Assembly succeeded Compilation succeeded. Batch compile of 1 files finished. 1 succeeded, 0 failed. Thanks a ton for this solution!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.