Monthly Target: $400 Donations: $126
 31% 

[TF2] tf_weapon_criticals 0 simulator


Post New Thread Reply   
 
Thread Tools Display Modes
Author
FlaminSarge
Veteran Member
Join Date: Jul 2010
Plugin ID:
2845
Plugin Version:
1.2
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Simulates tf_weapon_criticals 0 on a server with tf_weapon_criticals 1. Useful for use with other plugins that depend on the CalcIsAttackCritical forward
    Old 03-20-2012 , 20:53   [TF2] tf_weapon_criticals 0 simulator
    Reply With Quote #1

    Basically just provides tf_weapon_criticals 0 while still allowing the TF2_CalcIsAttackCritical forward to fire.
    For use with any plugin that depends on that forward.

    Cvars (cvar default value : description):
    sm_tf_wep_crit_ver 1.2 : version number
    sm_tf_weapon_criticals 0 : Enable/disable criticals. Functions just like tf_weapon_criticals does.

    LEAVE tf_weapon_criticals 1 WHILE USING THIS PLUGIN.

    Changelog:

    Code:
    03/26/2012 (v1.2)
    *Now properly modifies sv_tags
    
    03/20/2012 (v1.1)
    *Fixed Gunslinger, charging crits.
    
    03/20/2012 (v1.0)
    *Initial release
    Previous total plugin views - 48
    Attached Files
    File Type: sp Get Plugin or Get Source (tf_weapon_criticals.sp - 650 views - 3.6 KB)
    __________________
    Bread EOTL GunMettle Invasion will break everything. Don't even ask.

    All plugins: Randomizer/GiveWeapon, ModelManager, etc. (+SaxtonHale)
    Don't ask me about SourceMod stuff on Steam; instead, post in a thread or send PM here. You will be fed to javalia otherwise.
    Psyduck likes replays.

    Last edited by FlaminSarge; 11-24-2012 at 21:03.
    FlaminSarge is offline
    FlaminSarge
    Veteran Member
    Join Date: Jul 2010
    Old 03-20-2012 , 22:04   Re: [TF] tf_weapon_criticals 0 simulator
    Reply With Quote #2

    Reserved, I guess.
    __________________
    Bread EOTL GunMettle Invasion will break everything. Don't even ask.

    All plugins: Randomizer/GiveWeapon, ModelManager, etc. (+SaxtonHale)
    Don't ask me about SourceMod stuff on Steam; instead, post in a thread or send PM here. You will be fed to javalia otherwise.
    Psyduck likes replays.
    FlaminSarge is offline
    Leonardo
    Veteran Member
    Join Date: Feb 2010
    Location: Soviet Union
    Old 03-21-2012 , 02:05   Re: [TF] tf_weapon_criticals 0 simulator
    Reply With Quote #3

    Y U NO hook Weapon_ShootPosition intead of using TF2_CalcIsAttackCritical?
    Leonardo is offline
    FlaminSarge
    Veteran Member
    Join Date: Jul 2010
    Old 03-21-2012 , 02:13   Re: [TF] tf_weapon_criticals 0 simulator
    Reply With Quote #4

    Because this plugin is specifically about criticals?

    And Weapon_ShootPosition has an issue with knives?
    I would mention gamedata, but eh.
    __________________
    Bread EOTL GunMettle Invasion will break everything. Don't even ask.

    All plugins: Randomizer/GiveWeapon, ModelManager, etc. (+SaxtonHale)
    Don't ask me about SourceMod stuff on Steam; instead, post in a thread or send PM here. You will be fed to javalia otherwise.
    Psyduck likes replays.
    FlaminSarge is offline
    asherkin
    SourceMod Developer
    Join Date: Aug 2009
    Location: OnGameFrame()
    Old 03-26-2012 , 08:33   Re: [TF] tf_weapon_criticals 0 simulator
    Reply With Quote #5

    This needs to add the required "nocrits" tag when enabled.
    Due to the risk of servers being delisted due to running this plugin, I have no choice but to unapprove it for now.
    __________________

    Last edited by asherkin; 03-26-2012 at 08:34.
    asherkin is offline
    FlaminSarge
    Veteran Member
    Join Date: Jul 2010
    Old 03-26-2012 , 17:55   Re: [TF] tf_weapon_criticals 0 simulator
    Reply With Quote #6

    Fixed.
    __________________
    Bread EOTL GunMettle Invasion will break everything. Don't even ask.

    All plugins: Randomizer/GiveWeapon, ModelManager, etc. (+SaxtonHale)
    Don't ask me about SourceMod stuff on Steam; instead, post in a thread or send PM here. You will be fed to javalia otherwise.
    Psyduck likes replays.
    FlaminSarge is offline
    cool_myll
    SourceMod Donor
    Join Date: Aug 2011
    Old 06-23-2013 , 13:50   Re: [TF2] tf_weapon_criticals 0 simulator
    Reply With Quote #7

    People complaining that they hear the crit sound now but there isnt any crit. Is it a sideeffect of the plugin?
    __________________
    cool_myll is offline
    FlaminSarge
    Veteran Member
    Join Date: Jul 2010
    Old 06-24-2013 , 01:04   Re: [TF2] tf_weapon_criticals 0 simulator
    Reply With Quote #8

    It's possible, since some weapons calculate crits clientside as well for the sounds and animations. I'm not sure how to fix that, sadly. However, with an upcoming SM TF2 extension update (hopefully), this plugin will no longer be needed as TF2_CalcIsAttackCritical will work with crits disabled.
    __________________
    Bread EOTL GunMettle Invasion will break everything. Don't even ask.

    All plugins: Randomizer/GiveWeapon, ModelManager, etc. (+SaxtonHale)
    Don't ask me about SourceMod stuff on Steam; instead, post in a thread or send PM here. You will be fed to javalia otherwise.
    Psyduck likes replays.

    Last edited by FlaminSarge; 06-24-2013 at 01:04.
    FlaminSarge is offline
    cool_myll
    SourceMod Donor
    Join Date: Aug 2011
    Old 06-24-2013 , 14:20   Re: [TF2] tf_weapon_criticals 0 simulator
    Reply With Quote #9

    Quote:
    Originally Posted by FlaminSarge View Post
    It's possible, since some weapons calculate crits clientside as well for the sounds and animations. I'm not sure how to fix that, sadly. However, with an upcoming SM TF2 extension update (hopefully), this plugin will no longer be needed as TF2_CalcIsAttackCritical will work with crits disabled.
    SM TF2 extension? Something you are working on? I wanted to try this to see if it fixes this bug?

    http://www.youtube.com/watch?v=LOY5S6ZW4HI

    MasteroftheXP suggested it here: http://forums.alliedmods.net/showpos...&postcount=198
    __________________
    cool_myll is offline
    FlaminSarge
    Veteran Member
    Join Date: Jul 2010
    Old 06-24-2013 , 17:02   Re: [TF2] tf_weapon_criticals 0 simulator
    Reply With Quote #10

    http://bugs.alliedmods.net/show_bug.cgi?id=5576

    The Bazaar Bargain is weird.
    __________________
    Bread EOTL GunMettle Invasion will break everything. Don't even ask.

    All plugins: Randomizer/GiveWeapon, ModelManager, etc. (+SaxtonHale)
    Don't ask me about SourceMod stuff on Steam; instead, post in a thread or send PM here. You will be fed to javalia otherwise.
    Psyduck likes replays.
    FlaminSarge is offline
    Reply


    Thread Tools
    Display Modes

    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 12:37.


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