Evele
08-29-2007, 08:36 AM
Does anyone know what I need to edit the .gui files in T1? Or maybe even a link to a tutorial would be cool.
[GUI] T1 .gui editing?Evele 08-29-2007, 08:36 AM Does anyone know what I need to edit the .gui files in T1? Or maybe even a link to a tutorial would be cool. Shinigami 08-29-2007, 09:20 AM "tree();" in the console is one way. Evele 08-29-2007, 11:28 AM "tree();" in the console is one way. Ah, cool. Thx. I couldn't remember that for the life of me. Shinigami 08-29-2007, 05:02 PM No problem. I know what you mean. Lemon 08-29-2007, 07:35 PM NewOpts Scripter's Notes: (http://www.planettribes.com/bigbunny/guidoc.html) ignore the new opts stuff if you're not using that This is what I use to load the gui editing tools... function guied(){ editGui(); GuiEditMode(MainWindow); cursorOn(MainWindow); tree(); } newobject() and storeobject() are the important functions make the object collapse then expand the tree your object will be at the bottom of the tree drag it to the proper place in the tree store the object rinse then repeat http://img523.imageshack.us/img523/4807/slidersag1.png http://img213.imageshack.us/img213/1905/4buton6.png Evele 08-30-2007, 07:35 PM I need help with this pic. I'd like it to be the mainmenu backgroud. I can't seem to convert it to 8 bit bmp. Maybe it has to be pbmp?? Not sure what I'm doing wrong. It's the correct size, 640x480. Halp! http://img.photobucket.com/albums/v203/Iron_Man/STP.jpg Evele 08-31-2007, 08:13 AM I know it's supposed to go in shell.vol to replace DarkLogo.bmp. Must be wrong format. Still need help. Lemon 08-31-2007, 08:43 AM I copied the image, saved it as a 256 color .bmp, and put it in my skins folder. I lost image quality (of course) but it worked like that. I'll convert it to a .pbmp after work and see how that works out. Evele 08-31-2007, 12:17 PM Here's as close as I could get. http://img.photobucket.com/albums/v203/Iron_Man/mainmenu.jpg GreyHound 09-09-2007, 04:09 AM Use hudbot 0.5 functionality for this. Use tree(); and editGui(); to set a different background picture. Like MyCustomMainMenu.bmp. Then create this bmp as pbmp and draw random stuff to make sure you get a unique file and run the crc determination exe on that pmbp. (It's probably a good idea to create a pbmp, even if not 100% necessary. I think it would also work if you don't actually convert it.Especially since its replaced anyway. But Tribes1 want's those so better provide them, Tribes ocassionaly crashes on pbmp/bmp files, converting might be on the secure side) You can now assoziate a tga with that file using the crc value you just found out. Hudbot::addReplacement( "b341de67", "MyCustomMainMenu.TGA" ); Now hudbot will automatically replace your background with a nice tga. (make sure you follow the power of 2 rules for the dimensions) Andrew told me some pictures couldn't be replaced due to dublicated crcs, that's why some of the game menu guis act a little different and cannot be threat as usual by just supplying a tga. I played with the menu guis a lot and found out that those backgrounds are exactly what he was talking about. (Even when those files were listed in "supported_replacements.tx t" that use to ship with hudbot releases.) By creating your own, then finding out the crc and finally using this crc to replace the bg you have a decent workarround. As we're on it. How do you align those buttons to keep their position well defined using different resolutions? It's a pain in the ass to get decent alignments. Any hints? I already thought i need to reposition those every time the gui is displayed using different resolutions. Lemon 09-10-2007, 10:26 PM As we're on it. How do you align those buttons to keep their position well defined using different resolutions? It's a pain in the ass to get decent alignments. Any hints? I already thought i need to reposition those every time the gui is displayed using different resolutions. define well defined same spot on image? GreyHound 09-11-2007, 07:58 AM yeah, same spot on image fits pretty good. I fiddled with those resize settings so often already and i cannot really get it to behave as i'd like too. | ||