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

[L4D & L4D2] Supply Indicator v1.0.1 (8-March-2023)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Plugin ID:
8408
Plugin Version:
1.0.1
Plugin Category:
All
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    glows and reports map supplies count by species
    Old 03-07-2023 , 13:55   [L4D & L4D2] Supply Indicator v1.0.1 (8-March-2023)
    Reply With Quote #1

    about
    • glow the supplies by range, like back4blood scavenger cards, cancel glow when picked
    • report map supplies left on map start / player join / item picking
    • permission configurable who can receive message and use command
    • paid request by my friend "コクシムソウ"


    Credits
    ConVar
    PHP Code:
    // admin flag to access command and receives query results,
    // n=cheats, empty=everyone, see more in /configs/admin_levels.cfg
    supply_indicator_access "n"

    // announce types, 1=console 2=chat 4=center 8=hint 16=text included phrase 'MapLeft'
    supply_indicator_announce "18"

    // l4d2 only, apply glow to supplies, -1=disabled 1000=1000 units range 0=infinity range
    supply_indicator_glow "1000"

    // l4d2 only, does glow flashing
    supply_indicator_glow_flash "1"

    // l4d2 only, glow species, same as *_supplies
    supply_indicator_glow_species "-1"

    // how handle infinity supply pile, 1=count as 1 0=not count -1=count as infinity
    supply_indicator_pile "-1"

    // report event, 1=player join 2=item spawn 4=item picked 8=item pick broadcast -1=all, add numbers together you want.
    supply_indicator_reports "-1"

    // supplies to indicate, 1=vomit jar 2=pipe bomb 4=molotov
    // 8=first aid 16=defibrillator 32=adrenaline 64=pain pills 128=laser -1=All 
    // add numbers together you want.
    supply_indicator_supplies "-1" 
    Command
    PHP Code:
    "sm_si"
     
    sm_si [override *_supplies//report count of supplies
    "sm_supplies"
     
    sm_supplies [override *_supplies//report count of supplies 
    changelog
    • v0.1 (7-March-2023)
      - pre release
    • v1.0 (8-March-2023)
      - just released
    • v1.0.1 (8-March-2023, 2nd time)
      - fix player delay authorize not trigger supplie report, usually happen on listen server
      - make message dont print to bot
      - optimize performance about reports to all (reduce an order of magnitude)
      - command support trigger by console

    Installation
    • put l4d_supply_indicator.smx on /plugins/
    • put l4d_supply_indicator.phrases.txt on /translations/
    Attached Thumbnails
    Click image for larger version

Name:	resource_left.jpg
Views:	977
Size:	89.0 KB
ID:	199810  
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_supply_indicator.sp - 430 views - 19.1 KB)
    File Type: txt l4d_supply_indicator.phrases.txt (1.4 KB, 235 views)
    File Type: cfg l4d_supply_indicator.zh-cn.cfg (1.4 KB, 185 views)
    __________________

    Last edited by NoroHime; 03-08-2023 at 03:26.
    NoroHime is offline
    Sh3nha1
    New Member
    Join Date: May 2023
    Old 05-13-2023 , 13:37   Re: [L4D & L4D2] Supply Indicator v1.0.1 (8-March-2023)
    Reply With Quote #2

    Sorry, I added the tips of M60 and Grenade Launcher, but the glow will not disappear after picking up, how to solve it
    Sh3nha1 is offline
    0ldfox
    New Member
    Join Date: Jun 2023
    Old 06-04-2023 , 11:03   Re: [L4D & L4D2] Supply Indicator v1.0.1 (8-March-2023)
    Reply With Quote #3

    Quote:
    Originally Posted by Sh3nha1 View Post
    Sorry, I added the tips of M60 and Grenade Launcher, but the glow will not disappear after picking up, how to solve it
    yes ,me too
    0ldfox is offline
    NoroHime
    Veteran Member
    Join Date: Aug 2016
    Location: bed
    Old 06-05-2023 , 01:53   Re: [L4D & L4D2] Supply Indicator v1.0.1 (8-March-2023)
    Reply With Quote #4

    Quote:
    Originally Posted by 0ldfox View Post
    yes ,me too
    in fact i dont known what you said, show the code? they not wrote by me
    __________________
    NoroHime is offline
    0ldfox
    New Member
    Join Date: Jun 2023
    Old 06-06-2023 , 11:17   Re: [L4D & L4D2] Supply Indicator v1.0.1 (8-March-2023)
    Reply With Quote #5

    Quote:
    Originally Posted by NoroHime View Post
    in fact i dont known what you said, show the code? they not wrote by me
    I added the tips of M60 and Grenade Launcher, but the glow will not disappear after picking up, how to solve it
    Attached Thumbnails
    Click image for larger version

Name:	left4dead2 2023-06-06 23-07-11-98.jpg
Views:	165
Size:	106.4 KB
ID:	200791   Click image for larger version

Name:	left4dead2 2023-06-06 23-07-19-69.jpg
Views:	128
Size:	105.8 KB
ID:	200792  
    0ldfox 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 19:23.


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