Ghosts like in oblivion

Post » Sun Nov 18, 2012 11:04 pm

how to make certain enemies incorporeal to all weapons except a few categories and spells, like ghosts in Oblivion?
User avatar
Craig Martin
 
Posts: 3395
Joined: Wed Jun 06, 2007 4:25 pm

Post » Mon Nov 19, 2012 5:00 am

Hmm... That's a tough one.

You can easily stick a perk on them using a Mod Incoming Damage Multiply 0.00 entry point with contionals for HasKeyword WeapTypeSilver OR and HasKeyword WeapTypeDaedric OR run on the Attacker Weapon.

But that wouldn't include enchanted weapons. There is no way to single-out a weapon's enchantment and work with it. However, in attempting to do so, I did find a way to detect if a weapon was enchanted. If a target has a weapon equipped that is enchanted, then conditionals run to see if a Contact-ranged spell is equipped will return true when run on the hand that enchanted weapon is in. This means when an enchanted weapon is equipped, you are considered to both be using a weapon and simultaneously be using a contact-ranged spell. Use this method to detect enchanted weapons on that perk, and you'll officially have an Oblivion-style ghost that's immune to any weapons that aren't silver, daedric, or enchanted.
User avatar
Brad Johnson
 
Posts: 3361
Joined: Thu May 24, 2007 7:19 pm

Post » Sun Nov 18, 2012 4:47 pm

thanks, but what I mean is also the effect of weapons cutting through them like if it was thin air :smile:
maybe that in oblivion was done due to the "resist normal weapons" magical effects that is absent in skyrim?
User avatar
Adrian Powers
 
Posts: 3368
Joined: Fri Oct 26, 2007 4:44 pm

Post » Sun Nov 18, 2012 7:04 pm

Setting the Ghost flag on an NPC to true causes all weapons and spells to fly right through them without trigging a hit. There isn't a good way to turn that on and off for each attacker, though. The best you could do is set the ghostly NPC to not have any blood spraying from it, then use the above method to make it immune to weapons that don't fit the type.

As you said, Resist Normal Weapons no longer seems to be a thing.
User avatar
Stephanie I
 
Posts: 3357
Joined: Thu Apr 05, 2007 3:28 pm

Post » Mon Nov 19, 2012 3:23 am

unless they add it via other DLC
then if the ghost flag is set on a npc how can one hit it?
User avatar
dav
 
Posts: 3338
Joined: Mon Jul 30, 2007 3:46 pm

Post » Mon Nov 19, 2012 5:07 am

You can't. That's what it does.
User avatar
Big mike
 
Posts: 3423
Joined: Fri Sep 21, 2007 6:38 pm

Post » Sun Nov 18, 2012 9:24 pm

so it's only for "decoration" ghosts :) thanks!
the "resist normal weapons" script you described would not work in the exact same way, right?
User avatar
Samantha Mitchell
 
Posts: 3459
Joined: Mon Nov 13, 2006 8:33 pm

Post » Mon Nov 19, 2012 2:31 am

That would not be a script. Just a perk.

And it would work in the same way that Resist Normal Weapons worked in Oblivion. Just make sure that the NPCs you stick it on are set to not bleed, because that would be weird for a ghost.
User avatar
james reed
 
Posts: 3371
Joined: Tue Sep 18, 2007 12:18 am

Post » Mon Nov 19, 2012 2:26 am

what about making it a magic effect?
User avatar
Kerri Lee
 
Posts: 3404
Joined: Sun Feb 25, 2007 9:37 pm


Return to V - Skyrim