Raised This Month: $79 Target: $400
 19% 

[L4D & L4D2] Use Priority Patch (1.0a) [25-Sep-2020]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
7300
Plugin Version:
1.0a
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Patches CBaseEntity::GetUsePriority preventing prop_dynamic* blocking +USE.
    Old 09-23-2020 , 23:25   [L4D & L4D2] Use Priority Patch (1.0a) [25-Sep-2020]
    Reply With Quote #1

    BUG: Prevents picking up weapons which are next to other objects. Will review and fix soon. Suggest not using yet.


    About:
    • This plugin stops prop_dynamic* entities attached to players blocking their +USE ability in some/most/all instances (not entirely sure).
    • It lowers the priority of +USE on prop_dynamic* entities, most others seem to have higher priority than 0 (maybe can set to -1 instead).
    • This plugin was mostly written to fix Attachment_API viewmodel blocking +USE (used by Glare and Weapon Charms plugins).
    • Might also help fix issues with Hats plugin and others attaching stuff to players.
    • Might not be required in L4D1 but it's supported anyway.
    • Currently only tested on Windows L4D1 and L4D2, but I think Linux should also work.


    Thanks:
    • ProdigySim, hmmmmm and maximsmol - For helping me try to read the memory address from another function in L4D1 instead of the current bad practice method (reading past short function end).


    Changes:
    Code:
    1.0a (25-Feb-2020)
        - Fixed Linux gamedata.
    
    1.0 (24-Feb-2020)
        - Initial release.


    Installation:
    1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
    2. Download the .txt gamedata file and put into your servers \addons\sourcemod\gamedata\ folder.
    Attached Files
    File Type: txt l4d_use_priority.txt (1.7 KB, 27 views)
    File Type: sp Get Plugin or Get Source (l4d_use_priority.sp - 94 views - 4.4 KB)
    __________________

    Last edited by Silvers; 09-25-2020 at 22:30.
    Silvers is offline
    Yuno Gasai
    New Member
    Join Date: Sep 2020
    Old 09-25-2020 , 09:30   Re: [L4D & L4D2] Use Priority Patch (1.0) [24-Sep-2020]
    Reply With Quote #2

    Hello there can you like bring out a plugin that allows you to use the new 2 meele weapons in every map? and that one plugin that allows you to spawn them with the sourcemod menu.
    That would be really great
    Yuno Gasai is offline
    Silvers
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 09-25-2020 , 13:13   Re: [L4D & L4D2] Use Priority Patch (1.0) [24-Sep-2020]
    Reply With Quote #3

    Quote:
    Originally Posted by Yuno Gasai View Post
    Hello there can you like bring out a plugin that allows you to use the new 2 meele weapons in every map? and that one plugin that allows you to spawn them with the sourcemod menu.
    That would be really great
    Totally offtopic and wrong place to request. I've already released a bunch of melee spawning plugins and they've been updated to support the new melee weapons. See my sig for plugins link.
    __________________
    Silvers 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:28.


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