Tag! Perk

Post » Tue Dec 06, 2011 8:28 am

Good Afternoon,

I am currently working on a small overhaul of the character generation quest and the GMSTs relating to skills.

One of the mechanics I am attempting to adjust is the way Tag Skills work. I have adjusted the GMSTs fAVDTagSkillBonus down from 15 to 10 and increased iSkillPointsTagSkillMult from 1 to 2. These are working as expected.

Where I have come stuck is with the perk Tag!. Ideally, I would like this to now only apply the Skill Multiplier but not the Skill Bonus. I added the following line to the Generic quest script which handles the perk, SetNumericGameSetting fAVDTagSkillBonus 0. The more experienced among you will probably already know that this also reset the Player's initial three tag skills (doh!).

Writing this now, I wonder if the best way to handle this is to set the Skill Multiplier to 0 from the start and run a conditional during VCG01, the character creation quest, and add 10 skill points if IsPlayerTagSkill returns True.

Has anybody here attempted something similar to this and have any advice for me?


UPDATE:
I've managed to get the above working by adding the following to the next stage (95) of VCG01 for each skill.

if isPlayerTagSkill Barter     Player.ModAv Barter 10endif

If, for the sake of tidiness, I were to abstract this to a separate script, how would I go about calling this in the quest result script?


UPDATE2:
I have updated the script VCG04ActivatorScript, the script that allows you to rebuild your character when you reach X distance from Goodsprings. I copied my code from above into the if conditional for Finished Travel Onwards where bCharacterRevised==1. For some reason, the existing player.SetAV *SkillNameHere 0 code would not fire (or at least not noticeably) and if you moved your Tag skill you would keep the original +10 bonus as well as gain a further +10 bonus for your new Tag skills. I've gotten around this by again copying my block of conditionals higher up in the script but with a -10 modifier instead.

This has done the trick but feels really hacky.

Whilst I have accomplished my goal for Tag skills and perk, I would still be very grateful if someone with a bit more experience would take the time to let me know if there is a more efficient way to accomplish my goal and / or whether they can spot possible problems. Also, any advice or reference as to whether you can call a script from within a script would be very well received.

Many thanks.


Disclaimer: This is my first foray into scripting for Fallout: New Vegas, or any other game for that matter. What I've put together here is from pulling apart similar mods in FNVEdit. Forgive me if I'm attempting to do something obviously stupid!
User avatar
Big mike
 
Posts: 3423
Joined: Fri Sep 21, 2007 6:38 pm

Return to Fallout: New Vegas