Raised This Month: $51 Target: $400
 12% 

[CS:GO] Create panel without blocking slot keys


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
diablix
Senior Member
Join Date: Jan 2010
Location: Warsaw, Poland
Old 09-09-2014 , 10:14   [CS:GO] Create panel without blocking slot keys
Reply With Quote #1

Hello, I am trying to create a panel without preventing user from changing the weapons using "slotx" keys. The effect I am looking for is to create panel showing certain data but not acting like a menu (so I can switch weapons).

First question, is this even possible to make?

Last edited by diablix; 09-09-2014 at 10:14.
diablix is offline
Send a message via Skype™ to diablix
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 09-09-2014 , 11:01   Re: [CS:GO] Create panel without blocking slot keys
Reply With Quote #2

umm... i second this question.
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.
GsiX is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 09-09-2014 , 11:26   Re: [CS:GO] Create panel without blocking slot keys
Reply With Quote #3

bind separate keys to menuselect.
Mitchell is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 09-09-2014 , 11:40   Re: [CS:GO] Create panel without blocking slot keys
Reply With Quote #4

As I recall, Panels and Menus are both radio menus by default. So... any change to one would affect the other, including the client-side workaround Mitchell suggested.

The older, Valve-style menus can be used as well, but those panels don't show up unless you hit Esc (and do those even work on CS:GO?)
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
diablix
Senior Member
Join Date: Jan 2010
Location: Warsaw, Poland
Old 09-09-2014 , 12:25   Re: [CS:GO] Create panel without blocking slot keys
Reply With Quote #5

Hmm maybe there is some kind of offset or function that would let me force weapon slot on player? So I can use menu keys to switch weapon as well!

If this method is not possible, how can I create a "note" ? I am trying to show certain stats when player is alive. There is no HUD so I am wondering how to make such a thing. I don't wanna use
PrintHintText because it is so limited.

Last edited by diablix; 09-09-2014 at 12:30.
diablix is offline
Send a message via Skype™ to diablix
Mitchell
~lick~
Join Date: Mar 2010
Old 09-09-2014 , 13:47   Re: [CS:GO] Create panel without blocking slot keys
Reply With Quote #6

So to just get a little bit more information straight of what you're using this for...
You want a panel to be able to display information to the player without needing them to have an input to the panel (possibly still an exit button, slot10)
Not too certain if CS:GO locks slot keys when a panel is displayed. I.E.. a panel with just a title and only spacers/fill text buttons, they wont add slot binds to the buttons
If this is the case then there might be just a very little that you could do.
Mitchell is offline
diablix
Senior Member
Join Date: Jan 2010
Location: Warsaw, Poland
Old 09-09-2014 , 14:17   Re: [CS:GO] Create panel without blocking slot keys
Reply With Quote #7

I am mainly looking for a method to display information to player like you said but not in the center of screen. Since there is no HUD or some other messages (like there were statusvalue in 1.6) is this even possible?
diablix is offline
Send a message via Skype™ to diablix
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 09-09-2014 , 14:22   Re: [CS:GO] Create panel without blocking slot keys
Reply With Quote #8

Sadly.. there is no way to change the slot key.
Anyway, if csgo support overlay and the information you need to sent is static and not too many just give a "r_screenoverlay" a go.
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.
GsiX is offline
diablix
Senior Member
Join Date: Jan 2010
Location: Warsaw, Poland
Old 09-09-2014 , 14:28   Re: [CS:GO] Create panel without blocking slot keys
Reply With Quote #9

I need to use variables.. so there is no way to do this? Gosh, sourcemod is so limited :C
diablix is offline
Send a message via Skype™ to diablix
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 09-10-2014 , 06:34   Re: [CS:GO] Create panel without blocking slot keys
Reply With Quote #10

Quote:
Originally Posted by diablix View Post
I need to use variables.. so there is no way to do this? Gosh, sourcemod is so limited :C
This isn't a SourceMod limitation.
__________________
asherkin is online now
Reply



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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode