Raised This Month: $ Target: $400
 0% 

[L4D2] Shooting punch controller (client side)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Paimon
Member
Join Date: Jul 2021
Location: Zootopia
Plugin ID:
8590
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 11-19-2023 , 10:17   [L4D2] Shooting punch controller (client side)
    Reply With Quote #1

    Description:

    This plugin allows player control her shooting punch with cookie menu.(Can be customed on client side)

    Usage:
    Just unzip the package and copy them to 'left4dead2' folder.
    Type !pc to set player's own settings.

    Cvars:

    punch_controller_enable: Turn on/off the plugin.

    Source:
    You can find latest source at my GitHub:
    Paimon-Kawaii - L4D2-Plugins/MyPlugins/PunchController

    You need SM 1.12 to compile the source.

    Download:
    Attached Files
    File Type: zip punch_controller.zip (19.6 KB, 119 views)

    Last edited by Paimon; 11-20-2023 at 00:19.
    Paimon is offline
    Kerouha
    Member
    Join Date: Jul 2015
    Location: Russian Federation
    Old 12-06-2023 , 05:25   Re: [L4D2] Shooting punch controller (client side)
    Reply With Quote #2

    Interesting idea, however it breaks the default viewpunch behavior when plugin is enabled.

    If one has an enabled cookie (say they want to have default behavior), it will override punch from being hit by commons. Also punch "magnitude" from firing a weapon becomes fixed, while normally it's affected by moving/crouching.
    Kerouha is offline
    Paimon
    Member
    Join Date: Jul 2021
    Location: Zootopia
    Old 12-07-2023 , 21:52   Re: [L4D2] Shooting punch controller (client side)
    Reply With Quote #3

    Quote:
    Originally Posted by Kerouha View Post
    Interesting idea, however it breaks the default viewpunch behavior when plugin is enabled.

    If one has an enabled cookie (say they want to have default behavior), it will override punch from being hit by commons. Also punch "magnitude" from firing a weapon becomes fixed, while normally it's affected by moving/crouching.
    Yes, you are right. But I have no idea how to fix it because I don't know how they effect punch.

    I had tried to get the original punch-angle but if the convar 'z_gun_horiz_punch' is false, angle always be a zero vector.
    Paimon 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 18:37.


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