This commit is contained in:
Fishedotjpg 2026-11-25 14:51:08 +00:00
parent 466b22f42c
commit 80882add7e
3 changed files with 150 additions and 54 deletions

View file

@ -6308,17 +6308,7 @@ template Tenet_Glows {
}
icon = {
name = "prohibited_tenet_glow"
visible = "[And(Faith.HasTenetStatus( TenetType.Self, 'prohibited' ),Not(Or(Or(Faith.HasDoctrineByKey( 'special_doctrine_banner_classical' ),Faith.HasDoctrineByKey( 'special_doctrine_banner_europeanist' )), Faith.HasDoctrineByKey( 'special_doctrine_banner_britannic' )))]"
size = { 100% 100% }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_heretical_glow.dds"
color = { 0.85 0.5 0.3 1 }
alpha = 0.5
using = Glow_Tenet_Animation
}
icon = {
name = "core_tenet_glow"
name = "core_tenet_glow_class"
block "core_tenet_glow" {
visible = "[And(Rite.HasTenet( TenetType.Self ),Faith.HasDoctrineByKey( 'special_doctrine_banner_classical' ))]"
}
@ -6330,7 +6320,7 @@ template Tenet_Glows {
using = Glow_Tenet_Animation
}
icon = {
name = "prohibited_tenet_glow"
name = "prohibited_tenet_glow_class"
visible = "[And(Faith.HasTenetStatus( TenetType.Self, 'prohibited' ),Faith.HasDoctrineByKey( 'special_doctrine_banner_classical' ))]"
size = { 100% 100% }
texture = "gfx/interface/icons/faith_tenets/test_custom_tenet_banner_glow_2.dds"
@ -6369,17 +6359,7 @@ template Tenet_Glows_Small {
}
icon = {
name = "prohibited_tenet_glow"
visible = "[And(Faith.HasTenetStatus( TenetType.Self, 'prohibited' ),Not(Or(Or(Faith.HasDoctrineByKey( 'special_doctrine_banner_classical' ),Faith.HasDoctrineByKey( 'special_doctrine_banner_europeanist' )), Faith.HasDoctrineByKey( 'special_doctrine_banner_britannic' )))]"
size = { 100% 100% }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_heretical_glow_small.dds"
color = { 0.85 0.5 0.3 1 }
alpha = 0.5
using = Glow_Tenet_Animation
}
icon = {
name = "core_tenet_glow"
name = "core_tenet_glow_class"
block "core_tenet_glow" {
visible = "[And(Rite.HasTenet( TenetType.Self ),Faith.HasDoctrineByKey( 'special_doctrine_banner_classical' ))]"
}
@ -6391,7 +6371,7 @@ template Tenet_Glows_Small {
using = Glow_Tenet_Animation
}
icon = {
name = "prohibited_tenet_glow"
name = "prohibited_tenet_glow_class"
visible = "[And(Faith.HasTenetStatus( TenetType.Self, 'prohibited' ),Faith.HasDoctrineByKey( 'special_doctrine_banner_classical' ))]"
size = { 100% 100% }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_heretical_glow_small.dds"

View file

@ -1,62 +1,91 @@
############ x = first faith's banner
############ y = second faith's banner
############ Found @ window_faith.gui line 2376 circa 25/10/2026
#########################################################################################
############ x = first faith
############ special_doctrine_banner_x = first faith special doctrine
############ tenet_banner_x_known_core = first faith banner core
############ tenet_banner_x_known_neutral = first faith banner neutral
############ tenet_banner_x_known_core = first faith banner permitted
############ tenet_banner_x_unknown_heretical = first faith banner prohibited
############ tenet_banner_x_unknown_neutral = first faith banner unknown
############ y = second faith
############ special_doctrine_banner_y = second faith special doctrine
############ tenet_banner_y_known_core = second faith banner core
############ tenet_banner_y_known_neutral = second faith banner neutral
############ tenet_banner_y_known_core = second faith banner permitted
############ tenet_banner_y_unknown_heretical = second faith banner prohibited
############ tenet_banner_y_unknown_neutral = second faith banner unknown
########################################################################################
############ Names for each highlight_icon needs to be distinct or else it wont work ###
########################################################################################
############ Found @ window_faith.gui line 6283 circa 25/11/2026########################
########################################################################################
###Religion Defined
highlight_icon = {#default system defined in religion
name = "doctrine_group_bg_def"
visible = "[Not(Or(Faith.HasDoctrineByKey( 'x_doctrine_that_sets_banner' ),Faith.HasDoctrineByKey( 'y_doctrine_that_sets_banner' )))]"
visible = "[Not(Or(Faith.HasDoctrineByKey( 'special_doctrine_banner_x' ),Faith.HasDoctrineByKey( 'special_doctrine_banner_y' )))]"
size = { 130 200 }
texture = "[Faith.GetTenetBackgroundIcon( Rite.Self, TenetType.Self )]"
}
###x faith
highlight_icon = {#Core
name = "doctrine_group_bg_x_core"
visible = "[And(Faith.HasDoctrineByKey( 'x_doctrine_that_sets_banner' ), Faith.GetMainRite.HasTenet( TenetType.Self ))]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_marble_known_core.dds"
}
############x faith
highlight_icon = {#permitted
name = "doctrine_group_bg_x_perm"
visible = "[And(Faith.HasDoctrineByKey( 'x_doctrine_that_sets_banner' ), And( Not( Faith.GetMainRite.HasTenet( TenetType.Self ) ), Not( Faith.HasTenetStatus( TenetType.Self, 'prohibited' ) ) ) )]"
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_x' ), Faith.HasTenetStatus( TenetType.Self, 'permitted' ) )]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_marble_known_neutral.dds"
texture = "gfx/interface/icons/faith_tenets/tenet_banner_x_known_core.dds"
}
highlight_icon = {#known
name = "doctrine_group_bg_x_known"
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_x' ), And(Not(Faith.HasTenetStatus( TenetType.Self, 'permitted' )), Not(Faith.HasTenetStatus( TenetType.Self, 'unknown' )) ) )]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_x_known_neutral.dds"
}
highlight_icon = {#Core
name = "doctrine_group_bg_x_core"
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_x' ), Faith.HasTenetStatus( TenetType.Self, 'core' ))]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_x_known_core.dds"
}
highlight_icon = {#prohibited
name = "doctrine_group_bg_x_prob"
visible = "[And(Faith.HasDoctrineByKey( 'x_doctrine_that_sets_banner' ), Faith.HasTenetStatus( TenetType.Self, 'prohibited' ))]"
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_x' ), Faith.HasTenetStatus( TenetType.Self, 'prohibited' ))]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_marble_unknown_heretical.dds"
texture = "gfx/interface/icons/faith_tenets/tenet_banner_x_unknown_heretical.dds"
}
highlight_icon = {#unknown
name = "doctrine_group_bg_x_unkn"
visible = "[And(Faith.HasDoctrineByKey( 'x_doctrine_that_sets_banner' ), Faith.HasTenetStatus( TenetType.Self, 'unknown' ))]"
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_x' ), Faith.HasTenetStatus( TenetType.Self, 'unknown' ))]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_marble_unknown_neutral.dds"
}
###y faith
highlight_icon = {#Core
name = "doctrine_group_bg_y_core"
visible = "[And(Faith.HasDoctrineByKey( 'y_doctrine_that_sets_banner' ), Faith.GetMainRite.HasTenet( TenetType.Self ))]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_europeanist_known_core.dds"
texture = "gfx/interface/icons/faith_tenets/tenet_banner_x_unknown_neutral.dds"
}
############y faith
highlight_icon = {#permitted
name = "doctrine_group_bg_y_perm"
visible = "[And(Faith.HasDoctrineByKey( 'y_doctrine_that_sets_banner' ), And( Not( Faith.GetMainRite.HasTenet( TenetType.Self ) ), Not( Faith.HasTenetStatus( TenetType.Self, 'prohibited' ) ) ) )]"
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_y' ), Faith.HasTenetStatus( TenetType.Self, 'permitted' ) )]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_europeanist_known_neutral.dds"
texture = "gfx/interface/icons/faith_tenets/tenet_banner_y_known_core.dds"
}
highlight_icon = {#known
name = "doctrine_group_bg_y_known"
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_y' ), And(Not(Faith.HasTenetStatus( TenetType.Self, 'permitted' )), Not(Faith.HasTenetStatus( TenetType.Self, 'unknown' )) ) )]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_y_known_neutral.dds"
}
highlight_icon = {#Core
name = "doctrine_group_bg_y_core"
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_y' ), Faith.HasTenetStatus( TenetType.Self, 'core' ))]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_y_known_core.dds"
}
highlight_icon = {#prohibited
name = "doctrine_group_bg_y_prob"
visible = "[And(Faith.HasDoctrineByKey( 'y_doctrine_that_sets_banner' ), Faith.HasTenetStatus( TenetType.Self, 'prohibited' ))]"
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_y' ), Faith.HasTenetStatus( TenetType.Self, 'prohibited' ))]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_europeanist_unknown_heretical.dds"
texture = "gfx/interface/icons/faith_tenets/tenet_banner_y_unknown_heretical.dds"
}
highlight_icon = {#unknown
name = "doctrine_group_bg_y_unkn"
visible = "[And(Faith.HasDoctrineByKey( 'y_doctrine_that_sets_banner' ), Faith.HasTenetStatus( TenetType.Self, 'unknown' ))]"
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_y' ), Faith.HasTenetStatus( TenetType.Self, 'unknown' ))]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_europeanist_unknown_neutral.dds"
texture = "gfx/interface/icons/faith_tenets/tenet_banner_y_unknown_neutral.dds"
}
###############

View file

@ -0,0 +1,87 @@
########################################################################################
############ 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
}
#######################################################################################