Where is ui_ingame.xml read from?

Swartz
Adventurer
Posts: 200
Joined: 27 May 2012, 08:37

Where is ui_ingame.xml read from?

Postby Swartz » 13 Jun 2015, 20:05

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:

User avatar
Alundaio
S.T.A.L.K.E.R.
Posts: 1368
Joined: 26 May 2012, 22:26

Re: Where is ui_ingame.xml read from?

Postby Alundaio » 13 Jun 2015, 20:13

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)
"I have a dream that one day this community will rise up and live out the true meaning of its creed: "We hold these truths to be self-evident; that all mods are created equal."

Swartz
Adventurer
Posts: 200
Joined: 27 May 2012, 08:37

Re: Where is ui_ingame.xml read from?

Postby Swartz » 13 Jun 2015, 20:18

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.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest