AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ZR] Poison Thrower v1.7 (https://forums.alliedmods.net/showthread.php?t=159541)

Despirator 06-18-2011 15:57

[ZR] Poison Thrower v1.7
 
3 Attachment(s)
Requirements:
Zombie:Reloaded latest stable
Sourcemod 1.3 or higher

Decription:
Allow zombies to throw poison infection and infect everyone opposite him

How to use:
A zombie must press right mouse button to throw

Console Variables:
zr_poison_version - The plugin's version
zr_poison_enabled - Enables/Disables the plugin
zr_poison_amount - Amount of poisons. (0 = infinity)
zr_poison_admins_only - Allow only admins to use this feature
zr_poison_admins_unlimited - Allow admins to have unlimited amount of poisons
zr_poison_admins_flag - An admin flag who can use this feature
zr_poison_motherzombies_only - Allow only mother zombies to use the poisonthrower
zr_poison_sound - Path to the poison blast sound
zr_poison_delay - Delay between poisons blast
zr_poison_distance - Distance

Installation:
Put zr_PoisonThrower.sp to the addons/sourcemod/scripting folder
Put zr_PoisonThrower.smx to the addons/sourcemod/plugins folder
Put zr_poisonthrower.txt to the addons/sourcemod/translations folder
The config file be auto-generated here - cfg/sourcemod/zombiereloaded/PoisonThrower.cfg

Changelog:
Quote:

v1.1
Fixed bug

v1.2
Changed to the right mouse button

v1.3
Added Cvar sm_poison_distance
Removed Cvar sm_poison_spawndelay
Changed config path to cfg/sourcemod/zombiereloaded/PoisonThrower.cfg

v1.4
Fixed few bugs
Fixed bug infecting through walls

v1.5
Complete rewrite
Optimized script
Added cvar zr_poison_admins_flag
Changed all prefixes of Cvars to zr_

v1.6
Added translation file

v1.7
Fixed missed translation format
Added new cvar zr_poison_motherzombies_only
You have to update config file

matedgo 06-18-2011 16:06

Re: [ZR] Poison Thrower v1.5
 
zombie can posion, when posion somebody he becomes zombie ?, what range of that is ?

Despirator 06-19-2011 03:07

Re: [ZR] Poison Thrower v1.5
 
u can configure that with zr_poison_distance

TnTSCS 06-19-2011 22:40

Re: [ZR] Poison Thrower v1.5
 
might be fun... I just might try it :)

for admins and ViP players :)

what's a good sound to suggest for this?

Greyscale 06-20-2011 03:31

Re: [ZR] Poison Thrower v1.5
 
This is pretty cool! One suggestion though, can you move the hardcoded messages to translations files? If you need a guide use the SM wiki there's a good explanation of it.

(English translations would be cool too)

Everything else looks good, thanks for releasing this!

You basically just load the file and change your PrintToChat lines to PrintToChat(client, "%t", "phrase", parameter1, ...) but look to the wiki for more detailed stuff.

Despirator 06-20-2011 04:59

Re: [ZR] Poison Thrower v1.5
 
I know hot to use translations file, why it is not in english? because i did it for another russian site

Edit:
well, i have updated it to use translation file | special4u :D

Greyscale 06-21-2011 00:19

Re: [ZR] Poison Thrower v1.6
 
Approved :)

TnTSCS 06-21-2011 11:45

Re: [ZR] Poison Thrower v1.6
 
Yes yes... I'll load up the translation file :)

I like the plugin - it has its upsides and downsides and I'll load it on a per map basis

Dagunchi 06-21-2011 21:00

Re: [ZR] Poison Thrower v1.6
 
Hello, i have an error and plugin not working:

Code:

L 06/22/2011 - 03:43:41: [SM] Plugin encountered error 22: Maximum number of parameters reached
L 06/22/2011 - 03:43:41: [SM] Native "PrintToChat" reported: Translation string formatted incorrectly - missing at least 1 parameters
L 06/22/2011 - 03:43:41: [SM] Displaying call stack trace for plugin "zr_PoisonThrower.smx":
L 06/22/2011 - 03:43:41: [SM]  [0]  Line 133, ./zr_PoisonThrower.sp::OnButtonPress()
L 06/22/2011 - 03:43:41: [SM]  [1]  Line 109, ./zr_PoisonThrower.sp::OnPlayerRunCmd()

I have disabled base plugins because i use for admins mani admin plugin!
Disabled:

adminhelp
adminmenu
basebans

Enabled:
admin-flatfile
clientprefs

Can you help to resolve this?

Thanks!

Paparazziv2 06-21-2011 22:44

Re: [ZR] Poison Thrower v1.6
 
all zombies have this bomb?


All times are GMT -4. The time now is 09:13.

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