stubert Posted July 21, 2004 Share Posted July 21, 2004 hey guys, i felt creative today so i put some work into red sushie (you may or may not have heard of it) i've got a question about the UI callvote section and the .menu scripts i've designed a voteable function called gameplay that can change the server's force settings, weapon dynamics and assorted other things for example a player can do /callvote gameplay instagib or /callvote gameplay noForce or /callvote gameplay jkpp or /callvote gameplay basejka the idea is that since the ctf community i belong to is so small that servers could get more bang for their buck but , i want to have it accessible with the ingame callvote menu, but i have no experiance coding any of the menu UI stuff i thought i could just copy the /kick or /map sections.. and get it to display a list of the available gameplay types instead of maps or players.. but the symbols refrenced in the .menus aren't in the code! so i'm sorta at a loss on how this part works can someone throw me a bone here ? if you wanna say hello to the refresh community feel free http://www.firetrill.com/forums/index.php the red slushie forum is in the middle of the page -stu Link to comment Share on other sites More sharing options...
razorace Posted July 22, 2004 Share Posted July 22, 2004 I can't really comment since I haven't looked at that area in a while. What's the menudef for those buttons? Also, here's a good tutorial on menu files. Link to comment Share on other sites More sharing options...
Azymn Posted July 23, 2004 Share Posted July 23, 2004 There is one file used by the menu code that is not in the codemp folder, but in another ui folder adjacent to it: menudef.h That file should contain the constants you seek in the .menu files, and it is the one you want to edit to add new constants. Link to comment Share on other sites More sharing options...
stubert Posted July 25, 2004 Author Share Posted July 25, 2004 coo thanks guys... i've spent my modding time working my new keywords into the ui stuff Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.