AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Mp5+M203 Replacement (https://forums.alliedmods.net/showthread.php?t=7189)

PaintLancer 10-29-2004 15:50

Mp5+M203 Replacement
 
1 Attachment(s)
This Plugin replaces the Mp5 with a Mp5 with a grenade launcher on it

Requires: fakemeta, engine, cstrike

Use: After someone buys the mp5 all the have to do is buy m203 nades by
buying normal HE grenades and use secondary fire to shoot. There is a number on the left of the hud that will show how many grenades you currently have.

Sounds for the launcher i took from Ghost Recon
Sprite is from DoD

Cvars:
amx_m203cost (default 300) //cost for nade
amx_m203ammo (default 2) //ammo limit for backpack
amx_m203conc(default 10.0) //force of knockback
amx_m203trail(default 1) //nade trails
amx_m203rad(default 200) //radius of dmg
amx_m203dmg(default 75) //dmg
amx_crazynade (default 0) //makes nades bounce off all walls with perfect elasticity until it hits an entity or player...can get crazy

Devilion 10-29-2004 16:35

This sounds really cool, I'll try it tomorrow!

Levorto 10-29-2004 18:36

Very nice job! A really cool addon to the MP5...
Already a regular for my server :P

rex 10-29-2004 20:13

sounds readly good, will test it out. good job mate :up:

Kamikaze 10-30-2004 03:43

Works great, refering to this settings in the plugin:

Code:

register_cvar("amx_m203ammo","2")  //ammo limit for backpack
Can I set this over 2, when I do it has no effect but setting either 0, 1, or 2 will work. Is that possible to fix?

Other than that, this plugin works flawless and this gives the MP5 a new exciting feature that players seem to enjoy so far.

martinrb 10-30-2004 04:25

why dont u use the standard halflife mp5-grenade sounds?
everyone who plays cs must have hl installed.
this would be cool since players dont have to download anything.
you get my point?

AssKicR 10-30-2004 08:03

Quote:

Originally Posted by Kamikaze
Works great, refering to this settings in the plugin:

Code:

register_cvar("amx_m203ammo","2")  //ammo limit for backpack
Can I set this over 2, when I do it has no effect but setting either 0, 1, or 2 will work. Is that possible to fix?

Other than that, this plugin works flawless and this gives the MP5 a new exciting feature that players seem to enjoy so far.

i put it too 99 and the limit became 99... NADE WAR :D.. worked fine :)

PS: Plugin = Pure Pwnage

Devilion 10-30-2004 08:20

Tried it and it worked flawless, also in combination with War3FT mod!!

Thx for this mod mate! (gave it a 5)

PaintLancer 10-30-2004 11:56

Quote:

Originally Posted by martinrb
why dont u use the standard halflife mp5-grenade sounds?
everyone who plays cs must have hl installed.
this would be cool since players dont have to download anything.
you get my point?

In my opinion these sounds are much nicer, but if you want I could do a version with the old half life sounds and sprite for that matter. I had tried to use the old half life model as well but the animations are off for cs and gets stuck left handed. For the player and world models i did use the half life models.. I tried to keep the downloading to a mininum but wanted some better quality than the norm.

Thx for the good feedback guys :o

Kamikaze 10-30-2004 13:10

Ok I guess that setting does work, nm about that.

I am getting this runtime error in my logs:

L 10/30/2004 - 05:57:45: [AMXX] Native error in "entity_get_int" on line 123 (file "mp5_mod.sma").
L 10/30/2004 - 05:57:45: [Engine] Invalid player 1 (not in-game)

Here's the code on line 123:

Code:

if (entity_get_int(id, EV_INT_button) & IN_ATTACK2)


All times are GMT -4. The time now is 06:15.

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