Enabling cannibalism 'feed' option for other creatures

Post » Sat Nov 17, 2012 1:39 am

How do you enable the cannibalism perk's feed option to toggle on more than just humanoids?

I've looked into the script (PKRF_DA11Cannibalism_00EE5C3), the magic effects (DA11NamiraBlessingEffect, Regenerate Health : HealRealMult, Fortify Health: Health) and spells (DA11CannibalismAbility, DA11CannibalismAbility02), only the perk (DA11Cannibalism) entries 'Feed' looks to be linked to this. I've yet to find the restriction within the papyrus fragment, which notifies me of the code to limit it to humanoid specific actors:

Game.GetPlayer().StartCannibal(akTargetRef as Actor)
DA11CannibalismAbility.Cast(Game.GetPlayer(), Game.GetPlayer())
DA11CannibalismAbility02.Cast(Game.GetPlayer(), Game.GetPlayer())

;Game.GetPlayer().AddSpell(DA11CannibalismAbility)
;Game.GetPlayer().AddSpell(DA11CannibalismAbility02, abVerbose= false)


The only piece I can figure is related to the activation on only humanoids is (akTargetRef as Actor) but wouldn't Actor indicate all actors (that's unique to the creation kit now, isn't it)? Anyway, if anyone can point me in the right direction here, I'd be much appreciative. Thanks and have a great day now!
User avatar
alicia hillier
 
Posts: 3387
Joined: Tue Feb 06, 2007 2:57 am

Post » Sat Nov 17, 2012 10:59 am

The restriction is not in the spell attached to the perk?
User avatar
CORY
 
Posts: 3335
Joined: Sat Oct 13, 2007 9:54 pm

Post » Sat Nov 17, 2012 3:53 pm

The restriction is not in the spell attached to the perk?

I've looked within the magic effects of the spells attached to the perk and I cannot find any target conditions on them.

So I'm not sure how the spells derives what type of target is to be the base for the effect.
But like I said in my original post, I believe it relates to the papyrus fragment of the perk entry.
User avatar
roxanna matoorah
 
Posts: 3368
Joined: Fri Oct 13, 2006 6:01 am

Post » Sat Nov 17, 2012 1:47 am

I could have sworn I saw something in cannibalism that checked to make sure the target wasn't a creature and wasn't undead. And I was almost certain that the condition was either in the perk itself or in the effect tied to the perk.

Sadly, I'm nowhere near my CK right now. Dammit.
User avatar
rolanda h
 
Posts: 3314
Joined: Tue Mar 27, 2007 9:09 pm

Post » Sat Nov 17, 2012 8:06 am

PlayerWerewolfFeed perk -> Activate Entry -> Conditions -> Target
User avatar
ezra
 
Posts: 3510
Joined: Sun Aug 12, 2007 6:40 pm

Post » Sat Nov 17, 2012 9:09 am

PlayerWerewolfFeed perk -> Activate Entry -> Conditions -> Target

I've seen no references that connects the DA11Cannibalism perk to the PlayerWerewolfFeed perk.

Although you bring up a point that I was completely oblivious to, about the target information in the perk entry.

Well! That teaches me to attempt to work in the creation kit when just waking up! But I'll see if I can do anything there to change the restrictions.
User avatar
Austin Suggs
 
Posts: 3358
Joined: Sun Oct 07, 2007 5:35 pm

Post » Sat Nov 17, 2012 1:17 am

I've seen no references that connects the DA11Cannibalism perk to the PlayerWerewolfFeed perk.

Although you bring up a point that I was completely oblivious to, about the target information in the perk entry.

Well! That teaches me to attempt to work in the creation kit when just waking up! But I'll see if I can do anything there to change the restrictions.

I thought you were talking about werewolves. Sorry. On the other hand the rule is the same, so I think you should know what to do. Try KeyWord: ActorTypeAnimal
User avatar
Robyn Lena
 
Posts: 3338
Joined: Mon Jan 01, 2007 6:17 am

Post » Sat Nov 17, 2012 1:48 am

Aha! I've got it to work on other creatures.

Thanks for the help, participants of this thread.

:thumbsup:
User avatar
Clea Jamerson
 
Posts: 3376
Joined: Tue Jun 20, 2006 3:23 pm


Return to V - Skyrim