AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Superweapon - M4withM203 Edition(2007-3-4 update) (https://forums.alliedmods.net/showthread.php?t=51086)

Ryu2877 02-11-2007 06:45

Superweapon - M4withM203 Edition(2007-3-4 update)
 
6 Attachment(s)
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!

Alka 02-11-2007 07:27

Re: Superwepon - M4withM203 Edition
 
I must try this out! Sound Cool! Gj :wink:

godlike 02-11-2007 08:00

Re: Superwepon - M4withM203 Edition
 
Nice plugin. good job

Hawk552 02-11-2007 08:14

Re: Superwepon - M4withM203 Edition
 
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.

Morpheus759 02-11-2007 08:33

Re: Superwepon - M4withM203 Edition
 
Nice !!! Now j go to test this.:D:D:D

Alka 02-11-2007 10:03

Re: Superwepon - M4withM203 Edition
 
I Test this plugin!:) Is super! NO BUG FOUND!...yet! every thing it's working!:wink: 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! :lol:

Sugestion:
Code:


1.Add a laser_beam to aim!
2.Fix that little bug!


Morpheus759 02-11-2007 10:14

Re: Superwepon - M4withM203 Edition
 
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 !!

Phantom Warrior 02-11-2007 10:17

Re: Superwepon - M4withM203 Edition
 
Nice work:

HAWK: Tested and worked fine, no bugs.

redx6580 02-11-2007 12:49

Re: Superwepon - M4withM203 Edition
 
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?

Alka 02-11-2007 12:55

Re: Superwepon - M4withM203 Edition
 
try to use amx_sw_set 2! And try here =>> SW_MaxAmount_CT /T 10 less than 32! ;)

Howdy! 02-11-2007 14:34

Re: Superwepon - M4withM203 Edition
 
(ban this user)

Deviance 02-11-2007 14:42

Re: Superwepon - M4withM203 Edition
 
Nice! :up: <too short>

Zenith77 02-11-2007 19:42

Re: Superwepon - M4withM203 Edition
 
The only thing that needs fixing is the English lol. At of all the plugins that come through here, I'm actually tempted to download this and pwn some bots with this ;).

Da_sk8rboy 02-11-2007 22:11

Re: Superwepon - M4withM203 Edition
 
lol^ @ Zenith's post! Yeah dude, you spelled reloading wrong. So far on that screenshot.

Ryu2877 02-11-2007 23:12

Re: Superwepon - M4withM203 Edition
 
Thanks every one!

modify a mistake on line 1089~1090
Code:

//engfunc(EngFunc_RemoveEntity, pev(ptr, pev_SwNade_HurtEnt_i))
//set_pev(ptr, pev_SwNade_HurtEnt_i, 0)

to(line 1163~1164):
Code:

engfunc(EngFunc_RemoveEntity, pev(ptr, pev_SwNade_HurtEnt_i))
set_pev(ptr, pev_SwNade_HurtEnt_i, 0)

and modify the "reloading" English word, so sorry for my bad English!

lhrcap 02-12-2007 01:34

can i rest gas granade?
 
gas granade = laggy...

so

i want to rest gas granade!

can i ?

lhrcap 02-12-2007 01:59

Re: Superwepon - M4withM203 Edition
 
can i only buy that _ > only buy zone+ buy time m4a1+m203?

Alka 02-12-2007 08:13

Re: Superwepon - M4withM203 Edition
 
It's Working perfectly! 2 problems:
* I give me an weapon[CT] next i give a weapon to a T and it's strip my weapon because the maxim of SUPER-WEAPONS but If i give me again it's working! my CVAR-S
PHP Code:

SW_MaxAmount_TE 2 //max amount of terrorists can holded m4 with m203
SW_MaxAmount_CT 2 //max amount of cts can holded m4 with m203 

* When i strip a player Super-Weapon he is remaining the default M4A1! ;)

Ryu2877 02-12-2007 21:13

Re: Superwepon - M4withM203 Edition
 
Thanks very much!
Quote:

Originally Posted by Alka (Post 438965)
It's Working perfectly! 2 problems:
* I give me an weapon[CT] next i give a weapon to a T and it's strip my weapon because the maxim of SUPER-WEAPONS but If i give me again it's working!

when admin give anyone superweapon, system will strip firstly someone's weapon if it is max weapons. So when you give weapon yourself again, someone(the "T" or other) must been strip early.

Quote:

Originally Posted by Alka (Post 438965)
* When i strip a player Super-Weapon he is remaining the default M4A1! ;)

Yes, this plugin's "strip" means strip someone's "superweapon", not primary weapon. By this, if you give someone superweapon when it's max amount of superweapon, the one who been striped will hold the primary weapon for keep relative equity.

Ryu2877 02-12-2007 21:32

Re: Superwepon - M4withM203 Edition
 
Quote:

Originally Posted by lhrcap (Post 438894)
can i only buy that _ > only buy zone+ buy time m4a1+m203?

I use this spawn mode of superweapons just for equity and fun. When any team has not money, the team member still can hold superweapon & means they has chance for win. furthermore, many servers use "unlimited money" plugin, this made "buy" something been bored.

jopmako 02-13-2007 01:11

Re: Superwepon - M4withM203 Edition
 
well done.

Morpheus759 02-13-2007 11:29

Re: Superwepon - M4withM203 Edition
 
Please give it too Approved Plugins

Alka 02-13-2007 11:50

Re: Superwepon - M4withM203 Edition
 
you can add =>>
Code:

*An cvar to override the default M4A1!
*An cvar to permit all can buy a super-weapon if you have SW_SpawnMode 0 ! Also an cvar to set price! GJ again! ;)


lhrcap 02-13-2007 22:44

Re: Superwepon - M4withM203 Edition
 
Quote:

Originally Posted by Ryu2877 (Post 439285)
I use this spawn mode of superweapons just for equity and fun. When any team has not money, the team member still can hold superweapon & means they has chance for win. furthermore, many servers use "unlimited money" plugin, this made "buy" something been bored.

any way...

i want to buy that buy zone... + buytime setting...


please help...:shock::cry:

imported_RedDragon 02-14-2007 14:10

Re: Superwepon - M4withM203 Edition
 
man i installed that and its work good for me bat when my friends enter the server they have eror when they try to lunch grande help..?

gjivan72 02-14-2007 16:01

Re: Superwepon - M4withM203 Edition
 
Going to go try it. For the guy that posted above me post some details about the error amd possibliy plugins/meta list and amxx version.

lhrcap 02-14-2007 23:41

Re: Superwepon - M4withM203 Edition
 
Quote:

Originally Posted by gjivan72 (Post 440266)
Going to go try it. For the guy that posted above me post some details about the error amd possibliy plugins/meta list and amxx version.

you mean create buy m203???

this mod??:shock:

Ryu2877 02-15-2007 01:18

Re: Superwepon - M4withM203 Edition
 
Quote:

Originally Posted by imported_RedDragon (Post 440209)
man i installed that and its work good for me bat when my friends enter the server they have eror when they try to lunch grande help..?

thanks for the feedback. can you post the error info of you friend or in server console or log file? thanks.

imported_RedDragon 02-15-2007 07:54

Re: Superwepon - M4withM203 Edition
 
http://img259.**************/my.php?i...ntitledvg9.jpg

Ryu2877 02-15-2007 23:44

Re: Superwepon - M4withM203 Edition
 
1 Attachment(s)
Quote:

Originally Posted by imported_RedDragon (Post 440586)

I thinks it's not the problem of this plugin, it seen to be your friend's system issue ( run short of some file of dynamic link libraries), thanks.

Vegetaz 02-16-2007 03:13

Re: Superwepon - M4withM203 Edition
 
wow, sounds good, im going to try it right now :)))

Deepcho 02-16-2007 10:19

Re: Superwepon - M4withM203 Edition
 
WoW.. it rock ! :)))

But can you add one cvar... all can buy this weapon.. i don't like the spawn mod and my friends.. thanks

PS: i don't speak verry well english, so excuese me :oops:

imported_RedDragon 02-18-2007 16:10

Re: Superwepon - M4withM203 Edition
 
Quote:

Originally Posted by Deepcho (Post 441108)
WoW.. it rock ! :)))

But can you add one cvar... all can buy this weapon.. i don't like the spawn mod and my friends.. thanks

PS: i don't speak verry well english, so excuese me :oops:

its a good idea!!!
man i can be so cool if ppl will can to buy it and add more cool things to the buy menu somethig like cniper scope to hat m3 it can be cool..

violentcrimes 02-18-2007 17:02

Re: Superwepon - M4withM203 Edition
 
can you make it like the mp5 mod where you have to buy the nades and anyone can do it? not auto spawn with them

Ryu2877 03-04-2007 05:09

Re: Superwepon - M4withM203 Edition
 
Quote:

Originally Posted by Alka (Post 439595)
you can add =>>
Code:

*An cvar to override the default M4A1!
*An cvar to permit all can buy a super-weapon if you have SW_SpawnMode 0 ! Also an cvar to set price! GJ again! ;)


Update, thanks!

Alka 03-04-2007 05:26

Re: Superweapon - M4withM203 Edition(2007-3-4 update)
 
Thanks...Gj!Now is more useful..! :)

sprintboy 03-04-2007 08:20

Re: Superweapon - M4withM203 Edition(2007-3-4 update)
 
this is gonig to be sweet on my serverz!

aim54x 03-19-2007 02:05

Re: Superweapon - M4withM203 Edition(2007-3-4 update)
 
Have had a little trouble getting to this plugin installed. does it work with amx mod x 1.71?

can you post up instructions on where to put the cvars, is it cvars?, and commands, amxx or cmds?

sorry i am very noob with amxx

this plugin sounds like it is everything that i have ever wanted in CS

sGueko 04-26-2007 10:42

Re: Superweapon - M4withM203 Edition(2007-3-4 update)
 
Very nice plugins!!

He don't work with CSDM ??

Violative 04-30-2007 00:12

Re: Superweapon - M4withM203 Edition(2007-3-4 update)
 
My server keeps crashing when someone dies. I dont know when it happens, but it happens form time to time.



http://www.proteamclan.com


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

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