adman85 Posted July 11, 2011 Share Posted July 11, 2011 I want to add levels of DT piercing to certain creatures and I was wondering if anyone had any ideas on ways to do this with as little conflicts as possible. The first thought I had was adding some kind of on hit effect directly to each creature (really not worth the effort) Then I thought, I could add it to some of the vanilla effects like radscorpion or cazador poison, but then I figured it would probably just effect the poison, or something silly like that. Finally I thought, perhaps there is a way to link a quest or perk that the player automatically receives which reduces his DT against certain creature types (yay, an idea that could actually make this work easily) But then I thought, how the hell do I do that? I'm sure some really smarts person can help with this one, and I hope this is the right place to ask.. Link to comment Share on other sites More sharing options...
Gribbleshnibit8 Posted July 12, 2011 Share Posted July 12, 2011 It's actually a relatively simple (to me anyway) process. You're right, a perk should be able to do it. To start, you'll need to make a new perk. This guide here will walk you through the process. Once you have the perk, you need to create an entry point. Just right click in the "Perk Entries" field and click "New". Click the radio button next to "Entry Point" and then from the dropdown select "Modify Damage Threshold (defender). The dropdown next to it will now be enabled with math options. In this case you want to allow damage through, so you'd select "Add Value" and then in the new text box set a number like "-10". Make sure you put a negative sign in (adding a negative number after all is just subtraction). Then, in order to determine what creatures are allowed to bypass DT, you'd go to the "Attacker" tab, right click and choose "New", and go the the function "IsInList". Now, at this point, you'll need to make a list of all the creatures that can bypass DT. Go to the Object Window in GECK, choose the "Miscellaneous" category, and then "Form List". Right click "New" and a window will pop up for an empty list. Name it something like "DTBypassPerkList" or whatever is convenient for you. To add data to the list, you just drag and drop it in. So go to the "Actors" list in the "Object Window", expand it and go to "Creatures", and find all the creatures you want to be able to bypass DT. Just drag them into the list you made. When you're done, click the "OK" button on the list to save it. Now go back to your perk, and click the "INVALID" button on that condition window. It'll open a new window with a dropdown that lists every single list in the game. Just type in the name of yours to select it, and hit "OK" to close the window. Now hit "OK" on the condition window to close and save it. Continue in this manner until you have closed all but the "Perk" window with saving. You should now be looking at the perk window with a single entry in the "Perk Entries" area. Make sure you uncheck the "Playable" box near the top (if you don't want the player to be able to select it). Also, if they aren't supposed to know about it, make sure you check the "Hidden" box so it doesn't show up in the PipBoy listing of perks. Now that that's done, you just add it via a run once quest and voila, the player has DT bypassed by certain creatures. Also, if you want differing amounts of bypass for different types of creatures, you'd follow the above guidelines, but for each creature type, make a new list and perk entry with a different value. Perks can support a rather large number of entries, so don't worry too much about running out. You can even get pretty fancy, and have the levels of DT bypass change as the player levels up. Link to comment Share on other sites More sharing options...
adman85 Posted July 12, 2011 Author Share Posted July 12, 2011 (edited) Thank you. One question, can I add the creatures differently? as it may take a while to add them all one by one and I want it to affect creatures from other mods that fall into the same category. So perhaps instead of adding them via form list do you know what I'd have to put in for it to categorize more widely? Say all insects, or all animals? Thanks very much for taking the time to explain it all though. I apologize I should have mentioned I already know how to make perks just not how to link them to the PC instantly (and obviously I had no idea how to do form lists in the geck properly (i made it crash by trying to double click, edit etc I had to do it in FNVEdit before this.. And now i know so TY :) ) but hey at least its up here for anyone else who needs to know. Thanks again, and kudos for taking the time. EDIT; Nevermind, I need to search harder http://geck.bethsoft.com/index.php/GetIsCreatureType Its a list of the numbers associated with creature types for that specific condition YAY! Just in case anyone else wanted to know. RE EDIT; http://www.bsnooch.com/forums/index.php?topic=298.0 this guy has plotted out the process too, quite awesome. Edited July 12, 2011 by adman85 Link to comment Share on other sites More sharing options...
Gribbleshnibit8 Posted July 12, 2011 Share Posted July 12, 2011 You sure can actually. I forgot that when I did it I was checking for a specific set of creatures that were already in a larger type. The function GetIsCreatureType is documented on that page. It allows you to specify an overall type of creature to apply the effect to, and would certainly handle any new creatures added by mods. It's actually simpler too. Thank you for making me realize that. Link to comment Share on other sites More sharing options...
Recommended Posts