[ZP] Addon: Counter-Strike like Buymenu for Zombie Plagie!
3 Attachment(s)
Warning This plugin is for Zombie Plague Mod, so there is no difference between T's and CT's buymenu + free buyzone. Also, sorry for bad english. Plugin Status: release! Current version: 1.7 Last updated: 22.12.2010 (22nd December 2010) Description This plugin replaces default Zombie Plugins weapons menu with customizable, CS-like buymenu. You can customize it any way you want - you can sell extra-items in rifles submenu, you can sell Antidote bomb human equipment menu, you can do whatever you want! You can set price and name of item without server restart! Just restart round! It also includes some gameplay features, like no death penalty (no death score) for zombies when they die, kill assist for both humans and zombies (infection assist included!) and rounded frags/money bonuses/penalties. You can disable any of this though. So, what you will get by installing this plugin? 1) Completely customizable buymenu! http://xmages.net/out.php/t149025_1.jpghttp://xmages.net/out.php/t149035_1.jpg 2) You'll earn cash by shooting zombie, and cash rate is either customizable! http://xmages.net/out.php/t149020_1.jpg 3) Adding new extra item never was so easy! Simply add extra item name in "todo" param! Example: Quote:
don't forget to add zp_extra_lasermine.amxx in your plugins-zplague.ini! 4) mp_buytime affects weapon price! You can set multipers for any weapons! For example, my rifle multiplers is 3, so in the beginning of round you can see this http://xmages.net/out.php/t149030_1.jpg but later - this http://xmages.net/out.php/t149031_1.jpg 5) Tired of zombs cowardly camping like chiсkenpussies all the round long? Do you ever thought WHY they are doing this? Well, here is the answer: a) they will ruin their stats because of dying. b) when round ends, nothing happens anyway. so blaaah...let's just camp and wait till humans will come out of their hideout, right, my rotten fella? But this plugin solves both of this problems! When round ends, if it's a "Draw" roundend, zombie will get some frags/deaths penalty and humans will get some bonus frags! And, ofcourse, $$$ bonuses/penalties. And also by setting zp_cs_zombie_nodeathscore 1 you can disable death count for zombies when they are killed by humans! So there is no more reason to camp for zombs anymore: died? DON'T CARE!! But better care about round results... It also boosts teamplay. http://xmages.net/thumb/thumb_c114e8b7.jpg Just try it, you'll like it! Please, give me your feedback! Don't forget to edit Code:
zp_buy_custom 0 CVARS List
Howto Main buymenu has 7 submenus:
Each of this Submenus generated with zp_cs_buymenu.cfg: zp_cs_buymenu_<submenu><number>_<param> Example: Quote:
<param> strings are:
Cost is item price in $$$ todo is a function name to execute, if item was successfully bought. If you want to add an extra-item to buymenu, open your zp_extraitems.ini and copy extra-item name that in square breaks [ ] and then paste it in todo in zp_cs_buymenu.cfg! Example: Code:
zp_cs_buymenu_equiph07_name "/yThe Radar Scanner" //name that will appear in the zp-cs-buymenu Simply replace weapon_ with zp_cs_buy_ example: weapon_g3sg1 -> zp_cs_buy_g3sg1, so, to buy g3sg1 you must add Quote:
for example, you add: Quote:
Code:
1. Glock
An external tool (.exe file) for easy editing zp_cs_buymenu.cfg will be uploaded soon! Don't forget to put zp_cs_buymenu.cfg in cstrike\addons\amxmodx\configs\ folder and zp_cs_buymenu.txt in your cstrike\addons\amxmodx\data\lang\ folder ! |
Re: [ZP] ZP_CS_Buymenu
omg, post it under the zombie subforum :S
|
Re: [ZP] ZP_CS_Buymenu
Quote:
Quote:
|
Re: [ZP] ZP_CS_Buymenu
Yes, code needs a LOT of optimization, but it's only 1.0
Ammo changes: Amount is amount of ammo being bought at once, not weapon clip amount or max weapon ammo. 228compact cost 50 -> 30 elites cost 20 -> 50 fiveseven amount 50 -> 20, cost 50 -> 20 scount amount 30 -> 10, cost 80 -> 25 m249 para amount 30 -> 50, cost 60 > 95 krieg 550 autosniper cost 60 -> 85 g3sg1 autosniper amount 30 -> 20 In 1.1 the following cvars will be present: zp_cs_buytime_<submenu>_multiper - after buytime had passed all item's price in submenu will be multipled by a cvar value. submenus are:
Grenades will affect nades and flare price in any submenu, not affecting anything other. Same about ammo. I don't think human and zombie equipment (antibomb, antidote, zombie madness, infect gren) need afterbuytime multiplers...if you think they need, let me know. zp_cs_income_cash_rate - for now it's a float constant set to 1.0, but in next version it will be a cvar. When you deal damage to zombie you automatically earn damage*zp_cs_income_cash_rate money. If 0 - it's disabled. Also it will be affected by zp_zombie_armor. Known bug: sometimes, when you kill zombie you get -300$ instead of +300$ - as the result, if you had more than 16000$ it resets to 16000. When you buy anything same thing happends. Will be fixed in 1.2 |
Re: [ZP] ZP_CS_Buymenu
Why all the tabs on lines 44 through 59? Looks like chaos :).
|
Re: [ZP] ZP_CS_Buymenu
|
Re: [ZP] ZP_CS_Buymenu
This is what I see (no line wrapping either :))
http://www.beougher.com/nathan/amx/t...zp.jpg&max=200 |
Re: [ZP] ZP_CS_Buymenu
nice idea mate
|
Re: [ZP] ZP_CS_Buymenu
Armor, nightvision and cvar to change income cash rate will be ready by tomorrow.
|
Re: [ZP] ZP_CS_Buymenu
Plugin Status: Release!
And so and so, it's ready!So, what you will get by installing this plugin? 1) Completely customizable buymenu! 2) You'll earn cash by shooting zombie, and cash rate is either customizable! 3) Adding new extra item never was so easy! Simply add plugin name in "todo" param! Example: Quote:
don't forget to add zp_extra_lasermine.amxx in your plugins-zplague.ini! 4) mp_buytime affects weapon price! You can set multipers for any weapons! Please, give me your feedback! |
All times are GMT -4. The time now is 10:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.