KravisGile Posted May 3, 2018 Posted May 3, 2018 Hi all, With Xiderpunk's recent release of FlowerGirls 2.0.0 as an .esm and opening the doors to easily plug into his API, I'm looking to create an (initially personal) mod to add a passive vampire feeding function into existing scenes. It's turning out to be quite difficult. My primary reference to similar mods is https://www.loverslab.com/topic/52509-sexual-vampire-feeding/ an Oldrim mod that hooked into SexLab. The animations themselves can easily change to Anub's great consensual sequence, based on renaming and replacing paired .hkx files in the FlowerGirls animations folder. I'm running into a big issue. I'm a scripting newb, which is halting me in my tracks. If you have scripting experience, please see below for my source: Scriptname KG_VampireFeedScript extends Quest dxFlowerGirlsScript Property FlowerGirls Auto dxFlowerGirlsConfig Property FlowerGirlsConfig Auto dxSceneThread Property dxSceneStuff Auto PlayerVampireQuestScript Property KG_VampireFeeds Auto dxAliasActor Property Participant01 Auto dxAliasActor Property Participant02 Auto dxAliasActor Property Participant03 Auto dxAliasActor[] Property Participants Auto Hidden Event DoFeed(bool HasPlayer) KG_VampireFeeds.VampireFeed(Participant02) endEvent For context, I added a new script inside Xider's "FlowerGirlsScene05" dialogue topic, which is already utilizing dxSceneThread. I call all necessary properties, then set their property values accordingly in CK's Properties button. What I'm *trying* to do is register to the game and related vampire mods that I just fed and the partner/victim was Participant02, an alias for an actor reference established by dxAliasActor. Since this happens at the start of Scene 5 of the animation set, I should receive confirmation from Vanilla or (in my case Better Vampires 8.3) that I've been sated. All of this is still conceptual, so if you actually have better ideas on where to put the script, I'm all ears. Thanks in advance for any help provided.
Xiderpunk Posted May 3, 2018 Posted May 3, 2018 I will respond properly, but basically the best way to achieve something like this is to sub-class the main FlowerGirls API.. that way you inherit most of the properties you will need automatically. So your script would be named thus: Scriptname KG_VampireFeedScript extends dxFlowerGirlsScript For reference dxFlowerGirlsScript extends dxFlowerGirlsBase which in turn extends Quest. The key reason for extending is not only so you get a bunch of functions and properties you can use, it is also the mechanism by which you can supply a variant of the 'database' (dxTokenToIdle) to the thread manager. So you would create a another script for example called KG_VampireAnimsScript and then override some of the functions of the base dxTokenToIdle class: ScriptName KG_VampireAnimsScript extends dxTokenToIdle Anyway, I will get back to you tomorrow with a more detailed approach..
KravisGile Posted May 3, 2018 Author Posted May 3, 2018 Makes alot of sense. Using dxFlowerGirlsScript as the script's extension would definitely pave the way for not only the passive feed trigger at the end of a scene, but potentially for more complex hooks. I look forward to your more detailed approach.
flatliner10 Posted May 3, 2018 Posted May 3, 2018 I'm pretty sure the Amorous adventures plug-in for Flowergirls already got something like this at the end of Serana's questline. You can turn her Hunger-Timer on and let her Feed on you (don't like the Sound-effect though, kinda sounds like someone chewing Dragonscales) Maybe you can use this as a reference for your own mod.
KravisGile Posted May 4, 2018 Author Posted May 4, 2018 I appreciate the suggestion, but that is more if I'm looking to implement Bethesda's feed animation. I'm actually trying to get away from needing to do that animation and instead make a FlowerGirls scene push a function so that at the end of the scene, the game outputs that feeding took place and you're now fully fed.
Xiderpunk Posted May 4, 2018 Posted May 4, 2018 Been giving this a bit of thought.. Kravis, would you mind if I used your concept as bit of an exercise? I am thinking along the lines of I can put it together as like an example which you could then take-over and modify. Examples are the best way to show how to make use of the API.
KravisGile Posted May 4, 2018 Author Posted May 4, 2018 I will gladly let you take the reins on this one. Scripting is harder than I thought. If your exercise winds up being exactly what I was looking to do, it'd be a nice addition to your Optional list on NexusMods. --- Ultimately what I was looking to do is have an extra dialogue option in your main list of dialogue options.. with something along of the lines of "Can I feed from you?" It would initiate your main scripts, then utilize one or two choices of consensual vampire animation sets. A great one is from Anub. Quote "Vampire Sex Feeding"http://gfycat.com/CoarseEasygoingAkitainuhttp://gfycat.com/EnergeticThoseBathttp://gfycat.com/SoulfulLimpingHummingbirdhttps://gfycat.com/ActiveBlaringAnolehttp://gfycat.com/TastyYawningGallowaycow Source: https://www.loverslab.com/topic/53457-anubs-animation-dump-reborn-updated-822018/ At the end of the animation, to go with your clean up scripts, I'd like a VampireFeed() function to tell the game, Better Vampires, Sancrosact, or other vampire mods that you just fed. No crime rating if the animation was public, no jerky feed animation, no vampire seduction spell... just your animation set integrated with a feed function. Once again, a great reference of what I'm aiming for was pretty much already done for Oldrim/SexLab. Call me loyal, but of all adult mods.. I've clung to yours since you released it in Dec '16. So I'm hoping to one day see it in your mod. (hence why I was hesitantly jumping into the modding scene)
Xiderpunk Posted May 4, 2018 Posted May 4, 2018 OK cool. I am just putting it together now, may need a day or two to finish it. I am trying to document it as I go along so it's useful as an example.
t3h0th3r Posted May 8, 2018 Posted May 8, 2018 Oh wow, i like where this is going! I was just pondering how uneventful vampire feeding will be in VR, would be sweet to see the same approach as for the regular FG scenes in VR... Keep up the good work! Hit me up if you need testers.
Xiderpunk Posted May 9, 2018 Posted May 9, 2018 I am making progress on this, it will allow persuasion checks on the ally's of the Dragonborn to permitted feeding (with a loving sex scene following the feeding). However when you feed on a vampire seduced or vulnerable victim it uses the BDSM type animations instead. So it is contextual depending on who you are feeding from, whether willing or not.
khumak Posted May 9, 2018 Posted May 9, 2018 Looking forward to seeing where this goes. I nearly always spend a significant amount of time as a vampire in all of my games. I haven't been nearly as impressed with the gameplay as a werewolf, even with Moonlight Tales. Enai needs to do a werewolf overhaul I think (Sacrosanct is awesome for vampires).
Eldaran Posted May 12, 2018 Posted May 12, 2018 Definitely following this. This sounds pretty damn awesome as a concept.
KravisGile Posted May 13, 2018 Author Posted May 13, 2018 I admit that I finally caved. I downloaded SexLab SE Beta (which is actually pretty stable, a pleasant surprise) and self-ported Sexual Vampire Feeding for my game. Was pretty simple. Just convert the animation files, optimize the meshes, and create a SEQ file in SSEEdit. That being said, I am still looking forward to what you come up with Xider. Based on some of the comments, it sounds like there are quite a few who would like such an optional addon in FlowerGirls.
khumak Posted June 3, 2018 Posted June 3, 2018 I'm using both Sexlab SE and Flower Girls and they work fine together. So far none of the animation packs I have installed have many vampire animations though. If I remember right I have a total of 1 or 2 vampire feeding animations for both male and female. Can't remember which animation pack they were from. I'm using Anub Human3, SLAL NibblesAnims, ZAZ7SE, FBSLALPACK, and SLAL FunnyBizPack CB. I think that last one might be a creature pack, I don't use any creature anims but keep forgetting to verify which one is for creatures and uninstall that one. So far these all seem to play nice together. There is some overlap with guards between FG and PaySexCrime but they both work. FG Sexlab SE SoS Light Aroused SE Amorous Adventures (currently using the oldrim sexlab version) SLEN Defeat SE PaySexCrime FG Maids plugin FG Immersive Wenches plugin Edit: Sexual Vampire Feeding looks interesting but from the comments it sounds like it's incompatible with Sacrosanct so I haven't tried it.
Tuefel Posted September 2, 2021 Posted September 2, 2021 Did we ever get anywhere with this MOD? I refuse to use SL as it never runs appropriately for me. Would love something like this for FG
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