Raised This Month: $51 Target: $400
 12% 

Hero: BOT Fighter


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
1sh0t2killz
Senior Member
Join Date: Dec 2004
Old 07-08-2010 , 04:21   Hero: BOT Fighter
Reply With Quote #1

BOT Fighter version 1.0

Description: Kills BOT's (POD-bot and other cs bots) in one shot.
Assuming the max hp in your server is less than 1000. This hero is obviously useless if you don't have bots in your server, but I have bots in mine, and its can be nice for low lvls to have, to xp grind. I also made this for fun and lols.

Code:
//BOT Fighter
bot_level 0
Attached Files
File Type: sma Get Plugin or Get Source (sh_botfighter.sma - 884 views - 1.9 KB)
__________________
I ♥ ⌂ ♫

Last edited by 1sh0t2killz; 07-08-2010 at 04:42.
1sh0t2killz is offline
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 07-08-2010 , 06:28   Re: Hero: BOT Fighter
Reply With Quote #2

And lols thrash lol instant rip rofl. Atleast 1.2.0.14...
__________________
The Art of War is offline
kanatzu
Veteran Member
Join Date: Oct 2007
Location: Sweden
Old 07-08-2010 , 10:58   Re: Hero: BOT Fighter
Reply With Quote #3

Quote:
Originally Posted by The Art of War View Post
And lols thrash lol instant rip rofl. Atleast 1.2.0.14...
Not cool. Do you know who "1sh0t2killz" is? Omg.

He made alot of great heroes.

Edit: Btw, this looks fairly Ok
__________________




Quote:
Originally Posted by wrecked_ View Post
Stop saying words before I sodomize you with a cucumber.
kanatzu is offline
Send a message via MSN to kanatzu
1sh0t2killz
Senior Member
Join Date: Dec 2004
Old 07-08-2010 , 12:37   Re: Hero: BOT Fighter
Reply With Quote #4

Quote:
Originally Posted by The Art of War View Post
And lols thrash lol instant rip rofl. Atleast 1.2.0.14...
instant rip??
idk about that, but I did make this in literally less than a minute just for lols. I already know that this hero is basically useless :X
__________________
I ♥ ⌂ ♫
1sh0t2killz is offline
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 07-08-2010 , 13:46   Re: Hero: BOT Fighter
Reply With Quote #5

No it seems pretty funny lol but the only thing youre doing is calling a forward for client_damage which can be found in I dont know how many codes, and makes it damage them with sh_extra_damage. No offense, but you could have used a sh_set_hero_dmgmult.

Anyway, if you want to stick to the method, you could remove the "1000" damage, instead just set 1 or just set it to "damage", without the ""'s and make damage in the forward
Code:
public client_damage()
, and make it with SH_DMG_KILL which will instantly kill the target no matter of health.

=

PHP Code:
sh_extra_damage(victimattackeror whatever"Bot Bullet"headshotSH_DMG_KILL
Will give you a headshot instant kill

Anyway, I dont want a flame war. This is a lot better then the last post by some random guy clearly saying his hero was made with JTP's generator... And it didnt even work. Just that the coding is, well, very simple. Nothing wrong with that but I dont really see a point to it. The other hero though, is damn good (even though I already knew that Jelle had G-Dog's one). One question: Is it removing the knockback by bullets or does it removes the speed loss when you are hit? I know it says knockback but Ive only seen real knockback in 1 server (Wolf SH Pro) and G-Dog linked to one about speed loss.
__________________

Last edited by The Art of War; 07-08-2010 at 14:01.
The Art of War is offline
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 07-11-2010 , 09:11   Re: Hero: BOT Fighter
Reply With Quote #6

Quote:
Originally Posted by The Art of War View Post
No it seems pretty funny lol but the only thing youre doing is calling a forward for client_damage which can be found in I dont know how many codes, and makes it damage them with sh_extra_damage. No offense, but you could have used a sh_set_hero_dmgmult.

Art sometimes stfu. Look were is called this native and you will understand why it's not possible with. And also stop flaming people with some stupid lol or instant trash wtihout arguments.

Currently client_damage is the best way for do that he want. It's an useful forward with a lot of options.

PHP Code:
sh_extra_damage(victimattacker1000"Bot Bullet"headshot
use this instead
PHP Code:
sh_extra_damage(victimattackerdamage"Bot Bullet"headshotSH_DMG_KILL
and if you want to use the weapon icon in corner HUD (instead of a skull)
use this
PHP Code:
new weaponName[32]
get_weaponname(wpnindexweaponNamecharsmax(weaponName))
replace(weaponNamecharsmax(weaponName), "weapon_""")
sh_extra_damage(victimattackerdamageweaponNameheadshotSH_DMG_KILL

Last edited by vittu; 07-13-2010 at 16:15.
Fr33m@n is offline
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 07-11-2010 , 09:19   Re: Hero: BOT Fighter
Reply With Quote #7

Quote:
Originally Posted by The Art of War View Post
Anyway, if you want to stick to the method, you could remove the "1000" damage, instead just set 1 or just set it to "damage",
Sometimes I really should shut up.

But what youre saying is exactly what Im saying, just that I said he could use a value or define "damage" earlier on.

I never said that the forward client_damage is bad, just that its not really something thats hard to work with.

Last, no, perhaps sh_dmg_mult would be stupid, one cant use it in that forward as its needs a gHeroID, I know that. Perhaps he wanted to use sh_extra_damage because of the symbol used would show that the bot was killed by the power.
__________________

Last edited by The Art of War; 07-11-2010 at 09:25.
The Art of War is offline
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 07-11-2010 , 09:59   Re: Hero: BOT Fighter
Reply With Quote #8

You can't custumize your added damage with sh_dmg_mult.
How when where it can be called.
and i'm sure like all the hero init native it can only be called in plugin_init

Last edited by Fr33m@n; 07-11-2010 at 10:11.
Fr33m@n is offline
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 07-11-2010 , 10:42   Re: Hero: BOT Fighter
Reply With Quote #9

Probably. I meant that if its possible to get the users (attacker) weaponid and use that instead of CSW_WHATEVER and so on. And then it would be hard to check if the target is a bot in the init I guess.
__________________
The Art of War is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 07-11-2010 , 11:16   Re: Hero: BOT Fighter
Reply With Quote #10

Quote:
Originally Posted by The Art of War View Post
Probably. I meant that if its possible to get the users (attacker) weaponid and use that instead of CSW_WHATEVER and so on. And then it would be hard to check if the target is a bot in the init I guess.
There are no clients connected in init, so good luck with that.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
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 14:57.


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