• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

AstroCat

Major
122 Badges
Sep 7, 2004
746
213
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Mandate of Heaven
  • Steel Division: Normandy 44 Deluxe Edition
  • Europa Universalis IV: Third Rome
  • BATTLETECH
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Age of Wonders: Shadow Magic
  • Age of Wonders
  • Age of Wonders II
  • Cities: Skylines - Green Cities
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • BATTLETECH - Initiate of the Order
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Surviving Mars: Digital Deluxe Edition
  • BATTLETECH - Beta Backer
  • BATTLETECH - Backer
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Surviving Mars: First Colony Edition
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • BATTLETECH: Heavy Metal
  • Hearts of Iron 4: Arms Against Tyranny
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • Victoria 3 Sign Up
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Europa Universalis 4: Emperor
  • Battle for Bosporus
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Imperator: Rome - Magna Graecia
  • Stellaris: Federations
  • Hearts of Iron IV: La Resistance
  • Age of Wonders: Planetfall - Revelations
  • Imperator: Rome Sign Up
  • Surviving Mars: First Colony Edition
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Ancient Relics
Does anyone know the file that controls the color of the pulsing border glow around your traits? (it's red/green for bad/good based on religion I think).
I want to change the colors of the glowing border.

Thanks!
 
in game\gui\window_character.gui file : you'd find this block of script, setting the green and red glow for the trait icons.
Code:
                            item = {
                                        container = {
                                            icon_trait = {
                                                visible = "[Not(Character.GetFaith.IsTraitSin( Trait.Self ))]"
                                                blockoverride "icon_size"
                                                {
                                                    size = { 55 55 }
                                                }

                                                blockoverride "glow" {
                                                    glow = {
                                                        visible = "[Character.GetFaith.IsTraitVirtue( Trait.Self )]"
                                                        using = Color_Green
                                                        glow_radius = 5
                                                        using = Glow_Standard
                                                    }
                                                }
                                            }

                                            icon_trait = {
                                                visible = "[Character.GetFaith.IsTraitSin( Trait.Self )]"
                                                blockoverride "icon_size"
                                                {
                                                    size = { 55 55 }
                                                }

                                                blockoverride "glow" {
                                                    glow = {
                                                        using = Color_Red
                                                        glow_radius = 5
                                                        using = Glow_Standard
                                                    }
                                                }
                                            }
                                        }
                                    }
Not sure where exactly you can find a list of possible colours for these, or if you can set some new ones.
 
  • 1
Reactions:
in game\gui\window_character.gui file : you'd find this block of script, setting the green and red glow for the trait icons.

Not sure where exactly you can find a list of possible colours for these, or if you can set some new ones.
Thanks so much! I mess around the window_character.gui already, I must have just overlooked the section.
 
in game\gui\window_character.gui file : you'd find this block of script, setting the green and red glow for the trait icons.
Code:
                            item = {
                                        container = {
                                            icon_trait = {
                                                visible = "[Not(Character.GetFaith.IsTraitSin( Trait.Self ))]"
                                                blockoverride "icon_size"
                                                {
                                                    size = { 55 55 }
                                                }

                                                blockoverride "glow" {
                                                    glow = {
                                                        visible = "[Character.GetFaith.IsTraitVirtue( Trait.Self )]"
                                                        using = Color_Green
                                                        glow_radius = 5
                                                        using = Glow_Standard
                                                    }
                                                }
                                            }

                                            icon_trait = {
                                                visible = "[Character.GetFaith.IsTraitSin( Trait.Self )]"
                                                blockoverride "icon_size"
                                                {
                                                    size = { 55 55 }
                                                }

                                                blockoverride "glow" {
                                                    glow = {
                                                        using = Color_Red
                                                        glow_radius = 5
                                                        using = Glow_Standard
                                                    }
                                                }
                                            }
                                        }
                                    }
Not sure where exactly you can find a list of possible colours for these, or if you can set some new ones.
Hi, is this still the case? I was going to try and do the same thing in regards to the glowing borders but I can't find this chunk of text in the window_character.gui file
 
Hi, is this still the case? I was going to try and do the same thing in regards to the glowing borders but I can't find this chunk of text in the window_character.gui file
the glow is set in icon_trait, in shared\icons.gui
you can still use a blockoverride on the hbox_traits_list in the character window