Bromm83 Posted April 13, 2012 Posted April 13, 2012 Hello all. As you know I don't really have much time to mod nowadays, and therefore haven't released much here lately.. But as I have started a new run through the game (first one since I started modding...) I noticed I missed a few things I was hoping other modders that are better at it than me had fixed allready Well as it turns out, with a little help from my fellow modders in here I can cranck out a few mods even with little time (But now with even more motivation!). And I present to you a sloppy version of SexoutYield! It is now in Alpha because I need testers, I would have liked to develop it a bit more before I released it, but I decided I would never get it done if I did it that way.. SO what does it do? - Press "L" button repeatedly while targeting you enemy and he will consider it as if you were screaming "I yield, I yield! Please don't kill me!" the the top of your lungs at him, and ask you what you are willing to give for him to spare your life. - You can now offer drugs (if you have at least 5 in inventory), alcohol (if you have at least 5 in your inventory (10 for beer), caps or your body.. - After he has accepted your offering there is a 50 percent chance he will let you go (33 percent after sex). If not he will ask for more offerings. - After he lets you go you have 20 seconds to run before he attacks again. Known bugs: - Other hostiles will continue to attack you! - Your friends will continue to attack your sexpartner! - Callbacks does not always work and he turns hostile again after sex (experienced on an earlier version, should not happen now..) - The mod is messy as hell and need some cleaning. What I am thinking about adding: - Sex as yield option only if you don't have caps to pay him off. - Get the people around to stop fighting while you negotiate! (And turn hostile after so that you have to negotiate with them too!(probably with an option to pay off the whole gang if you have the caps for it..)) - Barter with guns, ammo, food, water and so on. - Get you raped if you barter away the armour you are currently wearing - Get a yield animation/pose in - MCM support for various things like hotkey, adding custom armour/weapons and such as barter objects, ++ - and probably some other stuff... Quest Script code: scn SexoutNGYieldQuestScript short sYield ref rYieldTo short sInitConversation short iKey ref rTemp float fTimer Begin GameMode if 0 != player.GetCombatTarget set rYieldTo to player.GetCombatTarget endif if IsKeyPressed iKey != sYield set sYield to IsKeyPressed iKey if sYield && (0 == rYieldTo.GetItemCount SexoutNGYieldToken) rYieldTo.additem SexoutNGYieldToken 1 1 if (0 > (ListGetFormIndex SexoutScannerListN SexoutNGYieldScannerList)) ListAddForm SexoutScannerListN SexoutNGYieldScannerList endif endif endif ; ------------------------------------ ; Evaluate other NPCs ; ------------------------------------ label 1 if(ListGetCount SexoutNGYieldScannerList > 0) set rTemp to ListGetNthForm SexoutNGYieldScannerList 0 ListRemoveNthForm SexoutNGYieldScannerList 0 if(rTemp.getShouldAttack playerREF || rTemp.getCombatTarget == playerREF) if(rTemp.getItemCount SexoutNGYieldToken == 0) rTemp.additem SexoutNGYieldToken 1 1 endif endif goTo 1 endif ; ------------------------------------ ; Conversation timer ; ------------------------------------ if(sInitConversation) if(fTimer < 10) set fTimer to fTimer + getSecondsPassed else set sInitConversation to 0 set fTimer to 0 endif else set fTimer to 0 endif End Token Script scn SexoutNGYieldTokenScript short sAgg short sDisp ref rYieldTo float fTimer Begin OnAdd set rYieldTo to getContainer if(rYieldTo.GetIsPlayableRace == 0) RemoveMe endif set sDisp to rYieldTo.getDisposition playerREF set sAgg to rYieldTo.getAV Aggression rYieldTo.setAV Aggression 0 rYieldTo.setDisposition playerREF 100 rYieldTo.stopCombat playerREF if(SexoutNGYield.sInitConversation == 0) set SexoutNGYield.sInitConversation to 1 rYieldTo.startConversation playerREF, YieldMain rYieldTo.startConversation playerREF, YieldMain endif End Begin GameMode if (fTimer < 20) set fTimer to (fTimer + getSecondsPassed) else rYieldTo.setAV Aggression sAgg rYieldTo.setDisposition playerREF sDisp RemoveMe endif End MCM Script: scn SexoutNGYieldMCMScript short iMaster short iMouseover short iOption short iTemp float fTemp float fValue ref rList Begin GameMode if GetGameRestarted if IsModLoaded "The Mod Configuration Menu.esp" set iMaster to GetModIndex "The Mod Configuration Menu.esp" set rList to BuildRef iMaster 2790 ListAddForm rList SexoutNGYieldMCMItem endif endif End Begin MenuMode 1013 if IsModLoaded "The Mod Configuration Menu.esp" else return endif if GetUIFloat "StartMenu/MCM/_ActiveMod" == GetModIndex "SexoutYield.esp" set iOption to GetUIFloat "StartMenu/MCM/_ActiveOption" set fValue to GetUIFloat "StartMenu/MCM/_Value" if GetUIFloat "StartMenu/MCM/_Reset" SetUIFloat "StartMenu/MCM/_Reset" 0 SetUIFloat "StartMenu/MCM/*:1/_columns" 1 SetUIFloat "StartMenu/MCM/*:1/*:1/_enable" 1 SetUIString "StartMenu/MCM/*:1/*:1/_title" "Yield Key" SetUIFloat "StartMenu/MCM/*:1/*:1/_type" 3 SetUIStringEx "StartMenu/MCM/*:1/*:3/value/*:1/string" "%k" SexoutNGYield.iKey elseif GetUIFloat "StartMenu/MCM/_Default" SetUIFloat "StartMenu/MCM/_Default" 0 SetUIFloat "StartMenu/MCM/_Reset" 1 set SexoutNGYield.iKey to 38 elseif GetUIFloat "StartMenu/MCM/_NewValue" SetUIFloat "StartMenu/MCM/_NewValue" 0 SetUIFloat "StartMenu/MCM/_Reset" 1 if iOption set SexoutNGYield.iKey to fValue endif endif if iMouseover != GetUIFloat "StartMenu/MCM/*:1/_optionID" set iMouseover to GetUIFloat "StartMenu/MCM/*:1/_optionID" if iMouseover SetUIFloat "StartMenu/MCM/*:9/visible" 1 if iMouseover == 1 SetUIString "StartMenu/MCM/*:9/string" "Select the key you want to use to yield." else SetUIFloat "StartMenu/MCM/*:9/visible" 0 endif else SetUIFloat "StartMenu/MCM/*:9/visible" 0 endif endif endif End (Yes all the goodbyetopics except the ones leading to sex with callbacks will remove the item and should tripper the ondrop part of the script) Why add the scripts here? Simple: I need help to get this done. SOme stuff I have no clue on how to do and it might go a little faster this way... So, you all start testing, add stuff, do what you want! I'll add anything you do here and keep the mod updated. Big thanks to Chase Roxand for helping me out with the scripts even tho they ended up a bit different. Update Log: 14th of April - Zippy57 added MCM support! 15th of April - Chase Roxand fixed enemy NPCs and non-playable races! FIles: SexoutYield.esp - its v0.1 realease SexoutYield with MCM.7z - Its Zippy57's MCM release SexoutYieldv0.3.7z - Is the newest release, includes MCM support. I reccomend using v0.3! The others are just there in case there is something wrong with that version! SexoutYield.esp SexoutYield with MCM.7z SexoutYieldv0.3.7z
zippy57 Posted April 13, 2012 Posted April 13, 2012 It's probably too early in this mod's development to ask this, but it's going to get asked eventually so I might as well do it now: Will the key you use be customizable?
brocules Posted April 13, 2012 Posted April 13, 2012 It's probably too early in this mod's development to ask this' date=' but it's going to get asked eventually so I might as well do it now: Will the key you use be customizable? [/quote'] From the OP: What I am thinking about adding: - MCM support for various things like hotkey, adding custom armour/weapons and such as barter objects, ++ I like the sound of this mod, I'm gonna give this version a spin as soon as possible.
zippy57 Posted April 13, 2012 Posted April 13, 2012 Wow, I skipped right over that line. Now I feel stupid.
Silk Posted April 13, 2012 Posted April 13, 2012 Thats probably something to think about for MCM, loogie. Afterall, Brutal allows stealing of caps, so my toon is usually quite poor!
brocules Posted April 13, 2012 Posted April 13, 2012 Worked as described for me, tested it on Barton Thorn and a few other npcs's. It worked on geckos and other creatures aswell, which is probably unintended.
Bromm83 Posted April 13, 2012 Author Posted April 13, 2012 Wow' date=' I skipped right over that line. Now I feel stupid. [/quote'] weren't you the inhouse MCM Wiz? Want to add MCM support for this with swappable hotkey, you can do it now
Bromm83 Posted April 13, 2012 Author Posted April 13, 2012 Worked as described for me' date=' tested it on Barton Thorn and a few other npcs's. It worked on geckos and other creatures aswell, which is probably unintended. [/quote'] Actually both intended and unintended.. also want there to be creature support, just not with the same topics as these
Bromm83 Posted April 13, 2012 Author Posted April 13, 2012 And if anyone wanted something to do: - Get the people around to stop fighting while you negotiate! (And turn hostile after so that you have to negotiate with them too!(probably with an option to pay off the whole gang if you have the caps for it..)) really need help with this, and I am going to sleep soon, so some suggestions or attempts of edit would be great to wake up too!
Chase Roxand Posted April 13, 2012 Posted April 13, 2012 I can take care of the combat issue in a few hours.
zippy57 Posted April 13, 2012 Posted April 13, 2012 weren't you the inhouse MCM Wiz?Want to add MCM support for this with swappable hotkey' date=' you can do it now [/quote']Indeed I was. I can't test this right now, so someone please let me know whether or not it works. Also, I had an idea on how you could make the player able to barter away stuff (including items from other mods) without the need for any fancy form-listing or MCM stuff or anything. I don't know if it's possible, but here it is: Open up a barter menu between the player and a container containing only an item called "Don't Kill Me!" or something to that effect. You set the value on that item and then the player has to "purchase" that item before exiting the barter menu. I guess the item itself would have a script that set a variable and then removed itself from the inventory.
blarghxxx Posted April 14, 2012 Posted April 14, 2012 I have to try this asap. Sounds really good. I have some input, too: - when offering them sex, they should be able to reject you if your charisma is too low - maybe they should _demand_ sex as payment if your charisma is high and you wear skimpy clothes - maybe you could add a random chance to select whether you get the chance to offer them something or if they demand something from you (eg. "you wanna live?" that's 100 caps for me and my boys. EACH." or "Please, don't hurt me anymore. I can give you [...]") - perhaps add a tie in to slavery ("your stuff isn't worth enough. Lucky for you we do not only deal in weapons and equipments but also PEOPLE.") - maybe there's even a possibility to add faction-based reactions, eg. Fiends would agree to let you live for sex, each take a turn with you and then shoot you in the back when you try to leave,, legion would enslave you, NCR may take money and throw you in jail, etc. - also (and I don't know if this would fit in this mod or be a separate mod) it would be nice if instead of you yielding, they have a chance of not finishing you off but instead raping/robbing you and then leaving you alone for an amount of time that allows you to get away. Maybe add the option of storing your stuff in some container so when you come back later for payback, you can get your stuff back.
Bromm83 Posted April 14, 2012 Author Posted April 14, 2012 I can take care of the combat issue in a few hours. That sounds great! =D weren't you the inhouse MCM Wiz?Want to add MCM support for this with swappable hotkey' date=' you can do it now [/quote']Indeed I was. I can't test this right now, so someone please let me know whether or not it works. Also, I had an idea on how you could make the player able to barter away stuff (including items from other mods) without the need for any fancy form-listing or MCM stuff or anything. I don't know if it's possible, but here it is: Open up a barter menu between the player and a container containing only an item called "Don't Kill Me!" or something to that effect. You set the value on that item and then the player has to "purchase" that item before exiting the barter menu. I guess the item itself would have a script that set a variable and then removed itself from the inventory. Added file to OP, thanks! =) I have to try this asap. Sounds really good. I have some input' date=' too: - when offering them sex, they should be able to reject you if your charisma is too low - maybe they should _demand_ sex as payment if your charisma is high and you wear skimpy clothes [/quote'] Yes I have thought about this, and charisma will play a role to some degree, just how we will wait and see! - maybe you could add a random chance to select whether you get the chance to offer them something or if they demand something from you (eg. "you wanna live?" that's 100 caps for me and my boys. EACH." or "Please' date=' don't hurt me anymore. I can give you [...']") Yes, that is something I will strive for. - perhaps add a tie in to slavery ("your stuff isn't worth enough. Lucky for you we do not only deal in weapons and equipments but also PEOPLE.") I might add a sewerslave link here' date=' but I will need to find out how and all that. - maybe there's even a possibility to add faction-based reactions, eg. Fiends would agree to let you live for sex, each take a turn with you and then shoot you in the back when you try to leave,, legion would enslave you, NCR may take money and throw you in jail, etc. Variety is always good. The only thing I don't like about it is that usually it means alot of extra time spent that people will almost never see.. - also (and I don't know if this would fit in this mod or be a separate mod) it would be nice if instead of you yielding' date=' they have a chance of not finishing you off but instead raping/robbing you and then leaving you alone for an amount of time that allows you to get away. Maybe add the option of storing your stuff in some container so when you come back later for payback, you can get your stuff back. [/quote'] It is something completely different, so I am not sure. I guess it could be added to this mod and set up with MCM to be able to turn it off, but why? It has nothing to do with yielding so it should really be a separate mod I think.. Or maybe a part of BrutalRapers?
blarghxxx Posted April 14, 2012 Posted April 14, 2012 - maybe there's even a possibility to add faction-based reactions' date=' eg. Fiends would agree to let you live for sex, each take a turn with you and then shoot you in the back when you try to leave,, legion would enslave you, NCR may take money and throw you in jail, etc. [/quote'] Variety is always good. The only thing I don't like about it is that usually it means alot of extra time spent that people will almost never see.. You're probably right about that. It's one of these things one might want to add when everything else is working and stable. - also (and I don't know if this would fit in this mod or be a separate mod) it would be nice if instead of you yielding' date=' they have a chance of not finishing you off but instead raping/robbing you and then leaving you alone for an amount of time that allows you to get away. Maybe add the option of storing your stuff in some container so when you come back later for payback, you can get your stuff back. [/quote'] It is something completely different, so I am not sure. I guess it could be added to this mod and set up with MCM to be able to turn it off, but why? It has nothing to do with yielding so it should really be a separate mod I think.. Or maybe a part of BrutalRapers? I know it doesn't really fit with yielding BUT if you get this mod done with all the aspects that have been pointed out so far, I think this could be easily implemented, since you only have to check if health is below a certain percentage + some random chance and then just call whatever function you would call when you barter your life for sex. Then again I didn't have much chance to get into Fallout scripting so I don't know if that even makes sense.
Halstrom Posted April 14, 2012 Posted April 14, 2012 Blargh' date=' the problem with being captured by hostiles (either jail or enslavement) is if you have negative rep with that group, they're still hostile.[/quote'] Yeah I've been thinking of adding variables for major NPC's into SCR for storing their prior faction reting so they could be temporarily overwritten for things like Sex Smells, Pregnancy or Enslavement, then restored when conditions require it, like escape, end of pregnancy & washing off the smell. Though I haven't looked into what I need yet, I'm thinking of SexoutSVARZCass.fDispositionLegion, SexoutSVARZCass.fEnemySCR, SexoutSVARZCass.fAllyFeralGhouls etc, though I haven't really looked into how faction stuff works enough yet to know what we need.
Chase Roxand Posted April 15, 2012 Posted April 15, 2012 So much for a few hours. I'm testing this now, but in case I disappear again, here's the ESP. It's based off of the MCM version. - Hooked this into the SexoutNG scanner so that it can quickly check if local NPCs are fighting the player or if they would fight the player. - Reduced the quest update time to 1. EDIT: Updated - Added a timer to prevent repeat conversations with multiple NPCs. EDIT2: Well, they stop fighting. That's a start. EDIT3: - Disallowed unplayable races from using this, and I'm not sure that they can start conversation at all. If they can, please remove the 3 lines of code in the tokens prohibiting it.
Bromm83 Posted April 15, 2012 Author Posted April 15, 2012 Thanks for the update Chase Roxand! Have added it to the OP! Sorry it took a while, mostly been at work and at the doctors being taped up and given shots the lst couple of days... Still at work now, but night shift so I get payed for playing games, watching movies and talking in here. Also have comp with GECK with me, so will see if I can't make a small update tonight.
theskid Posted January 7, 2013 Posted January 7, 2013 I know this hasn't been worked on in ages and I thought I would give it a whirl. It seems only faction npc's are affected (powder gangers, ncr folk and such what) but run of the mill raiders like the jackals seem to get bugged out. He did stop shooting me but no conversation initiated, then just kept putting his gun away, taking it back out, firing one shot, putting it away again, etc until I killed him. Reloaded the save and tested a few times and it kept happening that way. Be neat if it was able to make them go neutral long enough to get away but I don't think you can get friendly with the raider faction.
ChancellorKremlin Posted January 10, 2013 Posted January 10, 2013 I've been thinking of something similar for a while, but sadly, I wouldn't know how to implement it. I also think this plugin is pretty oudated and someone else may have done a new one, though knowledge of where it is escapes me.
zaraia Posted February 12, 2013 Posted February 12, 2013 Is anyone still working on this? It seems like an essential part of sex in Fallout, but unfortunately it's pretty much useless if all other enemies remain hostile... This would be a great mod if that part was fixed.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now