astymma Posted February 10, 2012 Posted February 10, 2012 Prideslayer, you may want to look at this code in SexoutRapers in the 00SexoutRapersCombatScript: set hp1 to ( 1 - ( getav health ) / ( getbaseav health ) ) * SexoutRapers.combatRate Might want to add another set of parens like so: set hp1 to ( 1 - (( getav health ) / ( getbaseav health )) ) * SexoutRapers.combatRate If it was being interpreted as 1-(getav health) being divided by (getbaseav health) then it would always produce a negative number and would result in combat rape never happening. Being more explicit with the parens couldn't hurt...
astymma Posted February 10, 2012 Posted February 10, 2012 Oh for you guys wondering, the max you would ever need to set the slider to to guarantee combat rape is 10000. 10000 times any decimal float value will always produce 100+ as a chance. Er, unless the health of the victim was at greater than 99%. If you're concerned about that, go with 100000 Combat rape will require you do some damage even if it's set for 100% because of the formula in my prior post. If the health is at maximum, the combat rape factor becomes (1 - (1)) * combatrape which = 0. It's a sliding scale that increases your rape chance the more damaged the victim currently is in relation to their base health. With 10000 as your slider setting, ANY damage greater than or equal to 1% of their base health will guarantee combat rape happens. Some helpful comparisons: 10000 setting = 0% at 100% health, 100% at 99% health. 5000 setting = 0% at 100% health, 100% at 98% health. 1000 setting = 0% at 100% health, 100% at 90% health. 500 setting = 0% at 100% health, 100% at 80% health. 200 setting = 0% at 100% health, 100% at 50% health. 100 setting = 0% at 100% health, 100% at 0% health.
prideslayer Posted February 10, 2012 Author Posted February 10, 2012 I will take a look at it as soon as I'm done with the sexout junk, though I really don't want to! I wonder if a simpler formula is in order.
prideslayer Posted February 10, 2012 Author Posted February 10, 2012 Upcoming in next release, later today ZAZ support functionality is being added to Sexout (finally). I have a system in place and am working with masterchris to get everything squared away. There are two spells and one sexoutng quest var that modders are going to want to make use of. Note that at present, none of this actually "works", though it does all exist. It's being put in, even though it does nothing, so that mods (especially the upcoming ZAZ ESP) can make use of the references and vars. 1. SexoutWantZAZ This is a spell that modders should simply cast, once, on the player, if their mod wants to make use of the ZAZ animations. I'll spare you the gory details, but the end result of this spell is notifying the player if their ZAZ version is out of date. 2. SexoutZAZ The main spell. Works the same as SexoutBegin. You will use the normal sexoutNG vars (actora, actorb) and the sexout 'anim' var. There is not yet a random picker. 3. SexoutNG.nZAZPackWanted Modders who are making use of SexoutZAZ need to set this value to the minimum ZAZ version they need in order to work properly. They must only set this value if it is lower than the version they want. Initially this will just be 1. Example, to put in your quest script or whatever -- somewhere within an "if (GetGameLoaded || GetGameRestarted)" block. if SexoutNG.nZAZPackWanted < some_number_i_want set SexoutNG.nZAZPackWanted to some_number_i_want endif
prideslayer Posted February 10, 2012 Author Posted February 10, 2012 V2.3.53 BETA ESP download in OP. Current list of items in the beta, subject to change. 2nd post in the thread is always up to date. Confirmed (done) for V2.3.53 - Default MCM settings fix, and settings will be reset again. Sorry! This means: -- Males (NPC and player) will default to the breezes bodysuit if installed, sexout bodysuit otherwise. -- Females will default to no bodysuit. - Removed two rogue dialogs via FNVEdit. GREETING (unmodified) and some doctor thing. - Created animation token, spell, version support, and animation group for ZAZ animations. - SexoutNG main script delay set to 0.01 to make updates quicker. Everything is in a loaded/restarted block so should not impact performance. - Removed MCM control for 'override', always on now. EDIT: Forgot I also put in the default NPC orientation flags along with MCM controls for them.
prideslayer Posted February 10, 2012 Author Posted February 10, 2012 2.3.53 beta2 ESM download in OP Astymma, this has 'your stuff' in it. SexoutNGFinishNow SexoutNGPause SexoutNGResume Still beta, I didn't test these at all... they are small and simple. Busy + lazy is a terrible combination, also.
astymma Posted February 11, 2012 Posted February 11, 2012 2.3.53 beta2 ESM download in OP Astymma' date=' this has 'your stuff' in it. SexoutNGFinishNow SexoutNGPause SexoutNGResume Still beta, I didn't test these at all... they are small and simple. Busy + lazy is a terrible combination, also. [/quote'] Haha, awesome job, prideslayer
prideslayer Posted February 11, 2012 Author Posted February 11, 2012 All tested and working. Non-beta release coming in about 5 minutes. The version string in the ESM will now be suffixed with R for release versions, or bN (b1, b2, etc) for betas. This is so I don't have to keep bumping the internal rev number for beta uploads. Kiddies: If playing with a beta, don't save -- or at least, don't load from a beta save when updating.
prideslayer Posted February 11, 2012 Author Posted February 11, 2012 V2.3.53 plugins in OP - Default MCM settings fix, and settings will be reset again. Sorry! This means: -- Males (NPC and player) will default to the breezes bodysuit if installed, sexout bodysuit otherwise. -- Females will default to no bodysuit. - Removed two rogue dialogs via FNVEdit. GREETING (unmodified) and some doctor thing. - Created animation token, spell, version support, and animation group for ZAZ animations. - SexoutNG main script delay set to 0.01 to make updates quicker. Everything is in a loaded/restarted block so should not impact performance. - Removed MCM control for 'override', always on now. - MCM settings for default male and female (NPC) orientation. Use this in conjunction with the formlists. - Added three new spells. SexoutNGFinishNow, SexoutNGPause, SexoutNGResume. Cast these on whoever you cast SexoutBegin on to either expire the timer and finish now, pause the timer, or resume the timer from pause. - The new spells mentioned above are printed to console. - SexoutNGBegin removed from console print. Everyone should be using SexoutBegin, and everyone knows that Promoted this from beta after minor bugfix with the new spells and changing the console print. The ZAZ stuff will be fully integrated soon, in the next version or the one after, depending on how much time masterchris has available to spend on his ESP.
bbbbbb Posted February 11, 2012 Posted February 11, 2012 Great work, does it interact normally with BEWARE OF GIRL Type 3 HiRez and Breeze's package installed through FOMM package management as .fomod? Should we see some other options in addition to the default ones? And what conditions should it met to switch the player/male body to erect version?
prideslayer Posted February 11, 2012 Author Posted February 11, 2012 Great work' date=' does it interact normally with BEWARE OF GIRL Type 3 HiRez and Breeze's package installed through FOMM package management as .fomod? Should we see some other options in addition to the default ones? And what conditions should it met to switch the player/male body to erect version? [/quote'] Thanks and yes, it does work with those -- I use both of them myself, though I only use the beware of girl texture; I use the type6 body mesh. How you installed Breezes will determine the settings you need to make for males. If you installed the default erect body, then set the bodysuit option for males to "none." If you installed it with the default body to underwear or flaccid, then set the male bodysuit to "breezes." The breezes bodysuit must be loaded (bzBodySuits.esp). For females, just set them to "none" if you have a nude female mod installed like Type3, Type6, etc. Set it to "sexout" if you don't have a default female nude body installed. The player should be set to match the setting for their gender. If you have a male character, use the same setting as for male NPCs; if you have a female character, use the same setting for female NPCs.
prideslayer Posted February 11, 2012 Author Posted February 11, 2012 OK, my last update was a little too clever it seems. The sexout init stuff is happening fast now as intended; too fast. It's running before NVSE is ready and bombing out. Next version, released in an hour or less, will have it fixed.
Halstrom Posted February 11, 2012 Posted February 11, 2012 OK' date=' my last update was a little too clever it seems. The sexout init stuff is happening fast now as intended; too fast. It's running before NVSE is ready and bombing out. Next version, released in an hour or less, will have it fixed.[/quote'] Cool stuff, I think I'll check my quest scripts for similar issues
prideslayer Posted February 11, 2012 Author Posted February 11, 2012 I almost don't know how to fix this right now.. I thought I'd just call the GetNVSEVersion() thing -- but if NVSE isn't there, that's going to bomb out as well. I might have to just put the script delay back to something more normal.
Halstrom Posted February 11, 2012 Posted February 11, 2012 I almost don't know how to fix this right now.. I thought I'd just call the GetNVSEVersion() thing -- but if NVSE isn't there' date=' that's going to bomb out as well. I might have to just put the script delay back to something more normal. [/quote']What if you run a dummy timer sqript for say 5 seconds before calling StartQuest on a GetNVSEVersion() Quest Script that then starts all the other Quests Scripts? I'm using something similar to check the version of SCR to be sure SCR is up and running before checking it's version. Be careful doing this though as it seems to remember which quests have already been started if you don't do clean saves, some real screwy stuff can happen. I had a cascade of scripts starting setup that worked for me fine but bombed out for just about everyone else.
saladboy21 Posted February 11, 2012 Posted February 11, 2012 Does this fix the issue with Preg not having Sunny, Veronica or Cass undress?
prideslayer Posted February 11, 2012 Author Posted February 11, 2012 I almost don't know how to fix this right now.. I thought I'd just call the GetNVSEVersion() thing -- but if NVSE isn't there' date=' that's going to bomb out as well. I might have to just put the script delay back to something more normal. [/quote']What if you run a dummy timer sqript for say 5 seconds before calling StartQuest on a GetNVSEVersion() Quest Script that then starts all the other Quests Scripts? I'm using something similar to check the version of SCR to be sure SCR is up and running before checking it's version. That would work fine, but the entire point of the change I made was to get sexout initialized *fast*, without a 5 second delay. Everything in there only runs once anyway, so I don't need it to run often -- I just want it to run early. If it doesn't, there's a chance some other mods quest is going to run before it's ready. That could be anything from SCR to Tryouts to.. whatever. I think I'm jsut going to put the NVSE check call before my getgamerestarted block. That should/will 'crash' the script, but if it's outside that block, it should get run again -- it will just keep silently crashing until NVSE is available. Off to test out the theory.
prideslayer Posted February 11, 2012 Author Posted February 11, 2012 Does this fix the issue with Preg not having Sunny' date=' Veronica or Cass undress? [/quote'] Errrrm I don't know, but I don't think so. They should undress properly as long as the outfits they are wearing are *not* in the "safe for sex" list. If they are pregnant, but not pregnant when they undress for sex, that means their nude pregnant bodysuits weren't added to the nudebodies list.
Halstrom Posted February 11, 2012 Posted February 11, 2012 Does this fix the issue with Preg not having Sunny' date=' Veronica or Cass undress?[/quote']I suspect it did, I haven't seen the issue last time I ran the game using the latest upload, but there's a new bug being fixed, new version of SexoutNG in an hour or so if PrideSlayer goes well
prideslayer Posted February 11, 2012 Author Posted February 11, 2012 Actually nevermind this NVSE issue, wasn't NVSE at all, just me being an idiot in the new version checking code. Won't affect any users. A bug.. caught *before* a release.. amazing!
prideslayer Posted February 11, 2012 Author Posted February 11, 2012 V2.3.54b1 BETA ESM in OP - Reset gun working once again. New version will work during sex as well. Undecided how I will deal with nude bodies right now, it needs discussion. - ZAZ integration complete. Use SexoutBegin, SexoutNG.Actor(A,B,C,X), and Sexout.Anim as normal. If you want a ZAZ animation rather than a Sexout animation, set SexoutNG.nUseZAZ to 1 before the CIOS SexoutBegin. See this thread for details. Using the ZAZ animations will require the zaz datapack and esp be present. The anim numbers start over from 0 and are under the full control of masterchris.
prideslayer Posted February 11, 2012 Author Posted February 11, 2012 With release 54, now in beta, ZAZ integration into SexoutNG is complete. There are two basic stages to use, which I'll call "easy" and "nice." Stage 1: Easy The easy stage requires almost no work on the part of modders. It works exactly the way you'd expect it to. You still use SexoutBegin, Sexout.anim, and SexoutNG.Actor variables. The anim # is required for ZAZ as I have no random picker right now, and adding one probably does not make sense. The only additional thing you need to do is this: set SexoutNG.nUseZAZ to 1 This is done at the same place where you do the actor/anim/etc settings, and simply tells sexout that Sexout.anim refers to a ZAZ animation, not a sexout animation. That alone is enough to get this working in your mods. For the user to be able to see the animations though, they will need to install ZAZ -- the datapack and the ESP both. Stage 2: Nice To make things easier on users and perhaps modders as well, I put a bit more of an advanced version checking system into Sexout to support ZAZ. As a modder, if you don't care about all the gritty details, here is all you need to know. This feature is designed to notify the user (and the modder) about the current version of ZAZ ESP that is installed. When your mod starts up, you need to do two things : set a sexout variable, and cast a spell on the player. First, you need to set the sexout "I want ZAZ!" value to the lowest version number that will work with your mod. Right now, that is version 1. To do this, somewhere within your main init block, do this. In the example, "5" is the lowest version of ZAZ that your mod works properly with. if (GetGameRestarted || GetGameLoaded) ; .. your normal stuff can go here .. if SexoutNG.nZAZPackWanted < 5 set SexoutNG.nZAZPackWanted to 5 endif player.cios SexoutWantZAZ ; .. your normal stuff can go here too .. That's it. Sexout will handle the rest, alerting the player to update ZAZ if they do not have it installed, or if the version they have is lower than what any installed ZAZ-using mod needs. If you want to get more advanced, you can check the variable SexoutNG.nZAZPackVersion. The value of this variable will be one of these: -1 : The SexoutZAZ.esp file is not loaded. The user has been or will be notified. ZAZ animations are not available. 0 : The SexoutZAZ.esp file IS loaded, but not yet initialized. You can probably use ZAZ at this point, but if you're not sure, check this variable again later. 1 or higher : The current version of ZAZ that is installed and initialized.
prideslayer Posted February 11, 2012 Author Posted February 11, 2012 So, as I said, the reset gun + nude bodies needs a bit of discussion. Hal this mostly concerns you since I think pregnancy is the only thing doing body swapping other than sexout itself. The question is basically, what should I do with nude bodies when the reset gun is used on someone? Right now I remove them but only if they are sexout bodies (built in or breezes). Unfortunately, I can't tell if the actors had a body on them or not initially, meaning if a naked woman wearing a preggosuit starts having sex, the reset gun can't tell that the body was already on her. If I just remove it, will pegnancy 'detect' this and re-add it? Other items in SCR should be added to the SexoutItemsList formlist (a new list in this beta) that holds the sexout built-in bodies as well as all the token items -- basically everything I need to remove from a character that the reset gun is fired at. I don't know if I should also loop the nude bodies list or not..
prideslayer Posted February 11, 2012 Author Posted February 11, 2012 Oh there is a list, SexoutSpellsList as well, for any spells that the resetgun should dispel. All the built in sexout spells are in there, but if there are other spells in pregnancy or another mod, they should be added as well. For example the tryouts spells should probably be added to this list via script. AddFormToFormList SexoutSpellsList NameOfSpell
Recommended Posts