Aller au contenu

Photo

Trouble with icons displaying correctly next to portrait


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
Erithol

Erithol
  • Members
  • 5 messages
Hello,

My test character should have the following icons next to his portrait, which come from persistent racial feats.

Skill Increase
Skill Decrease
Saving Throw Increase

This works and I have confirmed the correct spell IDs for each feat in-game, the feats reload correctly after a rest, and the appropriate icons display.

This is the code block I use to prevent stacking for persistent feats.

void RemoveSpellEffects(int nSpellID,object oPC)
{
effect eEffect=GetFirstEffect(oPC);
while(GetIsEffectValid(eEffect))

if(GetEffectSpellId(eEffect)==nSpellID) 
{
RemoveEffect(oPC,eEffect);
}
eEffect=GetNextEffect(oPC);
}
}  

Again this works fine.

Today I began testing my first activated feat.  The feat itself works fine, temporary buffs are applied, new icons appear next to the portrait (Temporary Hit Points & more skill increases in this case).

The issue is that when the buffs expire, the only icon left on my character's portrait is Skill Decrease.

This is purely a cosmetic problem, as the character sheet reflects the appropriate skill and saving throw numbers.

I must then rest, or transition to fix this display issue.

Is this normal?  Is there a workaround, some way to refresh the UI via script?

I can provide 2da or feat script info if necessary.


Thanks!

Modifié par Erithol, 17 septembre 2010 - 12:50 .


#2
Zelgadiss 00

Zelgadiss 00
  • Members
  • 3 messages
I'm having a problem with the icons too...Anyone knows how to fix?



http://img843.images.../1573/bughz.jpg



Thanks!

#3
popcorn_eater

popcorn_eater
  • Members
  • 27 messages

Zelgadiss 00 wrote...

I'm having a problem with the icons too...Anyone knows how to fix?

http://img843.images.../1573/bughz.jpg

Thanks!

Same with me.
I think it happens when you are using "wide" resolution. (1280*720,1440*900, ect.)

#4
Zelgadiss 00

Zelgadiss 00
  • Members
  • 3 messages
Thanks for the tip popcorn_eater...In game I changed the resolution to 800x600, the problem solved itself. Then I changed again to 1280x720 and stayed normal...hehe

Modifié par Zelgadiss 00, 30 septembre 2010 - 01:25 .