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

[TF2] NoFire


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Negratius
Member
Join Date: Feb 2013
Location: São Paulo, Brasil
Plugin ID:
3542
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Blocks m1, ideal for dodgeball
    Old 02-22-2013 , 06:24   [TF2] NoFire
    Reply With Quote #1

    Hey guys, this is my very first plugin
    It's REALLY simple and I haven't found any other that can make this without being complicated, like modifying the weapon damage or so.
    This one is ideal for Dodgeball mode on TF2, but I think it should work on other games

    When it's active, you will still see the flame going out but it will do no damage, and no other player on the server will see the fire particles

    Hope you guys enjoy!!!
    Attached Files
    File Type: sp Get Plugin or Get Source (nofire.sp - 741 views - 904 Bytes)
    Negratius is offline
    Send a message via MSN to Negratius
    floube
    SourceMod Donor
    Join Date: Jan 2013
    Location: Austria
    Old 02-22-2013 , 10:49   Re: [TF2] NoFire
    Reply With Quote #2

    Nice idea... but try to block flamethrower only, so that it's only blocking pyros.

    Use something like this:
    Code:
    if (TF2_GetPlayerClass(client) == TFClass_Pyro) // if the player is a pyro
    {
        // block m1
    }

    Last edited by floube; 02-22-2013 at 11:27.
    floube is offline
    Powerlord
    AlliedModders Donor
    Join Date: Jun 2008
    Location: Seduce Me!
    Old 02-22-2013 , 11:14   Re: [TF2] NoFire
    Reply With Quote #3

    Quote:
    Originally Posted by floube View Post
    Nice idea... but try to block flamethrower only, so that it's only blocking pyros.

    Use something like this:
    Code:
    if (TF2_GetPlayerClass(client) == TF2_GetClass("pyro")) // if the player is a pyro
    {
        // block m1
    }
    Did... you really just write TF2_GetClass("pyro") instead of TFClass_Pyro?
    __________________
    Not currently working on SourceMod plugin development.
    Powerlord is offline
    floube
    SourceMod Donor
    Join Date: Jan 2013
    Location: Austria
    Old 02-22-2013 , 11:27   Re: [TF2] NoFire
    Reply With Quote #4

    Ooops... sorry about that. ^^
    floube is offline
    Negratius
    Member
    Join Date: Feb 2013
    Location: São Paulo, Brasil
    Old 02-23-2013 , 11:49   Re: [TF2] NoFire
    Reply With Quote #5

    Well, since i use it for dodgeball, all players are pyros, but thats a nice ideia!

    Thx!

    =D
    Negratius is offline
    Send a message via MSN to Negratius
    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 11:53.


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