Forum

menu

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

menu

Postby sniperz227 » Fri May 06, 2011 10:06 pm

hi i was wondering if someone could help me with my menu. I'm trying to make it so that when you start a game and go in the game a menu pops up( sort of like in call of duty where you get to choose a class. and in that menu i want there 2 be 3 categories : primary weapon, secondary weapon and melee. in those categories i want sub categories so like assault weapons,sub-machine guns, so on n then in those it will display my weapons. i also want it so that you have to have 1 primary,1 secondary and 1 melee to start the game.

i know this is a lot if someone could just tell me how to do the first part like categories and then sub categories and the wepaons part i can look at it n try n understand it and do the rest. thanks your help is very much aprreciated
sniperz227
 
Posts: 112
Joined: Sat Apr 09, 2011 3:19 am

Postby ceriux » Tue May 10, 2011 3:10 pm

use different centerprints and if self.menu == # then centerprint which ever menu you've made. you will need to setup a second impulse funtion as well. so your button presses dont interact with ne thing else either.
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest