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

Hero: Kraven (Dboy / gigazer)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Chivas2973
Veteran Member
Join Date: Mar 2004
Location: Wisconsin
Old 07-22-2004 , 19:00   Hero: Kraven (Dboy / gigazer)
Reply With Quote #1

Kraven v1.1

Description
Tranquilizer Gun - Stun your prey, with your tranquilizer bullets



http://www.marveldatabase.com/Kraven_(Sergei_Kravinoff)

shconfig.cfg CVARS
Code:
//Kraven
kraven_level 0
kraven_stuntime 3	// Time in seconds a user is stunned by Kraven (Default 3)
kraven_stunspeed 1	// Speed at which they can move during stun, 1-999 (Default 1)
Attached Files
File Type: sma Get Plugin or Get Source (sh_kraven.sma - 1844 views - 2.9 KB)
__________________

Last edited by vittu; 01-27-2007 at 04:01. Reason: Updated with a temp fix and small changes...
Chivas2973 is offline
(_msv)dakilla(_msv)
Member
Join Date: Nov 2004
Location: Illions
Old 12-11-2004 , 00:38  
Reply With Quote #2

this hero does not stun
__________________
my server ips
69.90.113.40:27015 | 8.9.2.158:27025 |64.27.12.39:27015 | 70.84.52.34:27018
70.84.52.34:27016 | 70.84.52.34:27019
(_msv)dakilla(_msv) is offline
Send a message via AIM to (_msv)dakilla(_msv) Send a message via MSN to (_msv)dakilla(_msv)
MTS Steel DrAgoN
Veteran Member
Join Date: Jul 2004
Location: California
Old 12-11-2004 , 02:05  
Reply With Quote #3

yes it does
MTS Steel DrAgoN is offline
Send a message via AIM to MTS Steel DrAgoN
(_msv)dakilla(_msv)
Member
Join Date: Nov 2004
Location: Illions
Old 12-11-2004 , 11:26  
Reply With Quote #4

whell then its just me but id idnt seem to stun but ok
__________________
my server ips
69.90.113.40:27015 | 8.9.2.158:27025 |64.27.12.39:27015 | 70.84.52.34:27018
70.84.52.34:27016 | 70.84.52.34:27019
(_msv)dakilla(_msv) is offline
Send a message via AIM to (_msv)dakilla(_msv) Send a message via MSN to (_msv)dakilla(_msv)
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 12-17-2004 , 06:17  
Reply With Quote #5

I'll look at this later but i just noticed the code is expecting a whole number for the cvar, when the cvar is actually set as a floating point number it could be the cause of why it's not working for some...
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
Puddle In The Ocean
Member
Join Date: Jan 2005
Old 01-21-2005 , 09:23  
Reply With Quote #6

guys i fixed kraven - he now works like a charm

if i can remember chivas (if you were the author) i think you omitted the line that set the character speed - in superhero.inc it stated
"Up to Hero to set the victims Stun Speed" - but no Criticism : )

i added some code that makes him work like the human in wc3 mod and gives it apercent chance to 'freeze' the enemy (you have a cvar that can give it 1-100% chance to freeze)
Puddle In The Ocean is offline
Chivas2973
Veteran Member
Join Date: Mar 2004
Location: Wisconsin
Old 01-21-2005 , 10:39  
Reply With Quote #7

can you post the fix or the sma so that others can test it out
__________________
Chivas2973 is offline
Puddle In The Ocean
Member
Join Date: Jan 2005
Old 01-21-2005 , 17:14  
Reply With Quote #8

ok sorry chivas i was at school and couldn't post it until i got home. i wasn't gonna be greedy and keep it to myself so here is my fix with the cvars:

Kraven_level 0 //requirements
Kraven_stun 1 //stun time

ok i didn't add the random chance yet. i will add it in a few days if you guys still want that feature because for some reason it doesn't work like it supposed to so i will look more into it : )

Last edited by vittu; 01-25-2007 at 22:25. Reason: removed attachment for out of date code
Puddle In The Ocean is offline
heliumdream
Senior Member
Join Date: Aug 2006
Old 01-21-2007 , 14:14   Re: Hero: Kraven (Dboy / gigazer)
Reply With Quote #9

Here is a release with the randomizer included

Also a big thanks to vittu, for cleaning up the code and and cvars.

Code:
//Kraven
kraven_level 0
kraven_stuntime 3        // Time in seconds a user is stunned by Kraven
kraven_stunspeed 100    // Speed at which they can move during stun
kraven_pctperlev .01    // Level you are * pctperlev * 100 = % Chance to stun out of 100
Attached Files
File Type: sma Get Plugin or Get Source (sh_kraven.sma - 1108 views - 3.1 KB)

Last edited by heliumdream; 01-25-2007 at 13:48.
heliumdream is offline
Clanmta
Junior Member
Join Date: Feb 2007
Old 03-21-2007 , 13:44   Re: Hero: Kraven (Dboy / gigazer)
Reply With Quote #10

the amxx files are corrupted it wont let me get it
__________________



Clanmta is offline
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 22:51.


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