Raised This Month: $105 Target: $400

Simple Developer Version 8.0

Post New Thread Reply   
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Technical/Development        Approver:   Zenith77 (34)
Veteran Member
Join Date: Jul 2006
Location: Germany (GMT+1)
Old 04-30-2008 , 20:10   Simple Developer Version 8.0
Reply With Quote #1

Simple Developer
Version 8.0

Hitting the console key and typing in "noclip" and "god" to test something in a map...
That always pissed me off, so I wrote this small plugin, which in the end probably
took up more time than typing 'noclip' and 'god' could ever have.

You simply hold down a key which you bound to "+devmenu", and then
you can easily enable/disable godmode, noclip mode, notarget mode and access
for every usual player to that developer menu (for multiplayer map testing)
by simply moving your view into the direction the option is in. By default, 20
degrees from the original angle when opening the menu upwards, downwards,
to the left or to the right are needed to toggle an option. Since Version 5.0 you
may also hit your "Use"-Key while in the menu to toggle the player information
staying while the menu is closed on or off. Hitting your "Reload"-Key will allow
you to teleport to coordinates.

Look at the screenshot to get an idea of it.
Admin Level A required by default.
Have fun!

Version history:
  • V. 1.0: Initial release.
  • V. 2.0: Cleaned up the code and fixed 2 tiny issues.
  • V. 3.0: Added Global Constant Variable to control degrees needed to toggle an option (Default: 12) and added a check if the menu was open when the client sends "-developer_menu", to prevent seeing the menu fade out when closing the Game Menu (Escape button) if the menu was not open.
  • V. 4.0: Added Three Global Constant Variables to control the menus color. Added Origin, Angles and Velocity display. Menu now instantly disappears when letting of the key to keep the fourth HUD Message Channel free. There are some small optimizations as well.
  • V. 5.0: New feature: Hit "Use"-Key while the menu is open to toggle Player Information Stay ON/OFF. Did some syntax optimization as well.
  • V. 6.0: Added a Pitch-Slope Indicator to Information box and made use of static variables to reduce CPU usage.
  • V. 7.0: Added options to suicide and to teleport to coordinates. Fixed the menu close function being called when closing the menu, although information stay is still activated. Changed default channel for the HUD menu to be channel 3, because it seems to be the most spammed channel. Made the whole menu much flatter so it wont screw up widescreen users.
  • V. 8.0: Removed option to suicide. It was dull and 90% of the time one would use it accidentally. Added #define DEV_LOW_FIDELITY_MENU 1 to the code, which, when set to a value greater than 0, will cause the menu to be low fidelity, and thus cause much less network traffic. Fixed network options being used incorrectly while the menu is opened. Reduced default refresh rates to very low values. Fixed bad variable naming sense. Global variables are now preceded by "g_". Improved code readability and efficiency. Now have to use Reload-key instead of jump key. Changed default command for opening the menu to something shorter, "+devmenu". Can now easily change required Admin level through a #define REQUIRED_ACCESS.


Low fidelity:
Attached Files
File Type: sma Get Plugin or Get Source (simpledeveloper.sma - 1210 views - 12.1 KB)

Last edited by Silencer123; 10-17-2009 at 08:46. Reason: Updated to Version 8.0
Silencer123 is offline
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 04-30-2008 , 20:29   Re: Simple Developer
Reply With Quote #2

Really good idea. I especially like the use of the +command.
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."
soccdoodcss is offline
Send a message via AIM to soccdoodcss
Join Date: Apr 2008
Location: Gainesville, FL
Old 04-30-2008 , 21:27   Re: Simple Developer
Reply With Quote #3

Damn, nice.
BOYSplayCS is offline
Veteran Member
Join Date: Jul 2006
Location: Germany (GMT+1)
Old 05-01-2008 , 09:19   Re: Simple Developer Version 2.0
Reply With Quote #4

Glad you like it! As a symbol of thanks I made an update.
Silencer123 is offline
Veteran Member
Join Date: Feb 2006
Old 05-04-2008 , 10:54   Re: Simple Developer Version 2.0
Reply With Quote #5

That's an awesome idea! I love it. I've seen it in some other game, but I'm glad you found a way to put it in HL.
stupok is offline
Veteran Member
Join Date: Aug 2005
Old 05-04-2008 , 17:38   Re: Simple Developer Version 2.0
Reply With Quote #6

Wow, really nice idea on the way you implemented the menu (kind of cumbersome though). I'm going to wait for user reports on how this works before any decision is made on approval.
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
Veteran Member
Join Date: Jul 2006
Location: Germany (GMT+1)
Old 05-06-2008 , 13:05   Re: Simple Developer Version 2.0
Reply With Quote #7

Thanks! Made another small update. And yes, it is a bit cumbersome, but people hold down that key for maybe 2 seconds every once in a while, so there's definitively no problem with that. I can't imagine a better way which would not take the smooth flow of the menu away. (instant reaction to input)
Silencer123 is offline
Junior Member
Join Date: Apr 2008
Old 05-11-2008 , 12:31   Re: Simple Developer Version 3.0
Reply With Quote #8

Always loved your work.
Noob Scripter - Going for Tutorials!
There are no stupid questions, only stupid people.
R1p.t3hsn1p3r is offline
Dr. Jan Itor
Veteran Member
Join Date: Mar 2008
Location: there.
Old 05-11-2008 , 16:16   Re: Simple Developer Version 3.0
Reply With Quote #9

nice work seems like a good plugin
Dr. Jan Itor is offline
Veteran Member
Join Date: May 2005
Location: galoreservers.net
Old 05-11-2008 , 22:16   Re: Simple Developer Version 3.0
Reply With Quote #10

can u make it into a pentagon form with 1 more added function. think would be cool looking like crysis.
yang is offline
Send a message via AIM to yang

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

Forum Jump

All times are GMT -4. The time now is 15:31.

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