N3OW/holder for later/Banner Glow GUI Code Explained.txt
2026-11-25 14:51:08 +00:00

87 lines
3.2 KiB
Text

########################################################################################
############ x = first faith
############ x_doctrine_that_sets_banner = first faith special doctrine
############ custom_tenet_banner_glow_x_1 = first faith glow not prohibited
############ custom_tenet_banner_glow_x_2 = first faith glow prohibited
############ y = second faith
############ y_doctrine_that_sets_banner = second faith special doctrine
############ custom_tenet_banner_glow_y_1 = second faith glow not prohibited
############ custom_tenet_banner_glow_y_2 = second faith glow prohibited
########################################################################################
############ Names for each highlight_icon needs to be distinct or else it wont work ###
########################################################################################
############ Found @ window_faith.gui line 6283 circa 25/11/2026########################
########################################################################################
icon = {#default standard glow
name = "core_tenet_glow"
block "core_tenet_glow" {
visible = "[And(Rite.HasTenet( TenetType.Self ),Not(Or(Faith.HasDoctrineByKey( 'x_doctrine_that_sets_banner' ), Faith.HasDoctrineByKey( 'y_doctrine_that_sets_banner' )))]"
}
size = { 100% 100% }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_glow.dds"
color = { 0.45 0.5 0.55 1 }
alpha = 0.5
using = Glow_Tenet_Animation
}
icon = {
name = "not_core_tenet_glow"
block "not_core_tenet_glow" {
visible = no
}
size = { 100% 100% }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_heretical_glow.dds"
color = { 0.85 0.75 0.45 0.6 }
alpha = 0.2
using = Glow_Tenet_Animation
}
############x faith
icon = {
name = "core_tenet_glow_x"
block "core_tenet_glow" {
visible = "[And(Rite.HasTenet( TenetType.Self ),Faith.HasDoctrineByKey( 'x_doctrine_that_sets_banner' ))]"
}
size = { 100% 100% }
texture = "gfx/interface/icons/faith_tenets/custom_tenet_banner_glow_x_1.dds"
color = { 0.45 0.5 0.55 1 }
alpha = 0.5
using = Glow_Tenet_Animation
}
icon = {
name = "prohibited_tenet_glow_x"
visible = "[And(Faith.HasTenetStatus( TenetType.Self, 'prohibited' ),Faith.HasDoctrineByKey( 'x_doctrine_that_sets_banner' ))]"
size = { 100% 100% }
texture = "gfx/interface/icons/faith_tenets/custom_tenet_banner_glow_x_2.dds"
color = { 0.85 0.5 0.3 1 }
alpha = 0.5
using = Glow_Tenet_Animation
}
############y faith
icon = {
name = "core_tenet_glow_y"
block "core_tenet_glow" {
visible = "[And(Rite.HasTenet( TenetType.Self ),Faith.HasDoctrineByKey( 'y_doctrine_that_sets_banner' ))]"
}
size = { 100% 100% }
texture = "gfx/interface/icons/faith_tenets/custom_tenet_banner_glow_y_1.dds"
color = { 0.45 0.5 0.55 1 }
alpha = 0.5
using = Glow_Tenet_Animation
}
icon = {
name = "prohibited_tenet_glow_y"
visible = "[And(Faith.HasTenetStatus( TenetType.Self, 'prohibited' ),Faith.HasDoctrineByKey( 'y_doctrine_that_sets_banner' ))]"
size = { 100% 100% }
texture = "gfx/interface/icons/faith_tenets/custom_tenet_banner_glow_y_2.dds"
color = { 0.85 0.5 0.3 1 }
alpha = 0.5
using = Glow_Tenet_Animation
}
#######################################################################################