lfnetwork.com mark read register faq members calendar

Thread: .menu help
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 07-21-2004, 10:10 AM   #1
stubert
 
Join Date: Aug 2002
Location: Philadelphia
Posts: 227
.menu help

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
stubert is offline   you may: quote & reply,
Old 07-21-2004, 09:39 PM   #2
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
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.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 07-23-2004, 01:34 AM   #3
Azymn
 
Azymn's Avatar
 
Join Date: Jul 2002
Location: ~(40.14, -111.40)
Posts: 544
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.

Azymn is offline   you may: quote & reply,
Old 07-24-2004, 08:06 PM   #4
stubert
 
Join Date: Aug 2002
Location: Philadelphia
Posts: 227
coo thanks guys... i've spent my modding time working my new keywords into the ui stuff
stubert is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JA Coding > .menu help

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:56 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.