Raised This Month: $32 Target: $400
 8% 

Poisoned Bullets v1.3e


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   Arkshine (91)
unnyquee
Senior Member
Join Date: Jun 2009
Location: Constanta, Romania
Old 04-24-2010 , 11:36   Poisoned Bullets v1.3e
Reply With Quote #1

Poisoned Bullets
(Version 1.3e | Author: unny;)


INFORMATIONS
Random chance of poisoning an enemy / teammate when shooting him.
Poison will increase damage dealt to the enemy!



MULTILINGUAL
http://forums.alliedmods.net/showthread.php?t=125075


CVARs
  • pbullets_status < 0 / 1 > (default: 1) - disable / enable plugin
  • pbullets_chance < # > (default: 10) - chance of poisoning
  • pbullets_dmg_multiplier < # > (default: 1.5) - damage multiplier when poisoned (float)
  • pbullets_poison_effect < 0 / 1 > (default: 1) - disable / enable poison effects
  • pbullets_antidote < 0 / 1 > (default: 1) - disable / enable poison antidote
  • pbullets_antidote_price < # > (default: 9000) - price for the poison antidote
  • pbullets_announce < 0 / 1 > (default: 1) - print informations about the plugin

COMMANDS
  • say / say_team buy_antidote - buy an antidote
  • say / say_team use_antidote - use an antidote

REQUIREMENTS
  • Counter-Strike 1.6 Server
  • AMX Mod X 1.8.1 or higher
  • HamSandwich module enabled
CREDITS
  • Brreaker - major help
  • papyrus_kn - ML (BG)
  • xPaw - code improvements + ML (RU)
  • crazyeffect - ML (NL)
  • Letsdoit - ML (ES)
  • MmikiM - ML (PL)
  • tuty - blood effects idea
  • xD_1991 - ML (TR)
  • kanatzu - ML (SV)
  • ConnorMcLeod - code improvements
  • ThEGoD - ML (LT)
  • Mordekay - ML (DE)

CHANGELOG
Code:
v1.0  - first release
v1.1  - multilingual (https://forums.alliedmods.net/showthread.php?t=125075)
v1.2  - added blood effects (thx tuty!)
      - added poison effect cvar
      - modified the color of screen fade
      - added status icon
v1.3  - added poison antidote
v1.3b - replaced Ham_TakeDamage with Ham_TraceAttack
      - added Ham_TraceBleed
v1.3c - fixed a bug where you could be poisoned from knife attack
v1.3d - fixed a bug where you could buy / use antidote when you were dead
v1.3e - fixed a bug where you could get poisoned even if 'pbullets_status' was disabled
TODO
  • poison antidote
  • multilingual

NOTES
  • If you've found bug(s), please report it here!
  • Any suggestions are welcome

Attached Files
File Type: sma Get Plugin or Get Source (poisoned_bullets.sma - 3801 views - 11.5 KB)
File Type: txt poisoned_bullets.txt (5.9 KB, 1568 views)
__________________

Last edited by unnyquee; 07-02-2010 at 16:27.
unnyquee is offline
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 04-24-2010 , 11:43   Re: Poisoned Bullets v1.0
Reply With Quote #2

Looks nice
__________________
Retired.
Xalus is offline
unnyquee
Senior Member
Join Date: Jun 2009
Location: Constanta, Romania
Old 04-24-2010 , 11:45   Re: Poisoned Bullets v1.0
Reply With Quote #3

Thank you ^^
I you have any suggestions, please post them here
__________________
unnyquee is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 04-24-2010 , 12:34   Re: Poisoned Bullets v1.0
Reply With Quote #4

Make it ML

PHP Code:
            client_print(0print_chat"[ PB ] Poisoned Bullets v%s by unny;"VERSION);
            
client_print(0print_chat"[ PB ] Random chance of poisoning an enemy / teammate when shooting him.");
            
client_print(0print_chat"[ PB ] Poison will increase damage dealt to the enemy!"); 
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
unnyquee
Senior Member
Join Date: Jun 2009
Location: Constanta, Romania
Old 04-24-2010 , 12:57   Re: Poisoned Bullets v1.0
Reply With Quote #5

Quote:
Originally Posted by DruGzOG View Post
Make it ML
Done
__________________
unnyquee is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 04-24-2010 , 13:08   Re: Poisoned Bullets v1.1
Reply With Quote #6

- Just define ANNOUNCE_TIME with .0 at end, you wont need to use float( )
- "_announce()" -> "_announce"

Code:
[ru]
INFO_01 = %s Otravljaemye puli v%s by unny;
INFO_02 = %s Sluchajnost' otravit' cheloveka kogda streljaesh' v nego.
INFO_03 = %s Otrava uvelichivaet uron nanosimyj igroku.
__________________
xPaw is offline
unnyquee
Senior Member
Join Date: Jun 2009
Location: Constanta, Romania
Old 04-24-2010 , 13:52   Re: Poisoned Bullets v1.1
Reply With Quote #7

1. Done
2. oO damn typo. Thx!
Thanks for the translation!
__________________
unnyquee is offline
mando127
Veteran Member
Join Date: Dec 2006
Location: virginia
Old 04-24-2010 , 15:16   Re: Poisoned Bullets v1.1
Reply With Quote #8

how about elemental damage like fire , ice , wind and Poison each one random and adds a kind of debuff to the player like fire adds random added 2x damage -
ice slows the player down - wind makes the player walk funny that will be kick ass just a idea.
__________________
mando127 is offline
Send a message via Skype™ to mando127
unnyquee
Senior Member
Join Date: Jun 2009
Location: Constanta, Romania
Old 04-24-2010 , 16:32   Re: Poisoned Bullets v1.1
Reply With Quote #9

It will be kinda' cool, but I don't have enough time for it..
I will probably write it someday ^^
Thanks for the idea
__________________
unnyquee is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 04-26-2010 , 07:55   Re: Poisoned Bullets v1.1
Reply With Quote #10

You could add something like this. If i get hurt from a poisoned bullet, to drop green bloodstream
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Reply



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 15:34.


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