cavveman Posted June 19, 2011 Share Posted June 19, 2011 I have an idea for a mod, but the mod can only work if i know how the Challenge Perks in NV works.The basic idea is that I really hate the Freeside thugs, so my mod idea is that you need to kill atleast 50 thugs and after that you are not bothered by them anymore. I have looked inside Geck for some time now(2 days), and the only thing that I have found is for instance this script(and similar): ChallengeMutantScriptThere are nothing in the script that looks for how many mutants the player has killed. scn ChallengeMutantScript begin ScriptEffectStart int rank; set rank to (player.HasPerk MutantChallengePerk) if (rank < 3) set rank to (player.addperk MutantChallengePerk) showmessage ChallengeMessageMutant rank endif if (rank > 2) RemoveRecurringFromChallenge NVChallengeMutantMassacre endif player.RewardXP 50 end Confused that the answer was not in the script I looked on the actual perk MutantChallengePerk. But nothing that could explain how many mutants you needed to kill there either, only the benefits from the actual killing.I am utterly confused of the lack of evidence how those perks work inside Geck. Link to comment Share on other sites More sharing options...
ean511 Posted June 20, 2011 Share Posted June 20, 2011 To create a Challenge: On the object window, go to 'Challenge' below 'Actor Data' and make a new form there. Now, there are multiple forms of 'Freeside Thugs' that can spawn in the game. To make the Challenge work for all of them, create a new form list and insert all of the thug forms in the list. Go back to the 'Challenge' window, and in the 'Type' drop-down, select the 'Kill from a form list' option. Below it, select the form list you just created. Also don't forget to create the message you want to see when you've completed the challenge and the reward perk. The script won't save if you haven't created all the resources that is put in the script. For the reward script, create something similar to this. scn ChallengeFreesideThugsSCRIPT begin ScriptEffectStart int rank; set rank to player.HasPerk NoFreesideThugs if (rank < 3) set rank to (player.addperk NoFreesideThugsPerk) showmessage ChallengeNoFreesideThusMessage rank endif if (rank > 2) RemoveRecurringFromChallenge NoFreesideThugsChallenge endif player.RewardXP 50 end Now for the perk, I do not know what to do since I have no idea how to stop spawns using a perk. Maybe someone else can help you with that. A dandy tip is if you've found anything that you think is included in the form you're looking for (e.g. you found ChallengeMutantScript while looking for the Mutant challenge), just right-click on the form and select 'Use Info'. There you'll see all the forms that use it as a resource/reference. Hope everything makes sense, and tell me if it works :D Link to comment Share on other sites More sharing options...
cavveman Posted June 20, 2011 Author Share Posted June 20, 2011 o_O I am ashamed that I did not find that inside Geck before :wallbash: I always thought it would have to be something among the scripts :wallbash: Thanks for the help ean511 ;)kudos given aswell Link to comment Share on other sites More sharing options...
ean511 Posted June 20, 2011 Share Posted June 20, 2011 Your welcome man, I've never used it myself, I found it by using the 'Use Info' option I explained above. Glad I helped! :D Link to comment Share on other sites More sharing options...
Recommended Posts