The Elder Scrolls V: Skyrim

The Elder Scrolls V: Skyrim

Find the best mods for your game
Finding and installing your favorite mods is easier than ever before. Mod-makers also enjoy a streamlined process for uploading mods directly to Steam. Click here to learn how.
[GMRC] Carnaxus Jan 4, 2013 @ 2:03pm
"Sun Damage only when target is undead" help
I'm trying to make some Sunhallowed Elven Bolts that don't do AoE damage, and only do ANY sun damage at all to undead creatures. How exactly would I do this? I intend for these arrows to be normally effective vs. living enemies (i.e. bandits, dragons, sabre cats, etc) but a one-shot-kill to anything undead. That I believe I can do with a simple enchantment effect of somewhere around 5mil sun damage. The part I need help with is making it only do any of that damage to undead creatures - not even a small percentage to living ones.

If I can get the coding working, I'll put together a custom crossbow bolt and even a quiver for these.
Last edited by [GMRC] Carnaxus; Jan 4, 2013 @ 2:04pm
< >
Showing 1-9 of 9 comments
Scroll Thief 2 Jan 4, 2013 @ 2:35pm 
I was just looking in the CK at the Dawnguard axe and from what I saw you need to write a custom script for that. I haven't started writting scripts with Papyrus yet, but follow this link http://www.creationkit.com/Category:Tutorials and go to "The Scripter". Hope that helps.
[GMRC] Carnaxus Jan 4, 2013 @ 2:39pm 
Y'know...sometimes just messing around with stuff helps. Apparently the effect on the Sunhallowed Arrows contains two sun damage effects: one for the living, one for the undead. I just removed the human damage, raised the undead damage about 4.99mil, and added a condition to make sure the user has equipped the Sunhallowed Bolts (I had to place the enchantment on a crossbow instead of on the bolts *sigh*). Testing now. If this works, I'll start working on the custom models.
[GMRC] Carnaxus Jan 4, 2013 @ 2:46pm 
Didn't work. Game loaded fine, found the crossbow fine, even picked it up fine. Went to equip it, scrolled to it...insta-CTD. No error message, no pause. Just instant crash.

...

Great!...Anyone want the .esp file to check if I did something extremely noobish?
Last edited by [GMRC] Carnaxus; Jan 4, 2013 @ 2:46pm
Flounce 9 Jan 4, 2013 @ 3:41pm 
Originally posted by GMRC Carnaxus:
Didn't work. Game loaded fine, found the crossbow fine, even picked it up fine. Went to equip it, scrolled to it...insta-CTD. No error message, no pause. Just instant crash.

...

Great!...Anyone want the .esp file to check if I did something extremely noobish?


Originally posted by GMRC Carnaxus:
raised the undead damage about 4.99mil,
This is your problem.

I did a similar thing with a sword and a 'Bonus damage to X' enchantment.
Made it craftable so it was easy to get in game and as soon as I scrolled over the item, Boom, CTD. I tried this a few times, just to make sure it wasn't just coincidence.
Turns out the game just can't handle massive numbers when enchanting is involved.

Try it with a lower figure.


EDIT: Re-reading your posts... Did you actually have the enchantment figures showing on the Crossbow?
Last edited by Flounce; Jan 4, 2013 @ 3:44pm
[GMRC] Carnaxus Jan 4, 2013 @ 4:06pm 
I don't know if it showed up or not, the game crashed the moment I scrolled to it. I thought the damage might be the cause, but I wanted to check. I'll lower it. What would be suitable for both the game engine and a one-shot-kill on any undead at any level? 50k?
Last edited by [GMRC] Carnaxus; Jan 4, 2013 @ 4:06pm
Flounce 9 Jan 4, 2013 @ 4:15pm 
No idea, I was doing it purely as a test so just lowered the figure.

If it's just display you might be able to get away with just typing a description on your Crossbow, thus removing the text applied automatically by the enchantment.
[GMRC] Carnaxus Jan 4, 2013 @ 5:11pm 
Already put a description on it. "Just for the Sunhallowed Bolts."

I'm planning on trying to use the scripts from the Arrow Enchantments mod to put the enchantment on the bolts themselves instead of on the crossbow so they'll be universal (and I won't have to change every single godsforsaken crossbow in the game >.>).
[GMRC] Carnaxus Jan 5, 2013 @ 4:58pm 
Fixed the crash, but the damage isn't working. Crossbow is equally wimpy vs. living and undead targets whether I use the sunhallowed bolts or not.
Flounce 9 Jan 5, 2013 @ 7:52pm 
I can't exactly offer much help with enchantments on the bolts themselves.
I suppose (If you haven't already) you could look at Mehrunes' Razor and see if the insta-kill enchant could be altered.
The only other thing I can suggest is doing something like how the Silver Sword and Greatsword work. (A script that adds a perk that governs the extra damage to undead that they do)
< >
Showing 1-9 of 9 comments
Per page: 15 30 50

Date Posted: Jan 4, 2013 @ 2:03pm
Posts: 9