aaronwind Posted December 18, 2011 Share Posted December 18, 2011 Hey there, I have been trying to make melee a bit more powerful in my game lately and rather than just increasing the damage done by it I wanted more survivability. When I am running IWS and HarderThanYou, melee is not really an option. So I have been trying to make perks that increase your DT while you have melee weapons equipped, but I seem to be unable to do this. I found a parameter --Increase DT (defender)-- which is used for toughness for instance but I can't seem to apply it to weapons, not my weapons at least.I was wondering if it was possible to do this with a script, I have never really done anything with scripts, but I am hoping this wouldn't be too hard.Anyway, thank you for reading and any help or tips would be appreciated. Link to comment Share on other sites More sharing options...
troyquay Posted December 18, 2011 Share Posted December 18, 2011 (edited) you can do it by script like this scn increaseDTtemp begin OnEquip Player player.modav damagethreshold 25 end begin OnUnEquip Player player.modav damagethreshold -25 end go to geck and double click the weapon you want to increase its DTunder the Name, there is a dropdown listchoose this script everytime you equip that weapon, your DT will be increased by 25everytime you UNequip that weapon, your DT will be decreased by 25you can change the value to any value but both must be same value maybe this is wrong but idk :)hope it works Edited December 18, 2011 by troyquay Link to comment Share on other sites More sharing options...
aaronwind Posted December 18, 2011 Author Share Posted December 18, 2011 Hmm, can I then attach this to a perk? And is there no way to make it apply to all weapons in the melee category, so that other mod added weapons would work without modifying them? In either case, thanks for the swift reply, very much appreciated. Link to comment Share on other sites More sharing options...
troyquay Posted December 18, 2011 Share Posted December 18, 2011 (edited) There is a way to do it using perkjust like Toughness perk, but you have to add Conditions to the Perk Owner under Perk Entries open the Perk window, right click on Perk Entries box and choose Newchoose Entry Points and Modify Damage Threshold (defense) --- Add Value --- 3 (or any number). just like Toughness perkin the Perk Entry window, there is a Conditions box. there r 3 tabs, Perk Owner, Attacker, and Attacker Weapon. make sure you click Perk Ownerright click and click Newset it to IsWeaponInList --- WeaponListMeleeAll --- == --- 1.0000. click OK and OK and OK if you want to add modded weapons to WeaponListMeleeAll formlist, go to Miscellaneous ---> FormListopen the WeaponListMeleeAll formlist window (dont close it) and drag n drop the modded weapons (from Weapon) to the formlist window. click OK I hope it will work. Edited December 18, 2011 by troyquay Link to comment Share on other sites More sharing options...
aaronwind Posted December 18, 2011 Author Share Posted December 18, 2011 (edited) Troyquay, I was sure I had already done what you said, but I decided to try it again and followed your instructions precisely. It worked beautifully, thank you so much for taking the time to help me man. One last question before I leave you guys alone, is there any formid list for unarmed and the unarmed weapons similar to the melee one? I don't see it if it is there. Thanks again for the help, this is exactly what I was looking for. EDIT: Upon further inspection, the unarmed weapons seem to be included in the melee list. That actually fits me perfectly, thanks for the help. Edited December 19, 2011 by aaronwind Link to comment Share on other sites More sharing options...
Recommended Posts