Jump to content

Help creating lootable animal conjuration/summon?


TwistedDepressions

Recommended Posts

Hi all,
I'm looking for some assistance with the following:

Context:
I have a wand mod that has a bunch of different wands with various enchantments, currently I'm trying to add one that spawns lootable Elk (the large antlers kind).
The way the wand works is similar to a conjuration staff, fire at ground, Elk appears.
I've set up my Elk (NPC), Wand (Weapon), the Enchantment and the Magic Effect and "It just works" (kind of).

Issue:
So far I can conjure / summon the Elk and I can kill him but he disappears before I can actually loot him of his precious large antlers.

Question:
I've had a look around online and found one post elsewhere saying I should put an item such as treasure map 1 into the Elk's inventory to keep him (I think they mean ingame) around but that doesn't seem like the sound way to keep his corpse around. Does anyone know of a way I can make my conjured / summoned Elk's corpse remain once I've killed it, yet still have it handled by the clean up like a normal Elk?


Thanks in advance.
Twist

Edited by TwistedDepressions
Link to comment
Share on other sites

You would need to upload your mod someplace so it can be looked at.

 

But assuming you based your 'Elk summon' wand on say... Staff of Summon Flame Atronach.

 

Now, game has 'EncAtronachFlame' Actor which has a defined Death item. This is a brand of flame atronach you may encounter in a dungeon. You kill it, it drops stuff.

The enchantment effect on a staff is 'EnchSummonFlameAtronach', of Summon Creature' type and 'Associated Item 1' being 'SummonAtronachFlame'

 

SummonAtronachFlame is also an actor, templated on 'EncAtronachFlame', but has a 'Summonable' flag.

 

So I suppose you defined a 'SummonElk' actor templated to 'EncElk' .

Now I suspect that this 'Summonable' flag is what prevents a creature from dropping a lootable corpse. But 'Summon Creature' effect will only allow an actor with 'Summonable' flag.

 

One option you could try: Attach a script to your 'SummonElk' actor.

 

In that script, define 'OnLoad()' event, which may contain something like:

Actor Property EncElk Auto

Event OnLoad()
    Self.PlaceActorAtMe(EncElk)
    Self.KillSilent()
EndEvent
Link to comment
Share on other sites

 

You would need to upload your mod someplace so it can be looked at.

 

But assuming you based your 'Elk summon' wand on say... Staff of Summon Flame Atronach.

 

Now, game has 'EncAtronachFlame' Actor which has a defined Death item. This is a brand of flame atronach you may encounter in a dungeon. You kill it, it drops stuff.

The enchantment effect on a staff is 'EnchSummonFlameAtronach', of Summon Creature' type and 'Associated Item 1' being 'SummonAtronachFlame'

 

SummonAtronachFlame is also an actor, templated on 'EncAtronachFlame', but has a 'Summonable' flag.

 

So I suppose you defined a 'SummonElk' actor templated to 'EncElk' .

Now I suspect that this 'Summonable' flag is what prevents a creature from dropping a lootable corpse. But 'Summon Creature' effect will only allow an actor with 'Summonable' flag.

 

One option you could try: Attach a script to your 'SummonElk' actor.

 

In that script, define 'OnLoad()' event, which may contain something like:

Actor Property EncElk Auto

Event OnLoad()
    Self.PlaceActorAtMe(EncElk)
    Self.KillSilent()
EndEvent

What is the best way to upload the mod, if you're willing to look at it?

 

I will try adding the script to my conjured elk and see if that does the trick, if so thank you, if not I'll upload the mod somehow.

 

Thanks again.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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