Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

.menu help

Page: 1 of 1
 stubert
07-21-2004, 11:10 AM
#1
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
 razorace
07-21-2004, 10:39 PM
#2
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 (http://linux.ucla.edu/~phaethon/q3tamenu/q3tamenu.html#toc16).
 Azymn
07-23-2004, 2:34 AM
#3
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.
 stubert
07-24-2004, 9:06 PM
#4
coo thanks guys... i've spent my modding time working my new keywords into the ui stuff
Page: 1 of 1