In fact, i still don't really understand, why was buy menu replaced with ammo pack menu in ZP?
Yes, weapons are given free in the beginning of the round, but still, it's no real difference between weapon choice menu and buymenu.
And ammopack menu itself...is a bit strange...it doesn't fit in CS.
So the idea is:
Remove ammopacks. (features in ZP)
Returen money. (features in ZP)
When old buymenu is called (default "B") - block old buymenu and show new buymenu - it's the request.
New buymenu is mostly the same as old one.
1 - same
2 - same
3 - same, but scout is also moved here.
4 - here comes the difference.
- galil
- famas
- ak47
- m4a1
- krieg 552
- bullpup (aug)
- awp
5 - autosnipers moved here.
- m249
- sg550
- g3sg1
- etc (bazooka, flamethrower)
6 - Ammo
7 - Zombies equipment
- Antidote
- Zombie Madness
- Infection gren
- etc (longjump, Nemesis, hp boost)
8 - Human equipment
- Antidote bomb
- Anti infection armor
- Frost nade
- Napalm nade
- Flare
- Nightvision
9 - rebuy
0 - exit
8 and 9 in sub-menus are restricted for listing, 0 for exit.
The cvars are needed:
- every item price. (0 means item is disabled.)
- buytime (It's not the same as mp_buytime. Read below.)
- buytime_pistols_modifer
- buytime_shotguns_modifer
- buytime_smallguns_modifer
- buytime_mediumguns_modifer
- buytime_bigguns_modifer
- buytime_ammo_modifer (0 means ammo buying is disabled - for unlimited ammo servers and super hardcore servers)
- buytime_nade_modifer (affects only frost, napalm and flare)
Here comes an interesting part. First n seconds of round (n=buytime) weapon price is x1. But after buytime is over weapon's price is multiplied by corresponding modifer (see above).
Example:
zp_buymenuprice_usp 500
zp_buymenuprice_mp5navy 1500
zp_buymenuprice_m4a1 3100
zp_buymenuprice_ak47 2500
zp_buymenuprice_m249 14000
zp_buytime 15
zp_buytime_pistols_modifer 3
zp_buytime_smallguns_modifer 3
zp_buytime_mediumguns_modifer 3
zp_buytime_bigguns_modifer 1
If you'll buy weapon in first 15 seconds usp will cost 500, mp5 1500, m16 3100, ak 2500 and mp249 14000. But after 15 seconds passed, usp will cost 1500, mp 4500, m16 9300 and ak 7500, yet mp249 price is unchanged and still 14000.
Also a feature needed: when you deal damage to enemy, you automatically earn 1/n $ of damage dealt.
zp_buymenu_damage_money_mod
zp_buymenu_infect_money_bonus
For example:
zp_buymenu_damage_money_mod 5
With awp you deal 100 damage => +20$.
With awp you deal 440 dmg => + 110$.
With ak47 you deal 30 dmg => +6$.
Well, the same thing was with ammo pack.
So here it is. This will make weapon and equipment buying almost like old-cs. I hope someone can make a plugin like this.