Safely removing vanilla Feed Perk on script or something.

Post » Sun Oct 26, 2014 7:19 pm

So... I finally figured out at least I'm 99% positive my way around a dilemma I had the other day. I went to sleep frustrated about it as well, but today I seemingly had a... Modders epiphany.

When making a duplicate of the perk I believe I learned myself, that I had to make the perk under properties link to PlayerVampireQuestScript INSTEAD of a quest property. And simply making this duplicate script reference my custom quest rather than the vanilla PlayerFampireQuest, successfully creates a functioning vampire feed perk, with actual progression and all that, which links to my quest, rather than the vanilla games quest. That and I had to make a duplicate of the VampireChangeEffect effect, linking the duplicate effects duplicate script again to my quest, and the new perk. I thought I was supposed to replace VampireFeed in the Perk script Data with something else, but it seems keeping it there actually makes it function better, IE removing unwanted effects without altering anything vanilla. Apparently this new fix I made, even adds the new type of fully functioning feeding perk upon drinking the potion... Working exactly as intended.

I do need to have multiple different types of vampiric feeds, three new types, and I can't have it where every time the player feeds there's two feeding options... Which is totally immersion breaking- an unacceptably bad bug. I don't have screenshots up, but imagine your player crouched to feed, and you see THREE text boths, steal, Feed, and Feed, yes two boxes that say feed. Absolutely everything except for this one major problem is working perfectly.

So here's my new dilemma: With literally every other perk I can think of Player.RemovePerk XXXXXXX works and always removes the perk. The script won't remove the vanilla feeding perk, NOT EVEN using console commands in game will remove it, in spite of the fact every other perk will be removed by it. So either I need an extremely special very very specific script, that somehow removes the vanilla perk upon drinking this potion... Worst case scenario I might have to make an additional optional ESP, that disables the vanilla perk by altering vanilla things, but I really want to avoid that if at all possible. Or at least... Some way to remove the vanilla perk without effecting anything vanilla.

And you may ask, why, why is this important? Because when I sneak up on a person, there's TWO feeding options TWO, when there should only be ONE, and that's because something, some unknown force is making it where the vanilla feeding perk just cannot be removed. And yes, all of the properties and stuff are set up just right.

Here's a LAST RESORT idea of mine: Go to the vanilla feed perk, go to Perk Owner, and add GetPCInFaction Aundae= 0, GetPCInFaction Quarra= 0, GetPCInFaction Berne= 0 to the conditions... That way, Volkihar vampires will continue functioning as normal, and in theory, Vvardenfellvampires would only have one feeding option. I'm 99% positive that would work, but... The one thing I worry about is that it... Might cause modding compatibility issues. So if I did that... I might try to do something like a Plugin mod, the plugin mod would link to this mods factions, and only the plugin would add those alterations to the vanilla feed perk... All as a last resort though.

Anyways... Does anyone have any advice? Any potential solutions to fixing the double feed dilemma, other than my last resort plan??? Any advice would be greatly appreciated.

User avatar
anna ley
 
Posts: 3382
Joined: Fri Jul 07, 2006 2:04 am

Return to V - Skyrim