panel nav_progress [Cs:s]
UserMessage "VGUIMenu" "nav_progress"
Some of you sure recognize this. Especially when have add one bot in game and server start generate nav file if it not exist. And that time you almost can't do anything, you see your mouse cursor on screen and this panel what show server progress. You can close this panel ALT+F4 or go your menu with ESC. Lets create this. *tip Can quick test in game, type in console showpanel nav_progress hidepanel nav_progress Simple way, using ShowVGUIPanel, we get it appear in player screen. PHP Code:
Yeah, this data are store in players. As you can see my picture, it have not message and loading bar full (data empty). Start customize our panel! Need build proper keyvalue structure to get it work. (I peek from sourcecode2007)
It looks like this!
You build like this PHP Code:
PHP Code:
Here example plugin, if you want test for fun
When use UserMsg to send "nav_progress"
UserMessage
|
Re: panel nav_progress
nice... this would be good for a plugin or two of mine :)
|
Re: panel nav_progress
What games would this support?
|
Re: panel nav_progress
Quote:
- Cs:s show it center of screen. - HL2MP & Dod:s show it little box upper left corner. http://dl.dropbox.com/u/38118182/pictures/dodnav.jpg I assume, in those games where bots use nav files, have better panel layout to see server progress when generate it. :? It could depend players HUD/clientschemes files what kind panel it will create... *edit found, from <mod>/Resource/UI/NavProgress.res *edit Yep, I copy this file from Cs:s to HL2MP and it created same panel. |
Re: panel nav_progress
Well, seeing that it will be supported in DoD and HL2:MP, I'm assuming it will work in TF2 aswell.
Only reason I say that is I've noticed that TF2 has many similar resources that DoD wand HL2:MP have. (Including Hud Text) |
Re: panel nav_progress
Wow... Great!
|
Re: panel nav_progress
Nicely done but sadly doesn't work in Team Fortress 2.
|
Re: panel nav_progress
Quote:
|
Re: panel nav_progress
Quote:
I executed nav_generate to start creating nav file and there not appear any panel to show this "progress", in console it print output text. Player can move during this progress but lags like hell... |
Re: panel nav_progress
Quote:
|
All times are GMT -4. The time now is 21:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.