Raised This Month: $51 Target: $400
 12% 

[L4D2] Simple Survivor Sprite (position and thirdstrike checker) v2.15【2024-04-27】


Post New Thread Reply   
 
Thread Tools Display Modes
Author
little_froy
Senior Member
Join Date: May 2021
Plugin ID:
8547
Plugin Version:
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 09-21-2023 , 08:14   [L4D2] Simple Survivor Sprite (position and thirdstrike checker) v2.15【2024-04-27】
    Reply With Quote #1

    Description
    • add sprites to survivors, two type can be config - normal sprite and thirdstrike sprite. then you can check the positon and thirdstrike of survivors.
    • optional use Attachments API to fix wrong attachment position after player model changed.



    Cvars
    PHP Code:
    // 1 = enable normal sprite, 2 = enable thirdstrike sprite. add numbers together
    // -
    // Default: "3"
    // Minimum: "0.000000"
    // Maximum: "3.000000"
    survivor_sprite_enable "3"

    // render alpha of normal sprite
    // -
    // Default: "255"
    // Minimum: "0.000000"
    // Maximum: "255.000000"
    survivor_sprite_normal_alpha "255"

    // bone of normal sprite. leave empty to disable
    // -
    // Default: "forward"
    survivor_sprite_normal_bone "forward"

    // render color of normal sprite, split up with space
    // -
    // Default: "0 255 0"
    survivor_sprite_normal_color "0 255 0"

    // model of normal sprite
    // -
    // Default: "materials/vgui/icon_arrow_down.vmt"
    survivor_sprite_normal_model "materials/vgui/icon_arrow_down.vmt"

    // position of normal sprite, split up with space
    // -
    // Default: "0.0 0.0 20.0"
    survivor_sprite_normal_pos "0.0 0.0 20.0"

    // duration of pulse to show normal sprite. lower than 0.1 = disable
    // -
    // Default: "0.3"
    survivor_sprite_normal_pulse_duration "0.3"

    // interval of pulse to show normal sprite. lower than 0.1 = disable
    // -
    // Default: "0.3"
    survivor_sprite_normal_pulse_interval "0.3"

    // scale of normal sprite
    // -
    // Default: "0.4"
    survivor_sprite_normal_scale "0.4"

    // 1 = enable, 0 = disable. can normal sprite be seen through things solid?
    // -
    // Default: "0"
    survivor_sprite_normal_through_things "0"

    // render alpha of thirdstrike sprite
    // -
    // Default: "255"
    // Minimum: "0.000000"
    // Maximum: "255.000000"
    survivor_sprite_thirdstrike_alpha "255"

    // bone of thirdstrike sprite. leave empty to disable
    // -
    // Default: "spine"
    survivor_sprite_thirdstrike_bone "spine"

    // render color of thirdstrike sprite, split up with space
    // -
    // Default: "255 255 255"
    survivor_sprite_thirdstrike_color "255 255 255"

    // model of thirdstrike sprite
    // -
    // Default: "materials/vgui/hud/icon_medkit.vmt"
    survivor_sprite_thirdstrike_model "materials/vgui/hud/icon_medkit.vmt"

    // position of thirdstrike sprite, split up with space
    // -
    // Default: "0.0 0.0 0.0"
    survivor_sprite_thirdstrike_pos "0.0 0.0 0.0"

    // duration of pulse to show thirdstrike sprite. lower than 0.1 = disable
    // -
    // Default: "0.3"
    survivor_sprite_thirdstrike_pulse_duration "0.3"

    // interval of pulse to show thirdstrike sprite. lower than 0.1 = disable
    // -
    // Default: "0.3"
    survivor_sprite_thirdstrike_pulse_interval "0.3"

    // scale of thirdstrike sprite
    // -
    // Default: "0.1"
    survivor_sprite_thirdstrike_scale "0.1"

    // 1 = enable, 0 = disable. can thirdstrike sprite be seen through things solid?
    // -
    // Default: "0"
    survivor_sprite_thirdstrike_through_things "0" 
    Forwards
    Spoiler


    Related Plugins
    Change log
    Spoiler
    Attached Files
    File Type: inc survivor_sprite.inc (1.7 KB, 32 views)
    File Type: sp Get Plugin or Get Source (survivor_sprite.sp - 6 views - 27.5 KB)

    Last edited by little_froy; Yesterday at 03:19.
    little_froy is offline
    little_froy
    Senior Member
    Join Date: May 2021
    Old 09-23-2023 , 02:50   Re: [L4D2] Simple Survivor Sprite (position and thirdstrike checker) v1.5【2023-09-22】
    Reply With Quote #2

    reserved.

    Last edited by little_froy; 09-24-2023 at 01:17.
    little_froy is offline
    kochiurun119
    BANNED
    Join Date: Sep 2014
    Location: GB
    Old 09-24-2023 , 13:09   Re: [L4D2] Simple Survivor Sprite (position and thirdstrike checker) v1.5【2023-09-22】
    Reply With Quote #3

    nice
    kochiurun119 is offline
    Send a message via ICQ to kochiurun119 Send a message via AIM to kochiurun119 Send a message via Yahoo to kochiurun119 Send a message via Skype™ to kochiurun119
    little_froy
    Senior Member
    Join Date: May 2021
    Old 12-05-2023 , 13:07   Re: [L4D2] Simple Survivor Sprite (position and thirdstrike checker) v2.0【2023-12-04】
    Reply With Quote #4

    found new normal sprite model
    little_froy is offline
    ZBzibing
    Senior Member
    Join Date: Dec 2012
    Old 02-22-2024 , 11:44   Re: [L4D2] Simple Survivor Sprite (position and thirdstrike checker) v2.10【2024-02-22
    Reply With Quote #5

    I hope to support L4D1.
    __________________
    Please forgive, If I'm not describing it accurately. I use google translate
    Functional tests are all from L4D1, and are only keen to solve and fix various bugs of L4D1:
    ZBzibing is offline
    little_froy
    Senior Member
    Join Date: May 2021
    Old 02-22-2024 , 12:09   Re: [L4D2] Simple Survivor Sprite (position and thirdstrike checker) v2.10【2024-02-22
    Reply With Quote #6

    Quote:
    Originally Posted by ZBzibing View Post
    I hope to support L4D1.
    I don't own this game, I can't scan correct model of sprite in game file and test.

    Last edited by little_froy; 02-22-2024 at 12:13.
    little_froy 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 17:08.


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