• 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.

concommie

Recruit
39 Badges
Jul 14, 2018
2
6
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Green Cities
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Cities: Skylines Industries
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Victoria 2
  • Cities: Skylines
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Stellaris
  • Stellaris: Galaxy Edition
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
I was working on a scripted GUI submod for The New Order, but when I booted up the game in debug mode I got this error. I don't see what's causing it, here are my 3 text files of the GUI, and the general errors associated with this mod:

china_econ.gfx:

spriteTypes = {

corneredTileSpriteType = {
name = "GFX_tiled_window_1b_no_border"
size= { x=192 y=192 }
textureFile = "gfx/interface/china_gui/tiled_bg.dds"
borderSize = { x=64 y=64 }
tilingCenter = yes
effectFile = "gfx/FX/buttonstate_nodowneffect.shader"
}

spriteType = {
name = "GFX_info_button"
texturefile = "gfx/interface/china_gui/InfoButton.dds"
}

spriteType = {
name = "GFX_chi_economy_open_button"
texturefile = "gfx/interface/china_gui/chi_economy_open_button.dds"
}

spriteType = {
name = GFX_crt_closebutton
texturefile = "gfx/interface/china_gui/crt_closebutton.dds"
}

spriteType = {
name = "GFX_CHI_econ_bg"
texturefile = "gfx/interface/china_gui/econ_bg.dds"
}

}


china_econ.gui:

guiTypes = {

containerWindowType = {
name = "china_economy_gui_open"
size = { width = 220 height = 128 }
position = { x = 0 y = 289 }

buttonType = {
name = "chi_economy_menu_open"
spriteType = "GFX_chi_economy_open_button"
position = { x = 238 y = 37 }
pdx_tooltip = "scripted_gui_open_tt_chi_econ"
scale = 0.65
}

containerWindowType = {
name = "CHI_econ_gui"
position = { x = 538 y = 77}
size = { width = 1000 height= 850 }
moveable = yes

background = {
name = "Background"
quadTextureSprite ="GFX_tiled_window_1b_no_border"
}

iconType = {
name = "CHI_diplo_bg"
spriteType = "GFX_CHI_econ_bg"
position = { x = 4 y = 4 }
alwaystransparent = yes
}

buttonType = {
name = "main_info_button"
position = { x = -80 y = 16 }
quadTextureSprite = "GFX_info_button"
Orientation = "UPPER_RIGHT"
}

buttonType = {
name = "close_button"
position = { x = -31 y = 16 }
quadTextureSprite = "GFX_crt_closebutton"
buttonFont = "Main_14_black"
shortcut = "ESCAPE"
Orientation = "UPPER_RIGHT"
clicksound = click_close
pdx_tooltip = "CLOSE"
}

}
}


Error Log:

[22:10:40][texturehandler.cpp:165]: Texture Handler encountered missing texture file: /gfx/interface/scripted_gui_graphics/scripted_gui_background.dds
[22:10:40][texturehandler.cpp:316]: Couldn't find texture file: /gfx/interface/scripted_gui_graphics/scripted_gui_background.dds.
[22:10:40][spritetype.cpp:324]: Error initialising texture: /gfx/interface/scripted_gui_graphics/scripted_gui_background.dds for spritetype GFX_scripted_gui_window_background
[22:10:40][gui.cpp:861]: Undefined GUI_TYPE: china_economy_gui_open - This will most likely crash the game
[22:10:40][scriptedwindowmanager.cpp:257]: Window china_economy_gui_open not found.

[22:10:40][gui.cpp:861]: Undefined GUI_TYPE: CHI_econ_GUI - This will most likely crash the game
[22:10:40][scriptedwindowmanager.cpp:257]: Window CHI_econ_GUI not found.

[22:10:40][graphics.cpp:1280]: No font with name center
[22:10:40][graphics.cpp:1280]: No font with name center
[22:10:40][graphics.cpp:1280]: No font with name center
[22:10:40][graphics.cpp:1280]: No font with name center
[22:11:12][gui.cpp:861]: Undefined GUI_TYPE: china_economy_gui_open - This will most likely crash the game
[22:11:12][scriptedwindowmanager.cpp:257]: Window china_economy_gui_open not found.

[22:11:12][gui.cpp:861]: Undefined GUI_TYPE: CHI_econ_GUI - This will most likely crash the game
[22:11:12][scriptedwindowmanager.cpp:257]: Window CHI_econ_GUI not found.

[22:11:12][graphics.cpp:1280]: No font with name center
[22:11:12][graphics.cpp:1280]: No font with name center
[22:11:12][graphics.cpp:1280]: No font with name center
[22:11:12][graphics.cpp:1280]: No font with name center


Obviously the submod is very barebones right now, but is there any reason it isn't working here?
 

Attachments

  • china_econ.txt
    1,2 KB · Views: 0