Page 1 of 1

Where is ui_ingame.xml read from?

Posted: 13 Jun 2015, 20:05
by Swartz
I'm using different size scopes for DX9 for 10/11 (they stretch out weird otherwise at certain resolutions).
The scopes.xml and scopes_16.xml files make no mention of ui_ingame.xml and the fact that they're going to read the scope textures from in there. I have searched all configs and scripts with no luck. I have searched the source-code with no luck.

How and where the fuck is this defined? I want to program it so I can switch files based on renderer god damnit!

HELP ME!!!!!
:suicide:

Re: Where is ui_ingame.xml read from?

Posted: 13 Jun 2015, 20:13
by Alundaio
Swartz, all the xml are all parsed in, their names do not matter except _16 is used when resolution is widescreen. What matters are the xml tag names inside (ie. wpn_crosshair_g36)

Re: Where is ui_ingame.xml read from?

Posted: 13 Jun 2015, 20:18
by Swartz
Oh. Yeah...I knew that :oops:

Anyway, looks like I'll just have to define new scopes and scopes_16 in the code for DX9, and name them stuff like wpn_crosshair_dx9, etc. and read them that way.

Thank you as always Alundaio.