Page 1 of 1

user interface move

Posted: August 9th, 2014, 3:20 pm
by northstar
hey guys... heres the situation... i decided to move the 2.7.1 gui from data/HUD to data/UI (just to do it)... soooo... i realigned the 3dgui and the default cfg's, config.cfg's and the theme list loop... now...

when i run in codeblocks the themes come up just as expected... but when i run from the start menu it looks for the hud in data/hud and comes up 'cannot find' (etc)... it's still looking to data/hud... the theme list does the same...

there must be a string prefix somewhere... and i've searched for hours to find it... any ideas?

Re: user interface move

Posted: August 10th, 2014, 9:53 am
by northstar
here is the themes code

Code: Select all

createthemelist = [
	themes = "" //don't forget to reset it
	loopfiles f data/ui cfg [
		themes = (format "%1 ^"%2^"" $themes $f)
	]
	themenum = (listlen $themes)
]
i should say that it loops just fine... but when i hover or try to select it once again tries to load from data/HUD...

Re: user interface move

Posted: August 10th, 2014, 10:47 am
by northstar
ok... i found the load-up problem... its located in the "my_stuff" config files... but it still looks for the themes in data/hud... i'll keep searching, but i suppose thats what my goal is... to optimize the file script system so that i can basically centralize it so that it's not so scattered and redundant... i'm up to 84mb with a functional src CodeBlocks... happy trails...

Re: user interface move

Posted: August 10th, 2014, 2:56 pm
by northstar
ok... got the themes working thru menu>newgui themes (duhhh)....

seems most of my work will be more in the script than code... well... for now

sorry to bother you...
NS