View Full Version : mutator config
I was hoping to find a small example of setting up a mutator config screen. Nothing advanced, just a textbox & label.
The only mutator I really have to work with at this point as reference is the WeaponReplacement mutator. In it's declaration in UTGame.ini, it uses
UIConfigScene=UI_Scenes_Mutators.Scenes.WeaponRepl acement
, however, I am having trouble locating exactly where the config scene would be. Any help would be great!
Thanks!
BattleMode
11-17-2007, 05:48 PM
I was hoping to find a small example of setting up a mutator config screen. Nothing advanced, just a textbox & label.
The only mutator I really have to work with at this point as reference is the WeaponReplacement mutator. In it's declaration in UTGame.ini, it uses
UIConfigScene=UI_Scenes_Mutators.Scenes.WeaponRepl acement
, however, I am having trouble locating exactly where the config scene would be. Any help would be great!
Thanks! I think UTUIFrontEnd_WeaponReplacementMenu.uc might be what you are looking for. This is where the UTUIFrontEnd_WeaponReplacementMenu class is defined.
Yes, I had found it. Working on a few configs atm. Thanks.
Ok, have my config screen setup and ready to go, however I can't get the config screen to show up after clicking the 'configure' button.
I'm thinking my problem is in the ini file @ the UIConfigScene=
Not sure what to use for custom config scenes, tried a large combination and couldn't get any to work..
Tried:
UI_Scenes_Mutators.Scenes.[MyMutator]
UI_Scenes_Mutators.Scenes.[ConfigClassName]
[MyMutator].Scenes.[ConfigClassName]
.. and about 20 other combinations with others. Anyone got any insight?
blented
11-22-2007, 06:04 PM
You'll need to make your own custom UI Scene and save it out. Do so by right clicking in the generic browser and selecting New UI Scene. Double-click to bring up a pretty complex editor, from there you're on your own :\
MysTikal
11-22-2007, 06:19 PM
Custom UI scene? For a config box?
You have got to be kidding me.
KewlAzMe
11-23-2007, 10:31 AM
Yep.. it's all a big joke on Mystikal :P
Can anyone write up a quick tutorial on the steps required for this? Anyone get it working yet?
Henrik
11-23-2007, 11:09 AM
I'm 80% there.. just need to figure out how to hook up the values.
Post some example code+UIConfigScene=? if you get it working.
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.