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

CSDM Style Gun Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 09-19-2011 , 02:57   CSDM Style Gun Menu
Reply With Quote #1

CSDM Style Gun Menu
Version 0.0.9


Description:
For cz bot support Click Here. This was a request from Apollyon.
  • Simple gun menu with CSDM like options
  • Full Load-Out capability
  • Blocks Buyzones
  • Fully Customizable.
  • Options for unlimited ammo, Grenades, NVG's, armor.
  • Option to block Weapon Drops (Users cant use client command "drop")
  • Customizable Weapons list for Primary and Secondary weapons
  • Defuse Kits on bomb Maps
  • Optional strip (keep or remove the bomb)
  • Customizable Menu Titles

Installation:
  • Place the .txt files into addons/amxmodx/configs folder
  • Place the .amxx into addons/amxmodx/plugins folder
  • Add CSDM_Style_Gun_Menu.amxx to the bottom of your plugins.ini
  • Load the game up and play with the menu.
Cvars:
  • wm_mainmenutitle <Weapons Menu> - Main Menu Title
  • wm_primenutitle <Primary Weapons> - Primary Weapon Title
  • wm_secmenutitle <Secondary Weapons> - Secondary Weapon Title
  • amx_prefix_name <WM> - Chat Prefix (Plugin text)
  • wm_switch <1> - Turns plugin on and off. 0 = off
  • wm_blockdrop <1> - Blocks weapon drop. 0 = off
  • wm_henade <1> - Give HE nade? 0 = off
  • wm_flash <2> - Give Flash? 0 = off (number = amount given)
  • wm_smoke <1> - Give Smoke? 0 = off (number = amount given)
  • wm_armor <100> - Armor Amount. 100 = Vest Helm 100 value
  • wm_nvg <1> - Give NVGs? 0 = off
  • wm_unlimitedammo <1> - Unlimited Ammo? 0 = off
  • wm_stripmode <1> - Strip Mode. 1 = Strip and keep bomb. 2 = Strip everything including bomb.
  • wm_teammode <0> - Team For Gun Menu. 0 = Both, 1 = T Only, 2 = CT Only.
  • wm_fastswitch <1> - Fast switch on grenade throw 1 = switch to previous weapon 0 = dont switch
  • wm_czbotsupport <0> - CZ Bot Support (Requires Rage Module) 1 = cz support 0 = none
Commands:
  • amx_teammode <value> - The value to set the team. 0 = both teams get menu. 1 = T only. 2 = CT only
  • wmadminmenu- brings up the admin menu for the plugin (reuqires ADMIN_RCON)
  • say wmadmin - brings up the admin menu for the plugin (reuqires ADMIN_RCON)

Client Commands: Can be used in say and say_team
  • /guns, guns - Re-enables Gun Menu
Credits:
  • CSDM Dev Team - CSDM Gun Menu.
  • Connor - Fixing my buy zone blocker
  • Emp`- Array*String instead of Array*Array
Note: To alter the weapons list view the "DM_WeaponOrder.ini". Simply add a ';' in front of the line to disable that weapon. More detailed instructions located at the top of the file.

Weapon names are not case or space sensitive. However it needs to match the 'weapon_' name.
For Example:
weapon_glock18

the text in file can be written any of the following ways
Glock 18, GLOCK 18, glock 18, GlOcK 18, G l O c K 1 8

Change log:
0.0.1
First Beta Release
0.0.2
Bug Fixes:
  • Bomb defusers given to T's
  • Logic Errors
Removed dual file weapons list.
0.0.3
Minor bug fixes
Added a ton of comments.
0.0.4
Added Setting to allow you to select which team.
Small Bug fix.
0.0.5
Fixed bug for team specific menu/buyzone block. Thanks to conor.
Small Bug fixes.
Removed the green shopping cart when you don't have a buyzone.
Added a command to change the team that gets the menu. (restarts the round for you)
Now supports multiple he grenades.
0.0.6
[SIZE=2]Now has a menu to change the team that gets the menu also.
Once you are done selecting the team T,CT, or both. you must select the option Save and Exit.
0.0.7
New Cvar added check above.
Fixed runtime error for give_item

0.0.8
Fixed bot support. If you want to use this with cz bots. it requires the rage module and this rage addon
0.0.9
Fixed Linux Support
Added a cvar: wm_czbotsupport <Default: 0>
Attached Files
File Type: ini DM_WeaponOrder.ini (377 Bytes, 5625 views)
File Type: sma Get Plugin or Get Source (CSDM_Style_Gun_Menu.sma - 7845 views - 21.2 KB)

Last edited by Doc-Holiday; 03-03-2013 at 21:07. Reason: Update 0.0.9
Doc-Holiday is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 09-19-2011 , 17:33   Re: CSDM Style Gun Menu
Reply With Quote #2

FIRST UPDATE YAY!!!!!

0.0.2
Bug Fixes:
  • Bomb defusers given to T's
  • Logic Errors
Removed dual file weapons list.

To enable a specific weapon remove the semicolon at the front of the weapon name.
To disable a specific weapon place a semicolon.
Doc-Holiday is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 09-19-2011 , 18:46   Re: CSDM Style Gun Menu
Reply With Quote #3

If I understood, this is like CSDM but without respawning ?
it gives the CSDM features with cvars, yeah good idea .
__________________
ANTICHRISTUS is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 09-19-2011 , 19:24   Re: CSDM Style Gun Menu
Reply With Quote #4

Quote:
Originally Posted by ANTICHRISTUS View Post
If I understood, this is like CSDM but without respawning ?
it gives the CSDM features with cvars, yeah good idea .
Its just a gun menu with some added features Apo wanted it to create his own style of CSDM with out the big bulky restricted CSDM
Doc-Holiday is offline
XINLEI
me too
Join Date: Jun 2011
Location: Colombian Coffee storage
Old 09-19-2011 , 21:36   Re: CSDM Style Gun Menu
Reply With Quote #5

Can you set a custom price for each weapon?

would be awesome.
XINLEI is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 09-19-2011 , 21:43   Re: CSDM Style Gun Menu
Reply With Quote #6

Quote:
Originally Posted by XINLEI View Post
Can you set a custom price for each weapon?

would be awesome.
I believe conor already has a weapon price modifier but that is a different plugin then what this is for.

(Doesn't cost the player money. just gives the guns like CSDM)
Doc-Holiday is offline
XINLEI
me too
Join Date: Jun 2011
Location: Colombian Coffee storage
Old 09-19-2011 , 22:13   Re: CSDM Style Gun Menu
Reply With Quote #7

Quote:
Originally Posted by Doc-Holiday View Post
I believe conor already has a weapon price modifier but that is a different plugin then what this is for.

(Doesn't cost the player money. just gives the guns like CSDM)
well, i've asked this since that feature as never been on a custom buymenu.
can you add it or link me the connor's plugin?

Thanks in advance.
XINLEI is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 09-19-2011 , 22:28   Re: CSDM Style Gun Menu
Reply With Quote #8

Quote:
Originally Posted by XINLEI View Post
well, i've asked this since that feature as never been on a custom buymenu.
can you add it or link me the connor's plugin?

Thanks in advance.
i lied it was arkshine
https://forums.alliedmods.net/showpo...1&postcount=53
Doc-Holiday is offline
Fedde
BANNED
Join Date: Sep 2011
Old 09-19-2011 , 23:59   Re: CSDM Style Gun Menu
Reply With Quote #9

I must to change the map when I use this plugin,to disable the map objetive?

-btw-
Good job;)
Fedde is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 09-20-2011 , 00:03   Re: CSDM Style Gun Menu
Reply With Quote #10

Quote:
Originally Posted by Fedde View Post
I must to change the map when I use this plugin,to disable the map objetive?

-btw-
Good job;)
I dont remove objectives just an option to remove the bomb. and the cvar can be changed on the fly but will take effect after the next spawn(when it stripps)


and thanks!
Doc-Holiday is offline
Reply


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 11:26.


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