RedNinja029 Posted February 10, 2017 Share Posted February 10, 2017 Hello everyone, I am fairly new to modding but have some experiences mainly in creation kit through skyrim. Today I want to create an enchantment for a sword that drains health for a couple of seconds per hit for say 1 HP a secondI wish to use this for my vampire character and want this enchantment to reflect a never ending/not necessary to recharge enchantment through script (so other enchantments may be added still) So far I have my sword ready, -Temper recipe created-magic effect is copy pasted from the drain health and just renamed with a base cost of 0 incase (thats all ive changed)-an enchantment linking the magic effect I have also added in the magic effects the scripts for for example (If race = orc /elf /breton blah blah) it will drain health purpose being I don't want to drain blood from skeletons (immersion) so going back to my sword... the bottom right corner is a script boxhow do I set it up bit by bit so I can attach it all to my sword? any tutorials by advise links etc will be much appreciated. I have no idea how to scipt this in. Im not familiar and nor could i find any videos as well. thanks all Link to comment Share on other sites More sharing options...
lofgren Posted February 10, 2017 Share Posted February 10, 2017 There's really no good way to do it. That's why you couldn't find anything. Link to comment Share on other sites More sharing options...
lofgren Posted February 10, 2017 Share Posted February 10, 2017 The only real option is to add a cloak ability to the character that detects when an npc gets hit by the sword wielder. You could do it with a perk if you don't mind it being player-only, but then it would also conflict with many perk mods. Either will work but which is preferable is a matter of judgment. Link to comment Share on other sites More sharing options...
RedNinja029 Posted February 10, 2017 Author Share Posted February 10, 2017 (edited) UPDATE: I have created a condition identical to Harkons in the magic effect CONDITION that check if i am a vampire. Target function name comp value T keyword: 'vampire' ==== 1.0000 I have applied this and also copied ysgramors (wuuthrad) conditions and added the other playable races, trolls and giants (only take blood from humanoids) Target function name function info comp value S GetIsRace Race Highelf == 1.00 or" " next race etc " " or and so on well I can see there is a perk thats enabled when the weapon is activated for the ysgramorwhat I am missing is the concept between linking the perk to the weapon/actor while equipped the perk of ysgramor adds the weapon +20% and maybe I could make "A" perk to enable the enchantment??? but how do i link equipping the blood omen sword to actually enabling the (not yet made) perk which enables the "WnchWeaponBloodOmen" enchantment. which wouldenable the "EnchBloodOmenFFContact" magic effect I can't see any script on Ysgramor weapon other than this (see below) which i dont understand anyway really. even if i could where does it say in the perk or script to activate the enchantment. its baffling (papyrus n00blet)------------------------------------------- Scriptname WuuthradScript extends ObjectReference Perk Property WuuthradPerk auto Event OnEquipped(Actor akActor)akActor.AddPerk(WuuthradPerk)EndEvent Event OnUnEquipped(Actor akActor)akActor.RemovePerk(WuuthradPerk)EndEvent ------------------------ thats on wuuthrad (ysgramor)I really am trying to understand this, I would be very appreciative if someone could help. This is maybe my 3rd attempt at this now ideas anyone? Edited February 10, 2017 by RedNinja029 Link to comment Share on other sites More sharing options...
RedNinja029 Posted February 10, 2017 Author Share Posted February 10, 2017 >>> http://imgur.com/k1tjwFI <<< If it helps here is what I have done so far with effect etc Link to comment Share on other sites More sharing options...
RedNinja029 Posted February 10, 2017 Author Share Posted February 10, 2017 I also deleted this (no idea what its for I guess it means everything that it absorbed life from before?) http://imgur.com/a/Oa8gg i deleted this condition Link to comment Share on other sites More sharing options...
lofgren Posted February 10, 2017 Share Posted February 10, 2017 Are you trying to absorb health or just do extra damage? Link to comment Share on other sites More sharing options...
RedNinja029 Posted February 10, 2017 Author Share Posted February 10, 2017 im trying to absorb the health of certain enemies which means as i hit them as well as base damage etc ithe effect will drain health every time i strike fromtheir HP to mine. Going through different channels on youtube dark fox and T.A.P mainly but I've found other half helpful sources hidden well away but nothing apparent. Spent maybe 8 hours+ today figuring it out along with a few days on top with the same sort of time. I cant find what I need anywhere if its even possible Link to comment Share on other sites More sharing options...
lofgren Posted February 10, 2017 Share Posted February 10, 2017 Like I said above, there is no great way to do it. You can use a perk or a cloak ability on the player. Both have drawbacks. Is the weapon unique or is it something that can be crafted and/or found in loot? Link to comment Share on other sites More sharing options...
lofgren Posted February 10, 2017 Share Posted February 10, 2017 Second question: does it have to work for random NPCs (including followers) or is it player and unique NPCs only? Link to comment Share on other sites More sharing options...
Recommended Posts