Raised This Month: $ Target: $400
 0% 

[ANY] Goomba Stomp (2.0.2)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Sreaper
髪を用心
Join Date: Nov 2009
Plugin ID:
1332
Plugin Version:
2.0.3
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    130 
    Plugin Description:
    Add the ability to stomp players by falling on them !
    Old 05-19-2010 , 19:43   Re: [TF2] Goomba Stomp (1.0.3b)
    Reply With Quote #1

    For the beta.smx, should this be changed to something else?

    Code:
    // Radius Check
    // -
    // Default: "16.0"
    // Minimum: "0.000000"
    sm_goomba_radius "16.0"
    Sreaper is offline
    qwasder
    New Member
    Join Date: Mar 2011
    Old 03-02-2011 , 12:09   Re: [TF2] Goomba Stomp (1.0.3b)
    Reply With Quote #2

    I get this when trying to download the plugin: Plugin failed to compile! Please try contacting the author.

    Can I use the other smx you attached?
    qwasder is offline
    Flyflo
    Senior Member
    Join Date: Jun 2008
    Location: Grenoble, France
    Old 08-01-2011 , 12:25   Re: [TF2] Goomba Stomp (1.2.0)
    Reply With Quote #3

    It's been a while since the last update but here we go:

    1.2.0 version released

    Changelog:
    Code:
    1.2.0 (01/08/2011) :
    - Added two cvars to set the damage done by the stomp :
    - goomba_dmg_lifemultiplier - goomba_dmg_add -> Damage = (Victim's actual life * goomba_dmg_lifemultiplier) + goomba_dmg_add.
    - SDKHooks_TakeDamage used instead of point_hurt entity - TF2_IsPlayerInCondition used instead of TF2_GetPlayerCond - Removed sm_ prefix from cvars.
    The main changes are:

    - The use of SDKHooks_TakeDamage (SDK Hooks 2.0 required).
    - The new cvars to control the damage done by the stomp.
    Damage = (Victim's actual life * goomba_dmg_lifemultiplier) + goomba_dmg_add
    cvars and sound files have been renamed; delete your old goomba.cfg and upload the new files.

    Hope you'll have fun with it
    __________________

    Last edited by Flyflo; 08-05-2011 at 04:43.
    Flyflo is offline
    AeroAcrobat
    AlliedModders Donor
    Join Date: Apr 2011
    Location: lives in a circus
    Old 08-02-2011 , 09:06   Re: [TF2] Goomba Stomp (1.2.0)
    Reply With Quote #4

    Hi,

    is it possible to reduce the damage to a specific number?

    So if I will jump on someone he will only recive, lets say: 50dmg.

    Goomba Stomp is in my eyes to over powered, if you can kill someone instantly

    #EDIT:
    Can I add a 0.3 multiplicator ?
    Damages = (Victim's actual life [120] * goomba_dmg_lifemultiplier [0.3]) + goomba_dmg_add [0].

    120 * 0.3 + 0 = 36
    x * 0.3 + 0 = Damage

    Would this work this way ??

    Last edited by AeroAcrobat; 08-02-2011 at 09:12.
    AeroAcrobat is offline
    Flyflo
    Senior Member
    Join Date: Jun 2008
    Location: Grenoble, France
    Old 08-02-2011 , 10:01   Re: [TF2] Goomba Stomp (1.2.0)
    Reply With Quote #5

    Yes, it works this way.

    EDIT:

    Version 1.2.1 released to fix some new bugs.
    __________________

    Last edited by Flyflo; 08-02-2011 at 12:28.
    Flyflo is offline
    exvel
    SourceMod Donor
    Join Date: Jun 2006
    Location: Russia
    Old 12-20-2009 , 11:24   Re: [TF2] Goomba Stomp (1.0.3)
    Reply With Quote #6

    A few suggestions about using colors.inc.
    You don't need to make so complicated translations when colorizing player's name. Just use CPrintToChatAllEx function (author is a client index you want to use as team color). It supports {teamcolor} tag that is based on player's team color.
    For example:
    Code:
    "Red Stomp Blue"
    {
    	"#format"		"{1:s},{2:s}"
    	"fr"			"{olive}>> {teamcolor}{1} {default}a stompé {olive}{2} {default}!"
    	"en"			"{olive}>> {teamcolor}{1} {default}goomba stomped {olive}{2} {default}!"
    }
    __________________
    For admins: My plugins

    For developers: Colors library
    exvel is offline
    Send a message via ICQ to exvel
    Flyflo
    Senior Member
    Join Date: Jun 2008
    Location: Grenoble, France
    Old 12-28-2009 , 09:17   Re: [TF2] Goomba Stomp (1.0.3b)
    Reply With Quote #7

    Quote:
    Originally Posted by exvel View Post
    Just use CPrintToChatAllEx function (author is a client index you want to use as team color)
    I just didn't notice this function ^^ it's really useful.

    Quote:
    Originally Posted by psychonic View Post
    You might want to move
    PHP Code:
    if(GetConVarFloat(g_Cvar_PluginOnOff) > 0.0
    from FrameAction to OnGameFrame before FrameAction is called. That way you only check once that the plugin is enabled each from instead of checking MaxClients times.
    You're right, it's more logical and efficient this way.

    Quote:
    Originally Posted by psychonic View Post
    Also, is there a reason you used GetConVarFloat instead of GetConVarBool for that check?
    No


    First post and plugin updated !
    Flyflo is offline
    psychonic

    BAFFLED
    Join Date: May 2008
    Old 12-27-2009 , 13:54   Re: [TF2] Goomba Stomp (1.0.3)
    Reply With Quote #8

    Flyfo:
    A couple minor things I noticed.

    You might want to move
    PHP Code:
    if(GetConVarFloat(g_Cvar_PluginOnOff) > 0.0
    from FrameAction to OnGameFrame before FrameAction is called. That way you only check once that the plugin is enabled each from instead of checking MaxClients times. Also, is there a reason you used GetConVarFloat instead of GetConVarBool for that check?

    Also, many of your condition checks are redundant.
    Ex.
    PHP Code:
    return pcond >= ? ((pcond TF2_PLAYER_INVULN) != 0) : false
    You don't need the ">= 0" check.
    psychonic is offline
    bouncer
    Veteran Member
    Join Date: Apr 2009
    Old 03-21-2010 , 12:36   Re: [TF2] Goomba Stomp (1.0.3b)
    Reply With Quote #9

    without...

    sm_goomba_ff 1/0 (default 0) : Enable the friendly fire for the stomp (require mp_friendlyfire = 1)

    will the plugin be useless then? Cause i dont want friendly fire on my server, or can the players still kill the other players?
    __________________


    bouncer is offline
    Flyflo
    Senior Member
    Join Date: Jun 2008
    Location: Grenoble, France
    Old 03-21-2010 , 12:44   Re: [TF2] Goomba Stomp (1.0.3b)
    Reply With Quote #10

    I don't understand, you want to enable the friendly fire only for the stomp ?
    Flyflo 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 14:11.


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