Raised This Month: $ Target: $400
 0% 

General ([Pentium4].killa)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 05-05-2005 , 05:00   General ([Pentium4].killa)
Reply With Quote #1

General

Description
ExtraDamage for Teammates - Because of Encouragement from the General, Teammates will do Extra Damage with weapon attacks.



shconfig.cfg CVARS
Code:
//General
general_level 0
general_dmg 5			//Amount of damage added to attacks by teammates
general_cooldown 0.0	//Cooldown between added damage to attacks
general_benefit 0		//General's get extra attack damage from other General's on their team (0=no 1=yes)
The more Generals on a team the more extradamage caused, it adds together.
Attached Files
File Type: sma Get Plugin or Get Source (sh_general.sma - 6536 views - 3.4 KB)

Last edited by vittu; 11-03-2007 at 06:11.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 05-05-2005 , 05:02  
Reply With Quote #2

Code:
* v1.1 - vittu - 5/4/05
*      - Removed useless code.
*      - Fixed extra attack damage from self to only be given to other players not self.
*      - Added cooldown cvar as an option.
*      - Added cvar for to only allow extra attack damage for non-Generals.
Haven't tested it so let me know if any problems occur so I can fix it quickly.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
MeHMeT
Senior Member
Join Date: Feb 2005
Location: orange county,and sydney
Old 05-05-2005 , 05:31  
Reply With Quote #3

vittu did u get my msg? also i tested no bugs for me
__________________
[img]http://img32.**************/img32/2005/pain28gu.png[/img]
MeHMeT is offline
Send a message via AIM to MeHMeT Send a message via MSN to MeHMeT
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 05-05-2005 , 07:58  
Reply With Quote #4

nice job vittu
__________________
- Bye bye!
nightscreem is offline
missionhcky09
Member
Join Date: Dec 2004
Old 05-06-2005 , 10:26  
Reply With Quote #5

wat happens if more then one person has it do some ppl get like 10 extra damage?

[edit]
nvm saw that part of the description must have missed that part...
[/edit]
__________________
[]v[] [] $$ [] () |\| []-[] ( |< Y
i am using amx 9.8 and sh_1.17.6
Superheromod Dust 45+ heroes
68.5.132.98:27015
missionhcky09 is offline
Send a message via AIM to missionhcky09
imported_Cloud
Junior Member
Join Date: May 2005
Old 05-09-2005 , 16:47  
Reply With Quote #6

nice hero, really nice hero and original, but he is a little bit overpowered i think, cause if youre in a team of 6 persons and they all got the general then for each bullet they hit they get +30 damage. But at the other hand, how many heros arent out there somewhere with 300 hp or something.

Nice job
imported_Cloud is offline
Send a message via MSN to imported_Cloud
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 05-09-2005 , 17:02  
Reply With Quote #7

Quote:
Originally Posted by Cloud
a little bit overpowered i think, cause if youre in a team of 6 persons and they all got the general then for each bullet they hit they get +30 damage.
Thats why I made it so generals don't get any advantage, it only helps teammates without general with this cvar:
Code:
general_benefit 0      //General's get extra attack damage from other General's on their team (0=no 1=yes)
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
imported_Cloud
Junior Member
Join Date: May 2005
Old 05-09-2005 , 17:06  
Reply With Quote #8

ow :d oke

so when their are 30 players on your server, you just put the benefit thing off
and when their are 6 players on the server you put it on :d
__________________
imported_Cloud is offline
Send a message via MSN to imported_Cloud
kanu | DarkPredator
Senior Member
Join Date: Apr 2005
Old 05-09-2005 , 19:22  
Reply With Quote #9

Wait, vittu, but does the general at least get the extra damage for his own gun? If a whole team had the hero, and no one got any advantages that would be teh suxors.
__________________
Dark | Predator
kanu | DarkPredator is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 05-09-2005 , 20:00  
Reply With Quote #10

Quote:
Originally Posted by Dark | Predator
does the general at least get the extra damage for his own gun?
No, I thought the whole point of this hero was to help all non-Generals. But if you want I'll add it back in so you get extra damage for your own attacks but not added from other generals when general_benefit is set to 0. Though I don't see the point in getting a generals encouragement from yourself...
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
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 13:23.


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