Raised This Month: $94 Target: $400
 23% 

Superweapon - M4withM203 Edition(2007-3-4 update)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   sawce (9)
Ryu2877
Member
Join Date: Sep 2006
Location: China
Old 02-11-2007 , 07:45   Superweapon - M4withM203 Edition(2007-3-4 update)
Reply With Quote #1

M4 with M203

-----------------------------------------------------
2007-3-4 v0.4 update content:

Note: v0.4 is not an approved edition by amxx approver for the moment.

1.When superweapon spawn mode is "0"(not spawn), players can buy the sw by command;

2.add a CVAR for keep or not default m4 When admin strip players's sw


add 1 CVAR & 1 client command,

CVAR:

SW_M4StripMode 0 //
//"0" means only strip superweapon(still keep default m4a1)
//"1" means strip the holder's superweapon & default m4a1

SW_M4Price 8000 //m4 with m203's price

Command:

When sw spawn mode is "0", player type "say /buyswm4" can buy sw by certain condition

-----------------------------------------------------

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".

-----------------------------------------------------------------------
Modul & Require:

<amxmisc>
<cstrike>
<fakemeta>

-----------------------------------------------------------------------
CAVR:

SW_SpawnMode 0|1|2 //define superweapon spawn mode,
//"0" means superweapon never spawn, (admin still can give it to any player by admin command)
//"1" means auto, superweapon will auto spawn in general maps(DE|CS|AS|ES)
//"2" means superweapon will auto spawn in all type of maps

SW_MaxAmount_TE 3 //max amount of terrorists can holded m4 with m203

SW_MaxAmount_CT 3 //max amount of cts can holded m4 with m203

SW_GrenadeTK 0|1 //40mm hegrenade team kill,"0" is secundum server's rule, "1" is TK in any case

SW_GrenadeRT 3.0 //grenade reload time

SW_HeGrenadeMD 100 //40mm he grenade max damage

SW_HeGrenadeDR 400 //40mm he grenade damage radius

SW_HeGrenadeMC 3 //40mm he grenade's max amount can been carried

SW_HeGrenadePR 500 //40mm he grenade's price

SW_GasGrenadeMD 100 //40mm gas grenade max damage

SW_GasGrenadeDR 100 //40mm gas grenade damage radius

SW_GasGrenadeMC 1 //40mm gas grenade's max amount can been carried

SW_GasGrenadePR 500 //40mm gas grenade's price

-----------------------------------------------------------------------
Command:

1.Admin command(ADMIN_IMMUNITY): give or strip player's superweapon

amx_sw_m4 <#id | name> <give | strip>

{<#playerindex|name(can be partial)> <g(means give M4A1/W M203)|s(means strip target's superweapon if he has>}


2.Admin command(ADMIN_IMMUNITY): change superweapon mode

amx_sw_set <0 | 1 | 2>

"0" means stop SW mode(also strip all sw)
"1" means start it by CVAR(SW_SpawnMode)'s setting
"2" means start anywise


3.Player command: open superweapon menu
When player's Current weapon is "superweapon", press "spray key" will openning menu of grenade setting,

menu include:

(1).Switch current grenade type to he-grenade
(2).Switch current grenade type to gas-grenade
(3).Setting|Offload muffler
(4).Buy he-grenade
(5).Buy gas-grenade


4.Fire grenade:

press "+attack2" key to launch grenade


-----------------------------------------------------------------------
About the superweapon spawn:

Generally(can change by CVAR or Admin), superweapons will spawn after 1th round, stochastic
locality in map, with specifically amount(by CVAR setting).


-----------------------------------------------------------------------
Credit:

code and more:

VEN & more...

model maker:

Ankalar, CJ, TinSoldier, S7ok3, Dirtball, Pr0d!gy, Ritual, Rob O, Jennifer!!, SureShot, Nightshade, Sas.stu, -X-, Vunsata & more...

----------------------------------
Sorry for my bad English!
Attached Thumbnails
Click image for larger version

Name:	gas.jpg
Views:	17226
Size:	88.1 KB
ID:	13785   Click image for larger version

Name:	bloody1.jpg
Views:	26535
Size:	37.9 KB
ID:	13787   Click image for larger version

Name:	spawn.jpg
Views:	21164
Size:	20.5 KB
ID:	13789  
Attached Files
File Type: rar model&other.rar (1.94 MB, 19010 views)
File Type: sma Get Plugin or Get Source (M4withM203.sma - 10365 views - 63.6 KB)
File Type: sma Get Plugin or Get Source (M4withM203_v0.4.sma - 9126 views - 66.0 KB)

Last edited by Ryu2877; 03-04-2007 at 06:14. Reason: Update to v0.4
Ryu2877 is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 02-11-2007 , 08:27   Re: Superwepon - M4withM203 Edition
Reply With Quote #2

I must try this out! Sound Cool! Gj
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
godlike
Senior Member
Join Date: Apr 2005
Old 02-11-2007 , 09:00   Re: Superwepon - M4withM203 Edition
Reply With Quote #3

Nice plugin. good job
__________________
Read the rules before posting something stupid: click here

Any questions about amxx PM me
godlike is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 02-11-2007 , 09:14   Re: Superwepon - M4withM203 Edition
Reply With Quote #4

Nice, when I saw the title, I thought "ugh, another plugin to unapprove", but it's actually pretty well coded and unique.

We'll just have to wait for a response basically saying "it works" for it to be approved.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Morpheus759
BANNED
Join Date: Feb 2007
Location: Poland
Old 02-11-2007 , 09:33   Re: Superwepon - M4withM203 Edition
Reply With Quote #5

Nice !!! Now j go to test this.
Morpheus759 is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 02-11-2007 , 11:03   Re: Superwepon - M4withM203 Edition
Reply With Quote #6

I Test this plugin! Is super! NO BUG FOUND!...yet! every thing it's working! One thing i don't test The CVAR-s!

EDIT:I found Something!
PHP Code:
When I strip Players Weapon in hand remain default m4a1
Later EDIT: Tested Cvar-S Works!

*It's make a little LAG why?
*What I like at this plugin ) when the weapons are spawn is jumping and run from you!

Sugestion:
Code:
 
1.Add a laser_beam to aim! 
2.Fix that little bug!
__________________
Still...lovin' . Connor noob! Hello

Last edited by Alka; 02-11-2007 at 13:55.
Alka is offline
Old 02-11-2007, 11:14
Morpheus759
This message has been deleted by Morpheus759. Reason: 2 razy taki same
Morpheus759
BANNED
Join Date: Feb 2007
Location: Poland
Old 02-11-2007 , 11:14   Re: Superwepon - M4withM203 Edition
Reply With Quote #7

Hmm j test this 20 min agoand THIS IS AMAIZING!.

Quote:
When I strip Players Weapon in hand remain default m4a1!
Yes in my serwer too is this bug.

Fix this please!

But this is Nice !!
Morpheus759 is offline
Phantom Warrior
BANNED
Join Date: Feb 2007
Location: hello, gaben
Old 02-11-2007 , 11:17   Re: Superwepon - M4withM203 Edition
Reply With Quote #8

Nice work:

HAWK: Tested and worked fine, no bugs.
Phantom Warrior is offline
redx6580
Senior Member
Join Date: Nov 2005
Location: New Jersey
Old 02-11-2007 , 13:49   Re: Superwepon - M4withM203 Edition
Reply With Quote #9

Tested, everything works fine. Except for this one thing that was bothering me.
I set
SW_SpawnMode 0
amx_sw_set 1
And the
SW_MaxAmount_CT 32
SW_MaxAmount_TE 32
And each time i try to give it to two plays, no matter what team it strips it from the both of them saying the teamlimit is over.
Any ideas?
__________________
-LJ
[img]http://img252.**************/img252/3553/sig2wq7.jpg[/img]
Karma is nothing, calm down and stop acting like it's important.
redx6580 is offline
Send a message via AIM to redx6580 Send a message via MSN to redx6580
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 02-11-2007 , 13:55   Re: Superwepon - M4withM203 Edition
Reply With Quote #10

try to use amx_sw_set 2! And try here =>> SW_MaxAmount_CT /T 10 less than 32! ;)
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:05.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode