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

Hero: Xboxman (El Diablo)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
codraptor
Senior Member
Join Date: Jul 2006
Location: Florida
Old 09-06-2006 , 20:48   Hero: Xboxman (El Diablo)
Reply With Quote #1

Hi ok im pretty sure this hero works its origanly called "Computer Geek" but I renamed it and gave it some more cvar settings. So I hope you guys have fun with it!

Code:
 
// Xboxman - New ak47 Xbox Model With More Health, Speed, and Armor!
 
/* CVARS - copy and paste to shconfig.cfg
 
// Xboxman
xbox_level 7                       // level you get Xboxman on (default 7)
xbox_health 350             // how much HP Xboxman has (default 350)
xbox_armor 300                       // how much AP Xboxman has (default 300)
xbox_gravity 0.20           // what the gravity is set to 1.0 = regular (default 0.20)
xbox_speed 600                     // how fast Xboxman runs (default 600)
xbox_ak47mult 4.5           // how many times the damage for ak47 is multiplied (default 4.5)
Ok im about 90% sure it works.

-------------
Edit: Attachment Removed.
__________________

Last edited by vittu; 09-07-2006 at 23:36.
codraptor is offline
Send a message via Yahoo to codraptor
MisT'.-saTTan
BANNED
Join Date: May 2006
Location: ny
Old 09-06-2006 , 21:53   Re: Hero: Xboxman (El Diablo)
Reply With Quote #2

90% sure it dosent working
MisT'.-saTTan is offline
Send a message via MSN to MisT'.-saTTan Send a message via Yahoo to MisT'.-saTTan
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 09-07-2006 , 00:01   Re: Hero: Xboxman (El Diablo)
Reply With Quote #3

190% sure this is going to be unapproved.
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
jtpizzalover
Senior Member
Join Date: Dec 2005
Location: Left
Old 09-07-2006 , 00:27   Re: Hero: Xboxman (El Diablo)
Reply With Quote #4

Quote:
Originally Posted by Emp` View Post
190% sure this is going to be unapproved.
Can't count but still correct.
jtpizzalover is offline
SolidSSnake
BANNED
Join Date: Sep 2006
Old 09-07-2006 , 15:52   Re: Hero: Xboxman (El Diablo)
Reply With Quote #5

codraptor your code is all messed up. like u have xbox_ak47mult this does nothing you didnt set it up to do extra damage use something like this

Code:
  
//this goes in public plugin_init()
// EXTRA AK DAMAGE
register_event("Damage", "xbox_damage", "b", "2!0")

//this stands by itself
public xbox_damage(id)
{
    if (!shModActive()) return PLUGIN_CONTINUE
    new damage = read_data(2)
    new weapon, bodypart, attacker = get_user_attacker(id,weapon,bodypart)
    
    if ( attacker <=0 || attacker>SH_MAXSLOTS ) return PLUGIN_CONTINUE
    
    if ( gHasXboxmanPower[attacker] && weapon == CSW_AK47  && is_user_alive(id))
    {
       // do extra damage
       new extraDamage = floatround(damage * get_cvar_float("xbox_ak47mult")- damage)
       shExtraDamage( id, attacker, extraDamage, "ak47" )
    }
    return PLUGIN_CONTINUE
}

Last edited by SolidSSnake; 09-07-2006 at 15:58.
SolidSSnake is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 09-07-2006 , 23:35   Re: Hero: Xboxman (El Diablo)
Reply With Quote #6

Quote:
Originally Posted by Emp` View Post
190% sure this is going to be unapproved.
Unapproved? more liked trashed. When will you people learn.
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 06:32.


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