Hearts of Iron IV

Hearts of Iron IV

View Stats:
doctorslash May 22, 2022 @ 8:30am
coding problem. I am coding a focus tree and keep getting an error
The error:[16:25:23][texturehandler.cpp:155]: Texture Handler encountered missing texture file: gfx/interface/goals/focus_redo_goverment.dds
[16:25:23][texturehandler.cpp:209]: Couldn't find texture file: 'gfx/interface/goals/focus_redo_goverment.dds'
[16:25:23][spritetype.cpp:330]: Error initialising texture: gfx/interface/goals/focus_redo_goverment.dds for spritetype gfx_focus_redo_goverment_shine
the code:spriteTypes = {

SpriteType = {
name = "gfx_focus_redo_goverment_shine"
texturefile = "gfx/interface/goals/focus_redo_goverment.dds"
effectFile = "gfx/FX/buttonstate.lua"
animation = {
animationmaskfile = "gfx/interface/goals/focus_redo_goverment.dds"
animationtexturefile = "gfx/interface/goals/shine_overlay.dds" # <- the animated file
animationrotation = -90.0 # -90 clockwise 90 counterclockwise(by default)
animationlooping = no # yes or no ;)
animationtime = 0.75 # in seconds
animationdelay = 0 # in seconds
animationblendmode = "add" #add, multiply, overlay
animationtype = "scrolling" #scrolling, rotating, pulsing
animationrotationoffset = { x = 0.0 y = 0.0 }
animationtexturescale = { x = 1.0 y = 1.0 }
}

animation = {
animationmaskfile = "gfx/interface/goals/focus_redo_goverment.dds"
animationtexturefile = "gfx/interface/goals/shine_overlay.dds" # <- the animated file
animationrotation = 90.0 # -90 clockwise 90 counterclockwise(by default)
animationlooping = no # yes or no ;)
animationtime = 0.75 # in seconds
animationdelay = 0 # in seconds
animationblendmode = "add" #add, multiply, overlay
animationtype = "scrolling" #scrolling, rotating, pulsing
animationrotationoffset = { x = 0.0 y = 0.0 }
animationtexturescale = { x = 1.0 y = 1.0 }
}
legacy_lazy_load = no
}
Date Posted: May 22, 2022 @ 8:30am
Posts: 0