AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   [ZP] Extra Item : Superweapon M4 + M203 (https://forums.alliedmods.net/showthread.php?t=83552)

Fry! 01-11-2009 13:07

[ZP] Extra Item : Superweapon M4 + M203
 
[ZP] Extra Item : Superweapon M4 + M203
( weapon for Humans )
by Fry!


Description :

This plugin supply a sort of special weapon : M4A1 with M203 grenade launcher. The M203 can launch 2 type of grenades: He-grenade & Gas-grenade. He-grenade can hurt players spang with blast damage & Gas-grenade hurt player who touch the "gas".

Cvars :
Quote:

  • zp_m203_cost "33" - How much M4 + M203 will cost.
  • zp_m203_extra_ammo_packs "2" - How much extra ammo packs you will get after killing zombie.
  • ZP_MaxAmount_TE "5" - Max amount how much T's can hold M4+M203.
  • ZP_MaxAmount_CT "5" - Max amount how much CT's can hold M4+M203.
  • ZP_GrenadeRT "3.0" - Grenade reload time.
  • ZP_HeGrenadeMD "250" - 40mm he grenade max damage.
  • ZP_HeGrenadeDR "500" - 40mm he grenade damage radius.
  • ZP_HeGrenadeMC "2" - 40mm he grenade's max amount can been took.
  • ZP_HeGrenadePR "500" - 40mm he grenade's price in $.
  • ZP_GasGrenadeMD "350" - 40mm gas grenade max damage.
  • ZP_GasGrenadeDR "235" - 40mm gas grenade damage radius.
  • ZP_GasGrenadeMC "2" - 40mm gas grenade's max amount can been took.
  • ZP_GasGrenadePR "500" - 40mm gas grenade's price in $.
  • ZP_SpawnMode "0"
//"0" means superweapon never spawn but can been buy by client command, (admin still can give it to any player by admin command)
//"1" means auto, superweapon will auto spawn in general maps
//"2" means superweapon will auto spawn in all type of maps
  • ZP_M4StripMode "0"
//"0" means only strip superweapon(still keep default m4a1)
//"1" means strip the holder's superweapon & default m4a1.


Commands :


You can also buy this weapon through chat command :
say /buy_m203 or say_team /buy_m203

Credits :
  • CZ*Ryu - For his M4 with M203 mod
  • VEN & more - For helping CZ*Ryu create this mod.
Model maker:
Ankalar, CJ, TinSoldier, S7ok3, Dirtball, Pr0d!gy, Ritual, Rob O, Jennifer!!, SureShot, Nightshade, Sas.stu, -X-, Vunsata.

Changelog :

Code:

xx/xx/2008 - v0.1 - just created for zombie plague with lots of bugs.
10/01/2009 - v0.6 - removed fun and amxmisc module, added 2 cvars, cleaned code, removed lots of unnecessary code, fixed weapon couldn't buy at all.

Plugin is available to download here!

AlejandroSk 01-11-2009 14:02

Re: [ZP] Extra Item : Superweapon M4 + M203
 
very nice

MasI_cs 01-11-2009 19:59

Re: [ZP] Extra Item : Superweapon M4 + M203
 
nice.testing

vincentsls 01-12-2009 01:27

Re: [ZP] Extra Item : Superweapon M4 + M203
 
haha finally its done :X its worth the wait though :D testing now :o


Edit:Found some bugs like the grenade bouncing after launching of first one e.g, i set the he grenade count to 5 but after i fired the first one which exploded the other 4 grenades started to bounce around the whole map o.o and also the m4a1 with the m203 seems to be defaulted back to the normal 1 after 1 round o.o and if u are still holding a weapon in ur hand it wont replace also and i wasted my ammo packs for that D: neway hope u can fix them soon hope i helped :D

mrkun 01-12-2009 03:17

Re: [ZP] Extra Item : Superweapon M4 + M203
 
is it for Zombie Plague ??? i tested and zombie can pick up it and ... lauch nade T_T

Fry! 01-12-2009 04:43

Re: [ZP] Extra Item : Superweapon M4 + M203
 
Quote:

Originally Posted by vincentsls (Post 742597)
haha finally its done :X its worth the wait though :D testing now :o


Edit:Found some bugs like the grenade bouncing after launching of first one e.g, i set the he grenade count to 5 but after i fired the first one which exploded the other 4 grenades started to bounce around the whole map o.o and also the m4a1 with the m203 seems to be defaulted back to the normal 1 after 1 round o.o and if u are still holding a weapon in ur hand it wont replace also and i wasted my ammo packs for that D: neway hope u can fix them soon hope i helped :D

Yes I will look into it, and yea probably I misted some places to add if you already had this weapon, um but I don't know about bouncing lol...

and what do you mean by that :
Quote:

and also the m4a1 with the m203 seems to be defaulted back to the normal 1 after 1 round o.o
Quote:

Originally Posted by mrkun (Post 742624)
is it for Zombie Plague ??? i tested and zombie can pick up it and ... lauch nade T_T

Can't you read at all? And thanks for tell this bug.

vincentsls 01-12-2009 05:31

Re: [ZP] Extra Item : Superweapon M4 + M203
 
i meant is that when its still a super weapon the next round lets say i keep my selection remembered as a ak47 when i get my new ak47 my super weapon will become back to the defaulted m4a1

Fry! 01-12-2009 05:40

Re: [ZP] Extra Item : Superweapon M4 + M203
 
Okay I will need to test it bit longer...

roadrage 01-12-2009 14:24

Re: [ZP] Extra Item : Superweapon M4 + M203
 
this seems like a cool weapon....now i uploaded stuff to my server but it wont show up on the extra menu? Did I miss antyhign here? All help is greatly appreciated. Thanks

Fry! 01-12-2009 15:02

Re: [ZP] Extra Item : Superweapon M4 + M203
 
Yes, weapon won't show in Your extra item menu if you have more than 30 extra items on your server.


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

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