PDA

View Full Version : [Subplugin Submission] [ZP] Gas Nade (update 10.05.2009)


CHyCMyMpNk
11-10-2008, 13:47
[ZP] Gas Nade
(ability for human)
http://forums.alliedmods.net/showthread.php?t=822
by RichoDemus/AssKicR/T(+)rget
edit by ConnorMcLeod edit by rolex & edit for ZP by me .

Description :
I more than am sure that not at all complete darkness costs on servers .And this addition will help you to replace a grenade Flare on GasNade ( carbon monoxide ). What plugin worked you it is necessary to clean tuning in zombieplague.cfg this :
// Custom Grenades
zp_flare_grenades 1 // Enable flare grenadesOn this :
zp_flare_grenades 0 // Disable flare grenadesIf a zombiе will be in to the smoke - his HP will be taken away and all of it will be accompanied sounds .

Tuning :
zp_gasnades 1 // 0/1 Disable/Enable the whole plugin
zp_gasdmg 70 // How much damage the player takes every check cycle, 0 to disable damage (see zp_gascheck)
zp_gascheck 3 // Check period in seconds
zp_gasradius 180 // Smoke Radius (best is 170 - 230)
zp_smokegasp 1 // 0/1 Makes players gasp/cough in smoke
zp_gasobeyFF 0 // 0/1 Makes plugin act or not as cvar mp_friendlyfire
zp_gas_restore 0 // 0/1 Restore or not HP (if zp_gasdmg > 0)
zp_gaslighting - Enable/Disable lighting flash (default 1)
0 = Disabled
1 = Enabled with random colors
2 = Enabled with RGB format colors
zp_gaslighting_r : Red (default 255)
zp_gaslighting_g : Green (default 0)
zp_gaslighting_b : Blue (default 0)
zp_gaslighting_trails - Enable/Disable Smoke Grenade Trails
0 = Disabled
1 = Enable
Trails color are Green

Fry!
11-10-2008, 13:53
// Custom Grenades
zp_flare_grenades 1 // Enable flare grenades
On this :
zp_flare_grenades 0 // Enable flare grenades

Actually it will work both ways. 1) as flare 2) as gas nade.
You don't need to turn it off. Please before You release it make sure it's working. -_–

CHyCMyMpNk
11-10-2008, 14:23
Actually it will work both ways. 1) as flare 2) as gas nade.
You don't need to turn it off. Please before You release it make sure it's working. -_–

By such method will not work simply, will conflict only : ) imho

vcwz
11-10-2008, 16:11
I'm using Nade Modes plugin, this can conflict?

Thanks.

Fry!
11-10-2008, 16:13
No, it will be even more fun to play...

Arkshine
11-10-2008, 16:14
Just for your information, Connor has rewritten its plugin before yesterday and in a better way.

CHyCMyMpNk
11-11-2008, 00:37
arkshine (http://forums.alliedmods.net/member.php?u=7779) if I got it right you ..., corrected .

Arkshine
11-11-2008, 04:58
What I say is you should rewrite your plugin based on the latest connor's plugin.

v2.0.0 ( 08 nov 2008 )
- rewritten from the scratch
- nades are now additive
- gas life by cvar
- new cvar to prevent the smoke from showing

CHyCMyMpNk
11-11-2008, 07:33
What I say is you should rewrite your plugin based on the latest connor's plugin.
Why ? Me this version arranges fully ...

I would be happy if who will say how to add an effect trail and bursting wave , as from Flare .

ConnorMcLeod
11-14-2008, 14:45
My new version is really better coded.

roadrage
01-21-2009, 12:44
is this plugin final and bug free?

CHyCMyMpNk
01-21-2009, 13:42
is this plugin final and bug free?
Mb ) ,
And that is not so ?

roadrage
01-21-2009, 21:54
Mb ) ,
And that is not so ?

this works well!! but for some reason when the map changes to dust_heal and dust_vfix it crashes the server. Any idea why?

CHyCMyMpNk
01-22-2009, 11:42
this works well!! but for some reason when the map changes to dust_heal and dust_vfix it crashes the server. Any idea why?
And why did you decided that because of him? If there is a log about him, show.

Mlk27
01-22-2009, 20:10
him or it? xD

roadrage
01-23-2009, 01:58
him or it? xD


I think he means "it". For some reason when the map switches to heal_dust it crashes. I havent checked the logs but when I disabled the plugin by placing ";" the map loads normally.

I really think that the plugins provided on here are awesome and wish I could learn how to code myself...

Good job guys!

Speed!
01-23-2009, 18:54
him or it? xD
some scripters talk of their plugins as if they were their daughetrs LOL

CHyCMyMpNk
05-10-2009, 13:21
Added :
zp_gaslighting - Enable/Disable lighting flash (default 1)
0 = Disabled
1 = Enabled with random colors
2 = Enabled with RGB format colors
zp_gaslighting_r : Red (default 255)
zp_gaslighting_g : Green (default 0)
zp_gaslighting_b : Blue (default 0)
zp_gaslighting_trails - Enable/Disable Smoke Grenade Trails
0 = Disabled
1 = Enable
Trails color are Green

Redeemer1
08-07-2009, 17:59
Can you add i cvars for smoke colors?

Shoul
11-21-2009, 00:16
This one doesn't work with zp 4.3 :( disabled flares grenade , but still nothing happens ....

Clear
06-20-2010, 14:17
Can you make not replace flare but extra item you buy for xammo wis granade