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

View Poll Results: Rate plugin
Excellent 1 25.00%
Good 0 0%
Decent 2 50.00%
Bad 1 25.00%
Voters: 4. You may not vote on this poll

[TF2] Crit-Roll


Post New Thread Reply   
 
Thread Tools Display Modes
Author
NameUser
Senior Member
Join Date: Apr 2012
Location: Bay Area, California
Plugin ID:
2994
Plugin Version:
0.1
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows you to roll for crits. That's all it does.
    Old 06-07-2012 , 05:17   [TF2] Crit-Roll
    Reply With Quote #1

    Description: Allows you to roll for crits. There's a 1 in 5 chance that you actually will get the crits.

    Cvars: sm_critroll

    Credits:
    NameUser (Code)
    MutatedGamer (Code)
    Hitman Sparky (Snippet of NoRoll function & idea)

    Other info: There is no version cvar, sorry.


    Installation instructions: Put in plugins folder. Reload sm plugins list.
    Attached Files
    File Type: smx critroll.smx (3.5 KB, 405 views)
    File Type: sp Get Plugin or Get Source (critroll.sp - 815 views - 2.1 KB)
    __________________

    Last edited by NameUser; 06-07-2012 at 05:19.
    NameUser is offline
    Send a message via Skype™ to NameUser
    Leonardo
    Veteran Member
    Join Date: Feb 2010
    Location: 90's
    Old 06-07-2012 , 07:00   Re: [TF2] Crit-Roll
    Reply With Quote #2

    1/5 - crits
    4/5 - DEATH

    WAIT wait wai wait
    why 'addcond'?
    why no TF2_AddCondition?

    Last edited by Leonardo; 06-07-2012 at 07:01.
    Leonardo is offline
    NameUser
    Senior Member
    Join Date: Apr 2012
    Location: Bay Area, California
    Old 06-07-2012 , 14:49   Re: [TF2] Crit-Roll
    Reply With Quote #3

    Quote:
    Originally Posted by Leonardo View Post
    1/5 - crits
    4/5 - DEATH

    WAIT wait wai wait
    why 'addcond'?
    why no TF2_AddCondition?

    Sorry

    I coded this at 12:00 - 1:00 AM.
    __________________
    NameUser is offline
    Send a message via Skype™ to NameUser
    ReFlexPoison
    ☠☠☠
    Join Date: Jul 2011
    Location: ☠☠☠
    Old 06-07-2012 , 14:57   Re: [TF2] Crit-Roll
    Reply With Quote #4

    Roll the dice already offers this.
    ReFlexPoison is offline
    NameUser
    Senior Member
    Join Date: Apr 2012
    Location: Bay Area, California
    Old 06-07-2012 , 15:05   Re: [TF2] Crit-Roll
    Reply With Quote #5

    Quote:
    Originally Posted by ReFlexPoison View Post
    Roll the dice already offers this.

    I already know this, but this is for the people who want just the crits. Also, why are you comparing this plugin to Roll the Dice? This plugin has no relation to that plugin whatsoever. I think you are implying this plugin is bad. Is that it? Come at me, bro.
    __________________

    Last edited by NameUser; 06-07-2012 at 15:07.
    NameUser is offline
    Send a message via Skype™ to NameUser
    ReFlexPoison
    ☠☠☠
    Join Date: Jul 2011
    Location: ☠☠☠
    Old 06-07-2012 , 15:34   Re: [TF2] Crit-Roll
    Reply With Quote #6

    Quote:
    Originally Posted by NameUser View Post
    I already know this, but this is for the people who want just the crits. Also, why are you comparing this plugin to Roll the Dice? This plugin has no relation to that plugin whatsoever. I think you are implying this plugin is bad. Is that it? Come at me, bro.
    Ummm.... lol. I was stating that Roll the Dice has the abilities to roll for crits. As well as disabling all rolls except crits. I never said your plugin was bad, as my plugins have similar characteristics as others. Please don't accuse me of saying a plugin as bad, as I never stated that. And I do see how yours is difference, if I may suggest something, give a CVar for the percentage chance you have to roll it.
    ReFlexPoison is offline
    NameUser
    Senior Member
    Join Date: Apr 2012
    Location: Bay Area, California
    Old 06-07-2012 , 16:17   Re: [TF2] Crit-Roll
    Reply With Quote #7

    Quote:
    Originally Posted by ReFlexPoison View Post
    Ummm.... lol. I was stating that Roll the Dice has the abilities to roll for crits. As well as disabling all rolls except crits. I never said your plugin was bad, as my plugins have similar characteristics as others. Please don't accuse me of saying a plugin as bad, as I never stated that. And I do see how yours is difference, if I may suggest something, give a CVar for the percentage chance you have to roll it.

    Uh, sorry about that. I was up at 3:00 am finishing up coding and I was extremely tired.

    As for the cvar, it will be implemented in the next version.
    __________________
    NameUser is offline
    Send a message via Skype™ to NameUser
    noodleboy347
    AlliedModders Donor
    Join Date: Mar 2009
    Old 06-08-2012 , 03:05   Re: [TF2] Crit-Roll
    Reply With Quote #8

    NoRoll should be a bool, since you're using it like one
    Why are you enabling cheats instead of using the included TF2_AddCondition function
    You should use %N instead of getting the name in a variable
    There is no reason to have a poll
    In your post you listed sm_critroll as a cvar, it is not a cvar, it is a command
    "Reload sm plugins list" doesn't make any sense
    Doing things "late at night" should not excuse it being sloppy or being inefficiently made

    Last edited by noodleboy347; 06-08-2012 at 03:10.
    noodleboy347 is offline
    NameUser
    Senior Member
    Join Date: Apr 2012
    Location: Bay Area, California
    Old 06-08-2012 , 13:36   Re: [TF2] Crit-Roll
    Reply With Quote #9

    Quote:
    Originally Posted by noodleboy347 View Post
    NoRoll should be a bool, since you're using it like one
    Why are you enabling cheats instead of using the included TF2_AddCondition function
    You should use %N instead of getting the name in a variable
    There is no reason to have a poll
    In your post you listed sm_critroll as a cvar, it is not a cvar, it is a command
    "Reload sm plugins list" doesn't make any sense
    Doing things "late at night" should not excuse it being sloppy or being inefficiently made
    The next version will be less sloppy, your majesty. Would you like my plugin removed aswell? People like you really piss me off
    __________________

    Last edited by NameUser; 06-08-2012 at 14:31.
    NameUser is offline
    Send a message via Skype™ to NameUser
    noodleboy347
    AlliedModders Donor
    Join Date: Mar 2009
    Old 06-08-2012 , 16:24   Re: [TF2] Crit-Roll
    Reply With Quote #10

    Quote:
    Originally Posted by NameUser View Post
    The next version will be less sloppy, your majesty. Would you like my plugin removed aswell? People like you really piss me off
    I'm giving feedback, not demanding changes or calling it shit, I'm trying to help you with constructive criticism if you're okay with that
    noodleboy347 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:54.


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