AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   CSDM Style Gun Menu (https://forums.alliedmods.net/showthread.php?t=167709)

Doc-Holiday 09-19-2011 02:57

CSDM Style Gun Menu
 
2 Attachment(s)
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>

Doc-Holiday 09-19-2011 17:33

Re: CSDM Style Gun Menu
 
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.

ANTICHRISTUS 09-19-2011 18:46

Re: CSDM Style Gun Menu
 
If I understood, this is like CSDM but without respawning ?
it gives the CSDM features with cvars, yeah good idea http://illiweb.com/fa/i/smiles/icon_smile.gif.

Doc-Holiday 09-19-2011 19:24

Re: CSDM Style Gun Menu
 
Quote:

Originally Posted by ANTICHRISTUS (Post 1559068)
If I understood, this is like CSDM but without respawning ?
it gives the CSDM features with cvars, yeah good idea http://illiweb.com/fa/i/smiles/icon_smile.gif.

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

XINLEI 09-19-2011 21:36

Re: CSDM Style Gun Menu
 
Can you set a custom price for each weapon?

would be awesome.

Doc-Holiday 09-19-2011 21:43

Re: CSDM Style Gun Menu
 
Quote:

Originally Posted by XINLEI (Post 1559143)
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)

XINLEI 09-19-2011 22:13

Re: CSDM Style Gun Menu
 
Quote:

Originally Posted by Doc-Holiday (Post 1559151)
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.

Doc-Holiday 09-19-2011 22:28

Re: CSDM Style Gun Menu
 
Quote:

Originally Posted by XINLEI (Post 1559157)
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

Fedde 09-19-2011 23:59

Re: CSDM Style Gun Menu
 
I must to change the map when I use this plugin,to disable the map objetive?

-btw-
Good job;)

Doc-Holiday 09-20-2011 00:03

Re: CSDM Style Gun Menu
 
Quote:

Originally Posted by Fedde (Post 1559201)
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!


All times are GMT -4. The time now is 03:53.

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