Changing backgrounds for individual menus?

Users who are viewing this thread

Winter

Master Knight
Okay, guys, I've been trying to tackle this task for a while, and I've been botching it since the first second. I really don't know anything about DDS or BRF files. My messing around with them is only causing more trouble, so now I'm asking you more skilled gentlemen for assistance.

Here is my conundrum. Presume I have two towns in-game, each with its own game menu. I wish to assign different backgrounds to each of these menus. Is it possible? How do I go about it? Should I enlist someone who actually knows what they're doing?

If anyone can help me with this, I would very much appreciate it.

Plaintively,
Winter
 
AFAIK, hard coded.

all menus etc are planes on a scene i belive...or something similar. Displaying which plane appears is hard coded....but you better ask someone who knows what they are talking about.
 
Yoshiboy said:
AFAIK, hard coded.

all menus etc are planes on a scene i belive...or something similar. Displaying which plane appears is hard coded....but you better ask someone who knows what they are talking about.
Well, I did notice that there is a (unused, probably non-working) function in module_game_menus.py that calls meshes for each game menu. Perhaps Armagan meant to include this and just hasn't gotten around to it yet.

Indefinitely,
Winter
 
Winter said:
Yoshiboy said:
AFAIK, hard coded.

all menus etc are planes on a scene i belive...or something similar. Displaying which plane appears is hard coded....but you better ask someone who knows what they are talking about.
Well, I did notice that there is a (non-used, probably non-working) function in module_game_menus.py that calls meshes for each game menu. Perhaps Armagan meant to include this and just hasn't gotten around to it yet.

Indefinitely,
Winter

if thats true it might be possible to (once materials are supported) clone the menu meshes and link them to a new texture then use this link in the python to display the cloned mesh.
 
Yoshiboy said:
if thats true it might be possible to (once materials are supported) clone the menu meshes and link them to a new texture then use this link in the python to display the cloned mesh.

That's what I tried to do, in theory, but I was in a constant state of bewildered confusion with no idea how to do what I wanted.

Simoniacally,
Winter
 
dont worry, it will be simple enough once we have material support. At the moment if you can i would find some way to test out the line of code. Try spawning some buttons that should be there :razz:
 
Yoshiboy said:
dont worry, it will be simple enough once we have material support. At the moment if you can i would find some way to test out the line of code. Try spawning some buttons that should be there :razz:
I tested the code. While it compiles, it unfortunately has no effect whatsoever in-game. Sadness. :sad:

Combustably,
Winter
 
Well, I know some guys changed the starting menu of the game--could that be related to this at all?

...

Okay, really I just posted to do this:

Awesomely,
Stonewall

:grin:
 
Stonewall382 said:
Well, I know some guys changed the starting menu of the game--could that be related to this at all?

...

Okay, really I just posted to do this:

Awesomely,
Stonewall

:grin:
That's -my- shtick, mate! Hands off!

What you're referring to (Wild West mod screenshot) is the same thing that prompted me to try this, but it's only of the intro menu. I don't know whether it also affects all the other menus in game, or just the ones chosen by Paradox. If the latter, I would quite like to know how the hell he did it. :razz:

Hydroponically,
Winter
 
Winter said:
What you're referring to (Wild West mod screenshot) is the same thing that prompted me to try this, but it's only of the intro menu. I don't know whether it also affects all the other menus in game, or just the ones chosen by Paradox. If the latter, I would quite like to know how the hell he did it. :razz:

It affects _some_ of the other menus. bg2.dds is the main background file and applies to most of the backgrounds. There's also a stone texture (the one seen in the character screen) that affects some backgrounds. The logo is warrider_logo.dds, which is independently scaled each time it's used (smaller on options screen, for example). As far as I know, though, there's no way to set a background for a specific menu.

Oh, and of course other interfaces such as dialogs and inventory each have their own texture.

Magnanimously,
[P]aradox
 
[P]aradox said:
It affects _some_ of the other menus. bg2.dds is the main background file and applies to most of the backgrounds. There's also a stone texture (the one seen in the character screen) that affects some backgrounds. The logo is warrider_logo.dds, which is independently scaled each time it's used (smaller on options screen, for example). As far as I know, though, there's no way to set a background for a specific menu.

Oh, and of course other interfaces such as dialogs and inventory each have their own texture.

Magnanimously,
[P]aradox
Crap. Guess I'll have to whinge at Armagan until he codes it in...

Downheartedly,
Winter
 
Back
Top Bottom