Dragon-Fighter
08-28-2003, 03:16 PM
I made myself a GUI to use as MainMenu , but i'm having problems with making tribes with lodaing it instead of the default MainMenu.gui.
I tried to make a .cs file which contains:
GuiLoadContentCtrl(MainWi ndow, "temp\\New_MainWindow.gui");
and excuting this .cs file via autoexec.cs but it didn't work.
When i execute the script manualy in console it works ,but when i go to another screen and then go back to main screen it switches to default tribes one. Can you please help me with making it work ?
Type out the following in your cosole after you have made the changes:
storeObject("joingameGui","temp\\JoinGame.gui");
This will export the GUI to the file "JoinGame.gui" and have it be in your Tribes\temp directory. Simply move that file into your Tribes\gui and you are set!
hope that helps
random
08-28-2003, 04:06 PM
You need to force Tribes to load the new one, instead of the old one in Tribes\base\gui.vol
It's easier to do than it sounds, you just need to rename New_MainMenu.gui to MainMenu.gui, and place it in a Tribes\gui folder (You might have to make one).
Dragon-Fighter
08-29-2003, 12:47 AM
Thanks a lot it worked :)
Woo Hoo
Foodey
08-29-2003, 01:47 AM
omg its dragon fighter af wis fame!
Dragon-Fighter
08-29-2003, 09:23 AM
Yes here you go:
http://www.angelfire.com/theforce/pezfarm/picture.jpg
Nothing special but i like it :)
random
08-30-2003, 02:16 AM
Looks pretty sweet.
With your own custom buttons, gui's, palettes and animation, you could make a tight Shell replacement.
Dragon-Fighter
08-30-2003, 07:59 AM
If i knew how to make new buttons , palletes and animations then i would've done it by now, but i don't .
kalten
08-30-2003, 08:04 AM
kris, you should make a nice gui :x
random
08-31-2003, 01:58 AM
I don't have enough time to :/
Check out FSB-SPY's ColorGui tutorial, and search for GUI Scripting Notes.doc or something on Google, it tells you some cool things you can do with GUI's.
Also there's a few easier ways than tree() like editGui() or something editGuiMode, I forget the command.
You can check out Andrews PPLEdit thread for a brief "Howto" of palette hacking too.