orcking12 Posted June 21, 2014 Posted June 21, 2014 I've been trying to learn how to mod with Sexlab for sometime and I've been having some problems and can't quite figure out what I'm doing wrong or find the wright answers. So what I'll do is post the things I know how to do, what I've been doing, and what I'm having problems with. I would be very appreciative of any help thank you in advance. Things I know how to do ( I know some things aren't related to sexlab modding but I'll put them down anyways): 1. Create Quests and dialouge 2. Create Items and recipes 3. Build enviroments and builings 4. Do basic package for NPC movements 5. I have added sexlab.bsa to the skyrim editor so it loads. 6. I have installed the appripriate SkyUI script files to make mods. 7. And of course i have FNIS and SKSE installed too. 8. I also know how to make a SEQ file after you have made your mod. Heres what I've been trying to do to learn the basics of Sexlab modding ( basically a ask for sex receive sex mod to learn with) 1. I'll create a fresh quest and set it up 2. I'll create the dialouge 3. at the last part of the dialouge I'll add in script from the Sexlab website and then add the SexLabFrameWork as a property. Heres the problem I run Into: 1. The script fragments i put into the box won't compile. 2. The second way I'll try it is to add a blank script, name it, add SexLabFrameWork as a property, and then add the script into it. However the when i go into game I'll go through the dialouge I added and nothing happens. So basically what I need is the basic instructions on a basic script that will cause the Player and person they are talking to to have sex and I can learn the rest from their. More specifically I need someone to break down the how to add the script after you have made the quest and dialouge. I know were to add it I just am not probably doing it in the correct order or am missing some important script if someone could break down a basic and paste the basic script for the Player and the NPC they are talking to to have sex that would be great. What I want to do is make some story mods involving sexlab and I know how to do everything else in the creation kit except this and its frustrating so if i could just get a basic ask for sex have sex mod working I'd be very appreciative.
Quisling Posted June 21, 2014 Posted June 21, 2014 "The script fragments i put into the box won't compile." Are you using Mod Organizer?
AwfulArchdemon Posted June 22, 2014 Posted June 22, 2014 If your scripts aren't compiling, then either: You're not writing the scripts right / not able to compile scripts with missing or improperly written codes As Quisling said, you're trying to compile using MO It would be a good idea to provide the scripts you already wrote. No way to tell what you did wrong otherwise, and explaining how to make a SL mod would be quite a lot to type . Have you asked ashal for help? He could certainly give the best answer. If you get your dialogue, but it isn't doing anything, the call to SL anims isn't happening. Check out another SL mod's codes, and see how it calls to SL during dialogue. It could just be typo. Happens to the best of 'em .
Ashal Posted June 22, 2014 Posted June 22, 2014 5. I have added sexlab.bsa to the skyrim editor so it loads. There is no sexlab.bsa, SexLab doesn't have any bsa file to speak of, it's all loose files. Assuming you aren't using some bootleg modified version of SexLab you downloaded from some other site, in which case you need to get the loose files so you have the source scripts to compile off of. Heres what I've been trying to do to learn the basics of Sexlab modding ( basically a ask for sex receive sex mod to learn with) 1. I'll create a fresh quest and set it up 2. I'll create the dialouge 3. at the last part of the dialouge I'll add in script from the Sexlab website and then add the SexLabFrameWork as a property. Heres the problem I run Into: 1. The script fragments i put into the box won't compile. 2. The second way I'll try it is to add a blank script, name it, add SexLabFrameWork as a property, and then add the script into it. However the when i go into game I'll go through the dialouge I added and nothing happens. So basically what I need is the basic instructions on a basic script that will cause the Player and person they are talking to to have sex and I can learn the rest from their. More specifically I need someone to break down the how to add the script after you have made the quest and dialouge. I know were to add it I just am not probably doing it in the correct order or am missing some important script if someone could break down a basic and paste the basic script for the Player and the NPC they are talking to to have sex that would be great. What I want to do is make some story mods involving sexlab and I know how to do everything else in the creation kit except this and its frustrating so if i could just get a basic ask for sex have sex mod working I'd be very appreciative. The compiler should be outputting an error message, can't really tell you what's wrong with it unless you show the script and/or compiler error message.
orcking12 Posted June 23, 2014 Author Posted June 23, 2014 Ok heres what I did: 1st Try: I made the quest dialouge and at the end i put his scrip into the end compiler box SCRIPT actor[] sexActors = new actor[2]sexActors[0] = Game.GetPlayer()sexActors[1] = akSpeakersslBaseAnimation[] animsanims = SexLab.GetAnimationsByTag(2, "Oral")SexLab.StartSex(sexActors, anims) and got these errors ERRORS Starting 1 compile threads for 1 files...Compiling "TIF__04000D66"...C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__04000D66.psc(13,8): variable SexLab is undefinedC:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__04000D66.psc(13,15): none is not a known user-defined typeC:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__04000D66.psc(14,0): variable SexLab is undefinedC:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__04000D66.psc(14,7): none is not a known user-defined typeNo output generated for TIF__04000D66, compilation failed.Batch compile of 1 files finished. 0 succeeded, 1 failed.Failed on TIF__04000D66 2nd Try: This time after making the quest and dialouge I just create a new script named it, then added SexlabFrameWork to it as a property, then add this script which compiled heres the whole script. SCRIPT: ;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment;NEXT FRAGMENT INDEX 2Scriptname SexLabTest001 ;BEGIN FRAGMENT Fragment_1Function Fragment_1(ObjectReference akSpeakerRef)Actor akSpeaker = akSpeakerRef as Actor;BEGIN CODEactor[] sexActors = new actor[2]sexActors[0] = Game.GetPlayer()sexActors[1] = akSpeakersslBaseAnimation[] animsanims = SexLab.GetAnimationsByTag(2, "Oral")SexLab.StartSex(sexActors, anims);END CODEEndFunction;END FRAGMENT;END FRAGMENT CODE - Do not edit anything between this and the begin commentSexLabFramework Property SexLab Auto The problem I got with this was when i go in game approach an NPC the dialouge shows up which is a simple " Fuck Me" "OK" dialouge tree and then afterwards conversations ends and nothing happens so I'm wondering what is going wrong with my script above. I know the scripting above is tagged as oral I don't care what animation plays right now just as long as an animation plays.
irquih Posted June 23, 2014 Posted June 23, 2014 Ok heres what I did: 1st Try: I made the quest dialouge and at the end i put his scrip into the end compiler box SCRIPT actor[] sexActors = new actor[2] sexActors[0] = Game.GetPlayer() sexActors[1] = akSpeaker sslBaseAnimation[] anims anims = SexLab.GetAnimationsByTag(2, "Oral") SexLab.StartSex(sexActors, anims) and got these errors ERRORS Starting 1 compile threads for 1 files... Compiling "TIF__04000D66"... C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__04000D66.psc(13,8): variable SexLab is undefined C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__04000D66.psc(13,15): none is not a known user-defined type C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__04000D66.psc(14,0): variable SexLab is undefined C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__04000D66.psc(14,7): none is not a known user-defined type No output generated for TIF__04000D66, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on TIF__04000D66 2nd Try: This time after making the quest and dialouge I just create a new script named it, then added SexlabFrameWork to it as a property, then add this script which compiled heres the whole script. SCRIPT: ;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment ;NEXT FRAGMENT INDEX 2 Scriptname SexLabTest001 ;BEGIN FRAGMENT Fragment_1 Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE actor[] sexActors = new actor[2] sexActors[0] = Game.GetPlayer() sexActors[1] = akSpeaker sslBaseAnimation[] anims anims = SexLab.GetAnimationsByTag(2, "Oral") SexLab.StartSex(sexActors, anims) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment SexLabFramework Property SexLab Auto The problem I got with this was when i go in game approach an NPC the dialouge shows up which is a simple " Fuck Me" "OK" dialouge tree and then afterwards conversations ends and nothing happens so I'm wondering what is going wrong with my script above. I know the scripting above is tagged as oral I don't care what animation plays right now just as long as an animation plays. 'variable SexLab is undefined' means exactly what it says: that variable doesn't exist (which is strange, since your script seems to have the property defined). 'none is not a known user-defined type' is the result of the compiler trying to make your code do something, by substituting none for the sexlab variable. What you need to do in your script is to cause the variable SexLab to exist. The way to do that is to add a property (named 'SexLab', with type 'SexLabFramework') and then assign it a value (there should be only 1 or 2 of those). -- edit: hadn't noticed the SexLab property at the end of the script How did you create the SexLab property? It seems a bit weird to me to put the property after the use, by the way. Maybe that's just my C/C++ background, but can you try moving it to before the function?
XxBloodMagicxX Posted June 23, 2014 Posted June 23, 2014 Any possible chance someone could tell me what the latest XP32 Skeleton is?
WaxenFigure Posted June 23, 2014 Posted June 23, 2014 Any possible chance someone could tell me what the latest XP32 Skeleton is? Do not spam the forum. This is not related to the subject and you already asked this question in another thread.
XxBloodMagicxX Posted June 23, 2014 Posted June 23, 2014 Any possible chance someone could tell me what the latest XP32 Skeleton is? Do not spam the forum. This is not related to the subject and you already asked this question in another thread. Ok? Sorry I guess?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.