Post: Changing source engine menu base open and move
02-05-2016, 05:24 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I am trying to make it so aim and knife is open menu really doesn't matter on that Dpad up is still fine


but I really want dpad up and down to work
Its really glitchy trying to change it anyone have any ideas
(adsbygoogle = window.adsbygoogle || []).push({});
02-05-2016, 06:30 AM #2
For aim & knife to open menu

Add this in main.gsc under menuinit() for the one that opens the menu.

if(self meleeButtonPressed() && self adsbuttonpressed() && !self.menu.open)

For dpad down & up

Add this in main.gsc under menuinit() for the one that controls scrolling

if(self actionSlotOneButtonPressed() || self actionSlottwoButtonPressed())
02-05-2016, 06:41 AM #3
Originally posted by Zeno
For aim & knife to open menu

Add this in main.gsc under menuinit() for the one that opens the menu.

if(self meleeButtonPressed() && self adsbuttonpressed() && !self.menu.open)

For dpad down & up

Add this in main.gsc under menuinit() for the one that controls scrolling

if(self actionSlotOneButtonPressed() || self actionSlottwoButtonPressed())


Have you tried that lol? I have it does not work.
02-05-2016, 06:46 AM #4
Originally posted by TheNiceUb3r View Post
Have you tried that lol? I have it does not work.


Yes lol its in my menu?
02-05-2016, 06:49 AM #5
Originally posted by Zeno
Yes lol its in my menu?


If I do that even on the base with nothing in it, Knifing and aiming spams the message that the menu is open but never opens it

If I do only the up and down to navigate the menu, It does not move anywhere at all, if I close and open the menu repetitively then it goes up but down works not at all.
02-05-2016, 06:51 AM #6
Originally posted by TheNiceUb3r View Post
If I do that even on the base with nothing in it, Knifing and aiming spams the message that the menu is open but never opens it

If I do only the up and down to navigate the menu, It does not move anywhere at all, if I close and open the menu repetitively then it goes up but down works not at all.


Do you have a wait like this?

if(self meleeButtonPressed() && self adsbuttonpressed() && !self.menu.open)
{
if(!level.spawningBots == true)
{
openMenu();
self freezecontrols(false);
wait 0.2;
}
}
02-05-2016, 06:55 AM #7
no not even the base has that
02-05-2016, 07:02 AM #8
Originally posted by TheNiceUb3r View Post
no not even the base has that


Could you send the bit of code that controls opening, closing, etc so i could see how it works?
02-05-2016, 07:29 AM #9
Originally posted by Zeno
Could you send the bit of code that controls opening, closing, etc so i could see how it works?


You must login or register to view this content.
02-05-2016, 07:47 AM #10
Originally posted by TheNiceUb3r View Post
You must login or register to view this content.


Try using this:
You must login or register to view this content.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo