Raised This Month: $7 Target: $400
 1% 

[CSS] Weapon Noblock


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Kingo
New Member
Join Date: Jun 2011
Plugin ID:
2706
Plugin Version:
1.0.1
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    15 
    Plugin Description:
    The ability to use Noblock for weapons.
    Old 12-14-2011 , 03:45   [CSS] Weapon Noblock
    Reply With Quote #1

    Weapon Noblock

    Description:
    Weapon Noblock is a simple plugin that allows weapons to pass through each other.

    Cvars:
    • sm_weaponnoblock_version - Plugin Version
    • sm_weaponnoblock_enable - Enables or disables the plugin

    Installation:
    1. Download the SMX file.
    2. Browse your server files
    3. Goto cstrike/addons/sourcemod/plugins
    4. Place the SMX in the folder.
    5. Change the map or restart the server.

    Changelog:
    -> 1.0.0
    • Public Release
    -> 1.0.1
    • Removed OnGameFrame
    • Removes Weapon Collision on round start
    • Removes Weapon Collision on Weapon Drop
    Attached Files
    File Type: sp Get Plugin or Get Source (WeaponNoblock.sp - 2694 views - 1.4 KB)

    Last edited by Dr!fter; 11-09-2012 at 09:56. Reason: Forgot to add something.
    Kingo is offline
    Azzar.
    SourceMod Donor
    Join Date: Jan 2011
    Location: Australia
    Old 12-14-2011 , 04:07   Re: [CSS] Weapon Noblock
    Reply With Quote #2

    Thanks Kingo, good idea to make this plugin public.
    __________________
    Azzar. is offline
    LiMaaa
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Behind You
    Old 12-14-2011 , 09:16   Re: [CSS] Weapon Noblock
    Reply With Quote #3

    Great plugin, simple but functional. Will be using it on my server soon. Thanks Kingo.
    __________________
    >>> Hiring SourcePawn, Node.js, SteamAPI DEVS <<<
    Feel free to add me on steam or PM me on the forums.
    Endless Gamers Community
    http://endlessgamers.com
    LiMaaa is offline
    al1alu
    Senior Member
    Join Date: Jun 2011
    Old 12-16-2011 , 02:35   Re: [CSS] Weapon Noblock
    Reply With Quote #4

    this noblock of weapons work for props too?

    thanks
    al1alu is offline
    schmidt
    BANNED
    Join Date: Mar 2010
    Location: Milky Way/Earth
    Old 12-16-2011 , 03:35   Re: [CSS] Weapon Noblock
    Reply With Quote #5

    omg, 'while((Weapon = FindEntityByClassname(Weapon,"weapon_*")) != -1)' in 'OnGameFrame()' = a serious load on the server (i think). Probably better use CS_OnCSWeaponDrop.

    Last edited by schmidt; 12-16-2011 at 03:37.
    schmidt is offline
    Send a message via Skype™ to schmidt
    Kingo
    New Member
    Join Date: Jun 2011
    Old 12-16-2011 , 05:25   Re: [CSS] Weapon Noblock
    Reply With Quote #6

    Quote:
    Originally Posted by schmidt View Post
    omg, 'while((Weapon = FindEntityByClassname(Weapon,"weapon_*")) != -1)' in 'OnGameFrame()' = a serious load on the server (i think). Probably better use CS_OnCSWeaponDrop.
    Fixed.
    Kingo is offline
    Azzar.
    SourceMod Donor
    Join Date: Jan 2011
    Location: Australia
    Old 12-21-2011 , 23:34   Re: [CSS] Weapon Noblock
    Reply With Quote #7

    Nice patch, thanks.
    __________________
    Azzar. is offline
    GD_Nano
    New Member
    Join Date: Apr 2011
    Old 04-22-2012 , 11:15   Re: [CSS] Weapon Noblock
    Reply With Quote #8

    Plugin works fine, but not includes Grenades.
    GD_Nano is offline
    LiMaaa
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Behind You
    Old 06-20-2012 , 22:19   Re: [CSS] Weapon Noblock
    Reply With Quote #9

    Are grenades no clipped as well Kingo?
    __________________
    >>> Hiring SourcePawn, Node.js, SteamAPI DEVS <<<
    Feel free to add me on steam or PM me on the forums.
    Endless Gamers Community
    http://endlessgamers.com
    LiMaaa is offline
    Dr!fter
    The Salt Boss
    Join Date: Mar 2007
    Old 11-09-2012 , 09:50   Re: [CSS] Weapon Noblock
    Reply With Quote #10

    You shouldn't use FindSendPropOffs

    use SetEntProp to set the collision group.

    so

    SetEntData(weaponIndex, Collision, 1, 4, true);

    Would be

    SetEntProp(weaponIndex, Prop_Send, "m_CollisionGroup", 1);

    Last edited by Dr!fter; 11-09-2012 at 09:51.
    Dr!fter 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 01:09.


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