Adding PerksActive Skills to the UI?

Post » Mon Jun 18, 2012 7:32 pm

I've looked around and couldn't find anything to figure out what I want to do. I'm not new to programming, but I'm new to using a tool like the Creation Kit, so sorry if the answer is obvious. ><

I'm working on my vampire modifications and I can add new perks, in the same way that Champion of the Night is added. The perk takes effect and the bonuses are added to the character, but it's not showing up in the UI under Active Skills. I'm not sure how to add it to the UI.


Here are the few lines I've added to the VampireQuest script.

Spell Property ABVampireSkills03 Auto


In the VampireProgression function I added this line
Player.AddSpell(ABVampireSkills03, abVerbose = False) 

This ensures that it's added to the character once then feed after the mod is installed. But obviously, no adding to the UI. What am I missing?

Thanks in advance.
User avatar
Lloyd Muldowney
 
Posts: 3497
Joined: Wed May 23, 2007 2:08 pm

Post » Mon Jun 18, 2012 4:05 pm

Go to each magic effect the spell implements. For each effect look for "Hide in UI" under flags (clear it) and give it a "Menu Display Object", just above the visual effects box.

To confirm ingame that the player has the effect, for one of your magic effects, select Life Detect from "Hit Shader" under visual effect. That will give the player the friendly life detected effect when the effect is active. If you don't see that, then it shouldn't show up under the active effects menu as its not active.
User avatar
Marcia Renton
 
Posts: 3563
Joined: Fri Jan 26, 2007 5:15 am

Post » Mon Jun 18, 2012 8:44 pm

Thank you very much Rocket. Worked like a charm.
User avatar
TIhIsmc L Griot
 
Posts: 3405
Joined: Fri Aug 03, 2007 6:59 pm

Post » Mon Jun 18, 2012 10:21 pm

Bumping this because now I'm having different issues.

I've flagged an item as visible in the UI, and it was the wrong item, so I flagged it back as being hidden, but it is still being displayed. How come once you've messed with these settings it seems like editing them again does nothing at all?
User avatar
Neliel Kudoh
 
Posts: 3348
Joined: Thu Oct 26, 2006 2:39 am


Return to V - Skyrim