Make actors ignore weapon damage...

Post » Tue Jun 19, 2012 4:15 pm

Here's what I would like to do. I want to make actors completely ignore weapon's damage value, but ONLY the weapon's damage value. I still want enchantments to take effect. I still want spells to take effect. I still want falls and fire to damage the actor. I still want the actor to be mortal.

I also want to be able to apply damaging spells and effects via script on that actor.

How can I do that? Thank you! :-D
User avatar
laila hassan
 
Posts: 3476
Joined: Mon Oct 09, 2006 2:53 pm

Post » Tue Jun 19, 2012 3:43 pm

I haven't really tried it yet, but I know it's possible.
You can try to use perk, and add it to said actor. With perk system, you can change even hard-coded functions

Or, you can look at the script of the mages Guild - Ancano during the Eye of Magnus quest, which he was invulnerable to all type of damage, except some spell from the staff of magnus
User avatar
Dylan Markese
 
Posts: 3513
Joined: Sat Dec 01, 2007 11:58 am

Post » Tue Jun 19, 2012 3:47 pm

Ah, thank you :-)
User avatar
(G-yen)
 
Posts: 3385
Joined: Thu Oct 11, 2007 11:10 pm

Post » Tue Jun 19, 2012 8:27 pm

From what I can tell, the quest script sets Ancano to be invulnerable. I don't even know where it allows exceptions to damage him at all.
User avatar
Claudia Cook
 
Posts: 3450
Joined: Mon Oct 30, 2006 10:22 am

Post » Tue Jun 19, 2012 7:37 pm

Ok, sorry for sending you running around :P

The one that really helps you is the Perk. I couldn't recall what perk was it, so I have to fire-up the CK and look it up...
Remember the perk entry for 100 light armor? Make you invulnerable to melee damage ?
The entry for such perk is

'Mod Incoming Damage' == 0.00
User avatar
lexy
 
Posts: 3439
Joined: Tue Jul 11, 2006 6:37 pm

Post » Wed Jun 20, 2012 3:49 am

Ah, now that is very handy! Thank you so much! :-D

Hmm, I wonder if there's a way to activate that through a script? ;-P
User avatar
Steph
 
Posts: 3469
Joined: Sun Nov 19, 2006 7:44 am

Post » Tue Jun 19, 2012 9:50 pm

No you can't active that via script, sorry :P
But you can add function to such perk, like whenever to active that perk (quest stage, spell effect, etc...), or to whatever type of enemies that actor is engaging in combat, etc..... All can be done in the condition function window of that perk.
User avatar
Jessica White
 
Posts: 3419
Joined: Sun Aug 20, 2006 5:03 am

Post » Wed Jun 20, 2012 4:01 am

Haha, they would make it so it weren't so easy to do as a script, eh? :-P

That's ok, thank you again! :-D

Now, I just need to figure out how to get every actor to have that perk successfully and without TOO much work :-P

Sounds like I need SkyProc again!!! :-D
User avatar
Ria dell
 
Posts: 3430
Joined: Sun Jun 25, 2006 4:03 pm

Post » Tue Jun 19, 2012 9:27 pm

Good luck, just a head up: You will run into trouble with AddPerk that doesn't work on NPC, or any Actor, save only for Player.
You can search a thread that Spookyfx ran into it. I also suggested a work around in that case that 'might' work. :P

Or, you can always use 3rd party hooks like ScriptDragon or SKSE (in the future)
User avatar
Lexy Corpsey
 
Posts: 3448
Joined: Tue Jun 27, 2006 12:39 am

Post » Tue Jun 19, 2012 4:45 pm

Sounds good, thank you! :-)
Yeah, I can't believe the AddPerk command is broken for NPC's!

I am prolly going to have to use SkyProc anyway in order to get my script attached to all actors. So I hope adding perks the same way will be possible :-)
User avatar
Nancy RIP
 
Posts: 3519
Joined: Mon Jan 29, 2007 5:42 am

Post » Wed Jun 20, 2012 5:37 am

Perk entry points don't apply to NPC only to the player, but you can always use perk entry abilities(see dual flurry)
User avatar
Arrogant SId
 
Posts: 3366
Joined: Sat May 19, 2007 11:39 am

Post » Tue Jun 19, 2012 3:16 pm

Perk entry points don't apply to NPC only to the player, but you can always use perk entry abilities(see dual flurry)

:blink: huh?, what do you mean Perk Entry Points don't apply to NPC? Did I misunderstand your meaning, or you really mean that NPC cannot use perk in game?
User avatar
Susan Elizabeth
 
Posts: 3420
Joined: Sat Oct 21, 2006 4:35 pm

Post » Tue Jun 19, 2012 5:38 pm

They can't use the predefinied entries, like "mod weapon damage value=http://forums.bethsoft.com/topic/1355825-make-actors-ignore-weapon-damage/value*0.5"
User avatar
Amysaurusrex
 
Posts: 3432
Joined: Wed Aug 09, 2006 2:45 pm

Post » Tue Jun 19, 2012 11:00 pm

Hmm, I'm not quite sire of the technicalities of NPC's and Perk Entry Points, but I duplicated the Deft Movement perk, edited it to have no conditions, then applied it to a few NPC's. The result is that normal weapon damage does NOT harm the NPC. Bleeding effects and knockdowns still apply, though. So I'm a happy camper now :-)

Daedric armor is now something to be feared ;-)
User avatar
Baylea Isaacs
 
Posts: 3436
Joined: Mon Dec 25, 2006 11:58 am


Return to V - Skyrim