Jump to content

Wtb little script


Guest Jezzy

Recommended Posts

Posted

My character's been enslaved several times now by a few different mods, and even those that explicitly provide food and water have not provided enough to avoid death. I just adjust needs rates with Imp's timescale to something that will allow break-even (iff my char debases herself to the fullest to get what she needs of course).

Posted

If you guys look at SexoutNotify you'll see a system for being notified through formlist scanning that sex is occuring and who the currect actors are (to determine if a "meal" is going to be provided). Then you can add a spell to one of the callback lists to be cast on all actors at the beginning, during or at the end of the sexual event.

 

You guys are fighting with Sexout when you could be working *with* Sexout :)

Guest Loogie
Posted

My character's been enslaved several times now by a few different mods' date=' and even those that explicitly provide food and water have not provided enough to avoid death. I just adjust needs rates with Imp's timescale to something that will allow break-even (iff my char debases herself to the fullest to get what she needs of course).

[/quote']

 

If Imp's is supported, then it makes regular hardcore absurdly easy. Just be sure to pack food - none of the Tryout enslavements take that from you.

 

 

Guest Jezzy
Posted

well whatever, i just can't load sexout.esm with my geck... it keep loading for ever

Posted

If Imp's is supported' date=' then it makes regular hardcore absurdly easy. Just be sure to pack food - none of the Tryout enslavements take that from you.

[/quote']

 

Nutritious food decays quickly in Imp's needs mod. Apparently, the air in New Vegas is too damp to dry food properly or something.

 

Posted

Just a little tip too, I detect the end of sex occuring by looking for the 00SexoutActor token being removed. Sexout notify is your friend, I bases my Pregnancy stuff on it.

 

In a nutshell this is how I understand it works, feel free to correct me if I'm wrong, you write a script and stick it in an Actor Effect, you add your effect to SexoutNG's list of effects to add to actors when they are engaged in sex. Viola your script runs on any actor engaged in sex, then your script just checks the formlists to see who is engaged in sex with the wearer of the script.

Guest Loogie
Posted

If Imp's is supported' date=' then it makes regular hardcore absurdly easy. Just be sure to pack food - none of the Tryout enslavements take that from you.

[/quote']

 

Nutritious food decays quickly in Imp's needs mod. Apparently, the air in New Vegas is too damp to dry food properly or something.

 

 

That's silly. The air in that part of the Mojave desert's drier than Ann Coulter's cunt.

Posted

Just a little tip too' date=' I detect the end of sex occuring by looking for the 00SexoutActor token being removed. Sexout notify is your friend, I bases my Pregnancy stuff on it.

 

In a nutshell this is how I understand it works, feel free to correct me if I'm wrong, you write a script and stick it in an Actor Effect, you add your effect to SexoutNG's list of effects to add to actors when they are engaged in sex. Viola your script runs on any actor engaged in sex, then your script just checks the formlists to see who is engaged in sex with the wearer of the script.

[/quote']

 

Other than a viola being a musical instrument and voilà being the French exclamation you intended...yup, you're right in a general terms way. You're basically polling a formlist. When it changes you grab the actors and check against what you're looking for then respond to it. You can also add a spell effect to one of the lists to occur at sex begin, during sex, or as sex ends which will be autocast by Sexout on all actors. It can check against control variables in your formlist poller code to see if it should act or just quietly dispell itself. In the case we're discussing, check for a female receiving an oral ejaculation from a male and set a variable so the spell effect cast after sex adds nutrition.

Posted
Other than a viola being a musical instrument and voilà being the French exclamation you intended...yup' date=' you're right in a general terms way. You're basically polling a formlist. When it changes you grab the actors and check against what you're looking for then respond to it. You can also add a spell effect to one of the lists to occur at sex begin, during sex, or as sex ends which will be autocast by Sexout on all actors. It can check against control variables in your formlist poller code to see if it should act or just quietly dispell itself. In the case we're discussing, check for a female receiving an oral ejaculation from a male and set a variable so the spell effect cast after sex adds nutrition.[/quote']

Cool, well there you go you can check for the end of sex too, I should be doing that instead of using the SexoutActorToken, you learn something new every day, posiblty 2 things, like how to spell voila ( I just don't have "a" key with a squiggle on top, I tried putting it there with a marker pen but didn't help) :)

Guest Jezzy
Posted

yay! I manage to understand why the editor wasnt starting (need nsve etc.). However my script isnt compiling and this is way over my understanding.

Guest Jezzy
Posted

Copy and paste your script to a text document so you don't lose it' date=' then exit the GECK.

 

Then download GECK power up at http://newvegas.nexusmods.com/downloads/file.php?id=41642

 

Copy your script to this thread, and tell us the error Power Up gives you when you try to save the script.

[/quote']

 

Thanks Loogie.

 

I get no error from Power Up. I think I just dont know how to find out when the character is giving a blowjob etc. I think of that because no printoutconsole are triggered :s

 

here's my script :

 

scn 00SexoutJezzyCumshotQuestScript

short triggerCumming
short triggerOral
short playerGivingOral
short isCumming

begin GameMode
 if(Player.IsSpellTarget SexoutNGCum || Player.getItemCount 00SexoutRecovering > 0)
   set isCumming to 1  
 else
   set isCumming to 0
 endif

 if( SexoutNG.isOral || Sexout.sextype == Oral )
   if(SexoutNG.ActorB == PlayerREF || Sexout.female == PlayerREF)
     if(playerGivingOral == 0)
   PrintToConsole "JezzyCumShotScript debug : You are giving a blowjob"
       set playerGivingOral to 1
     endif
   endif
 endif

 if(triggerOral == 0 && playerGivingOral && isCumming)
PrintToConsole "JezzyCumShotScript debug : Your partner came in your mouth"
PlaySound NPCHumanDrinkingBottleGulp
  	set ArwenWaterNeed to ArwenWaterNeed - 2
set ArwenFoodNeed to ArwenFoodNeed - 1
   set triggerOral to 1
 elseif(triggerOral && isCumming == 0)
   set triggerOral to 0
   set playerGivingOral to 0
 endif

 if(triggerCumming == 0 && isCumming) 
   set triggerCumming to 1
PrintToConsole "JezzyCumShotScript debug : triggerCumming to 1"
 elseif(triggerCumming && isCumming == 0)
PrintToConsole "JezzyCumShotScript debug : triggerCumming to 0"
   set triggerCumming to 0
 endif
end

Posted
I get no error from Power Up. I think I just dont know how to find out when the character is giving a blowjob etc. I think of that because no printoutconsole are triggered :s

Have you seen any aerrors from Powerup? Youn need to start Geck from the PowerupNVSE shortcut, if you stert it from the normal GECK shortcut Powerup doesn't run.

Guest Loogie
Posted

Try this. I cannot guarentee it would work, but it looks like you're doing way more stuff than you need to. You're also setting it up to execute everything simultaneously without realizing - a classic beginning mistake I couldn't overcome until about a month and a half ago. Human logic, which would detect all that stuff runs in the order you put it down, is not computer logic. Fallout executes it's code in what is called a frame - so unless you break up the script with delays, it processes it all in one go.

 

scn 00SexoutJezzyCumshotQuestScript

int SpermSwallowed
int thisStage
int nextStage
float gsp
float fdelay

Begin GameMode

 set gsp to getsecondspassed ; this sets up a timer that makes sure you don't get the sperm swallowing effect over and over again

 if (thisStage == 0)
   set fdelay to 0
   set thisStage to 1
   set nextStage to 1
 endif

 if fdelay > 0
   set fdelay to fdelay - gsp
   return
 else
   set thisStage to nextStage
 endif

 if (SexoutNG.ActorB == Player) && (Sexout.Sextype == Oral) && (SpermSwallowed == 0)
   set thisStage to 1
   set nextStage to thisStage + 1
   set SpermSwallowed to 1
   PlaySound NPCHumanDrinkingBottleGulp
   set ArwenWaterNeed to ArwenWaterNeed - 2
   set ArwenFoodNeed to ArwenFoodNeed - 1
   set fdelay to 30 ; this makes the script reset every 30 seconds. If the scene lasts longer than thirty seconds, you get two swallows of cum. This means you want to wait at least 30 seconds from the start of a blowjob before starting another blowjob. Adjust this number to suit your playstyle and regular sex duration.
 elseif (thisStage == 2)
   set SpermSwallowed 0
 else
 endif
end

Guest Jezzy
Posted

thanks!

 

Everything look fine, but for some reason, the geck doesnt like these lines :

 

;elseif (thisStage == 2)

; set SpermSwallowed 0

 

it run and save if i comment these 2 lines.

Posted

thanks!

 

Everything look fine' date=' but for some reason, the geck doesnt like these lines :

 

;elseif (thisStage == 2)

; set SpermSwallowed 0

 

it run and save if i comment these 2 lines.

[/quote']

 

set SpermSwallowed to 0

 

fixes the easy one

elseif probably too many if's or not enough endifs

You should get a message from GECK Powerup that gives you more clues

If you haven't got it working, get it working it will save you a lot of sanity, it picks up 99.9% of errors telling you which line the error is on

 

 

 

Guest Jezzy
Posted

yes! it compile =^.^= but in game, the script dont trigger :s

 

I need to read more about that power up thingy cuz right now i have no errors reporting

Posted
yes! it compile =^.^= but in game' date=' the script dont trigger :s

 

I need to read more about that power up thingy cuz right now i have no errors reporting[/quote']

After installing it you start GECK from a NVSE Powerup Icon instead of the FNV GECK one, that was my problem for months after I first installed it, I'ts in the instructions somewhere I start my GECK from

"D:\Games\SteamApps\common\fallout new vegas\nvse_loader.exe" -editor

instead of the GECK icon

 

Also learn to use these commands to debug

 

MessageEx "MyScript1: Script is running Ok at Point 1"; *** Put variations of this at Start & finish a few key points in your script so you know if it is working and where it stops

 

 

MessageEx "MyScript1: fVariable is at %3.3f" fMyVariable ; *** This will tell you on the screen what your variable is at at this point in 3 digits to 3 decimal places.

Posted

Just a little tip too' date=' I detect the end of sex occuring by looking for the 00SexoutActor token being removed. Sexout notify is your friend, I bases my Pregnancy stuff on it.

 

In a nutshell this is how I understand it works, feel free to correct me if I'm wrong, you write a script and stick it in an Actor Effect, you add your effect to SexoutNG's list of effects to add to actors when they are engaged in sex. Viola your script runs on any actor engaged in sex, then your script just checks the formlists to see who is engaged in sex with the wearer of the script.

[/quote']

 

Other than a viola being a musical instrument and voilà being the French exclamation you intended...yup, you're right in a general terms way. You're basically polling a formlist. When it changes you grab the actors and check against what you're looking for then respond to it. You can also add a spell effect to one of the lists to occur at sex begin, during sex, or as sex ends which will be autocast by Sexout on all actors. It can check against control variables in your formlist poller code to see if it should act or just quietly dispell itself. In the case we're discussing, check for a female receiving an oral ejaculation from a male and set a variable so the spell effect cast after sex adds nutrition.

 

SexoutIMCNNV was created prior to SexoutNG & Notify. Honestly, I'm surprised it still works ( I'm still using it under SexoutNG ). I'll look into updating to use Notify then I'll share the script.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...