Raised This Month: $ Target: $400
 0% 

SourceMod Menu Generator (C# / .NET 2.0) (v1.0.0.1, 2013/04/05)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 01-24-2013 , 14:40   SourceMod Menu Generator (C# / .NET 2.0) (v1.0.0.1, 2013/04/05)
Reply With Quote #1

One thing I see a lot in SourceMod is plugin developers having trouble making menus for their plugins.

I saw the AMXX Menu Generator and it inspired me. If someone can create an AMXModX menu generator, why can't someone make a SourceMod Menu Generator?

So I did!







It's written in C# using Visual Studio 2010, but targets the .NET 2.0 framework rather than 4.0. Source code is licensed under GPLv3.

Special things:
  • Only menu items that are selectable will show up in the MenuAction_Select area.
  • Menu items marked No Text or Spacer will not show up in the MenuAction_DisplayItem area.
  • return 0; is added if Item Translation or Override Draw Styles is added. This prevents a compiler warning.
To do list:
  • Add support for Vote menus.
  • Errors need to be presented better.
  • Make comments optional in generated code
  • Improve UI
  • Make a real program icon instead of the generic "Visual Studio Program" icon.
Attached Files
File Type: zip SourceMod Menu Generator Installer.zip (208.2 KB, 1368 views)
File Type: zip SourceMod Menu Generator Source.zip (36.9 KB, 675 views)
File Type: zip SourceMod Menu Generator Program Only.zip (11.9 KB, 1530 views)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 07-04-2013 at 15:21.
Powerlord is offline
 



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 04:36.


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