Raised This Month: $ Target: $400
 0% 

The Machina Block


Post New Thread Reply   
 
Thread Tools Display Modes
Author
raaymond
Junior Member
Join Date: Sep 2011
Plugin ID:
2651
Plugin Version:
1.0.0
Plugin Category:
All
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This plugin can block The Machina , i hate headshot sounds .
    Old 11-11-2011 , 08:38   The Machina Block
    Reply With Quote #1

    This plugin can block The Machina , i hate headshot sounds .
    They are too noisy !
    Attached Files
    File Type: sp Get Plugin or Get Source (machinablock.sp - 1050 views - 1.0 KB)
    File Type: smx machinablock.smx (2.9 KB, 316 views)

    Last edited by raaymond; 11-11-2011 at 08:40. Reason: add some information
    raaymond is offline
    raaymond
    Junior Member
    Join Date: Sep 2011
    Old 11-11-2011 , 08:40   Re: The Machina Block
    Reply With Quote #2

    this plugin was Modified from
    cowblock
    http://forums.alliedmods.net/showthread.php?p=1517539
    raaymond is offline
    McFlurry
    Veteran Member
    Join Date: Mar 2010
    Location: RemoveEdict(0);
    Old 11-11-2011 , 08:41   Re: The Machina Block
    Reply With Quote #3

    Why not just block the sound instead of the weapon itself?
    __________________
    McFlurry is offline
    Send a message via Skype™ to McFlurry
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 11-11-2011 , 18:44   Re: The Machina Block
    Reply With Quote #4

    Some issues:
    If you are going to strip the weapon, it would be better/nicer to use tf2items to replace their weapon with a substituted sniper rifle.
    __________________
    DarthNinja is offline
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 11-11-2011 , 19:16   Re: The Machina Block
    Reply With Quote #5

    Seems relatively pointless. The cowblock plugin made sense since the laser guns spammed the console with errors. This just seems like a personal issue. I don't really see why people hate the headshot sound.

    If you hate it so much, why not just replace the sound file with silence in your local game files?
    __________________
    Dr. McKay is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 11-12-2011 , 02:39   Re: The Machina Block
    Reply With Quote #6

    McKay:
    The penetration sound is very loud, but I think a plugin that partially/completely mutes that audio would be much more useful.
    __________________
    DarthNinja is offline
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 11-12-2011 , 04:30   Re: The Machina Block
    Reply With Quote #7

    This plugin should, in theory, stop the original Machina double kill sound and play a custom sound located at sound/machina_doublekill_custom.mp3, but it's my first time writing a plugin like this, so don't blame me if it doesn't work.

    I might properly release it later once I test it and refine it. I'm sure the volume of the original sound can be overridden without needing a custom file, but this offers more flexibility, for custom sounds and such.
    Attached Files
    File Type: sp Get Plugin or Get Source (machinasoundoverrider.sp - 803 views - 1,023 Bytes)
    __________________

    Last edited by Dr. McKay; 11-12-2011 at 04:30.
    Dr. McKay is offline
    McFlurry
    Veteran Member
    Join Date: Mar 2010
    Location: RemoveEdict(0);
    Old 11-12-2011 , 14:16   Re: The Machina Block
    Reply With Quote #8

    I wouldn't think stopping that event will actually stop the sound, you're better off using a normal sound hook via AddNormalSoundHook();
    Also a cvar to control the volume of it instead of blocking it and playing a custom might be useful.
    __________________

    Last edited by McFlurry; 11-12-2011 at 14:17.
    McFlurry is offline
    Send a message via Skype™ to McFlurry
    Unreal1
    AlliedModders Donor
    Join Date: Dec 2010
    Old 01-12-2012 , 23:38   Re: The Machina Block
    Reply With Quote #9

    Maybe use this?
    http://docs.sourcemod.net/api/index....d=show&id=677&
    Unreal1 is offline
    SmackDaddy
    Veteran Member
    Join Date: Oct 2009
    Old 11-15-2013 , 10:49   Re: The Machina Block
    Reply With Quote #10

    Quote:
    Originally Posted by DarthNinja View Post
    Some issues:
    If you are going to strip the weapon, it would be better/nicer to use tf2items to replace their weapon with a substituted sniper rifle.
    Anyone have any instruction on how to do this? (using tf2items to replace one weapon for another) Thanks in advance.
    SmackDaddy 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 22:55.


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