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

[L4D & L4D2] Percentage Limited Ammo Pile [22-November-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Plugin ID:
8295
Plugin Version:
1.0
Plugin Category:
All
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    ammo pile has shared limited ammo, dont waste any bullet
    Old 11-21-2022 , 14:54   [L4D & L4D2] Percentage Limited Ammo Pile [22-November-2022]
    Reply With Quote #1

    about
    • ammo pile has shared limited ammo, but has percentage here
    • dynamic ammo pool if survivor increases or decreases
    • if im not satisfied existing things then i'll made myself haha
    • translations file default have en/zho/chi, edit your self if needed

    Intro Video
    [L4D & L4D2] Percentage Limited Ammo Pile (SourceMod)


    ConVar
    PHP Code:
    // announce types 0=dont announce 1=center 2=chat 4=hint. add numbers together you want
    percentage_ammopile_announce "2"

    // percent of ammo pile limit
    // -1=auto scaled by survivor count 1.0=shared 100% ammo, 4.0=shared 400% ammo
    percentage_ammopile_limit "-1"

    // factor to scale the ammo limit, usually use on *_limit=-1
    percentage_ammopile_scale "0.5" 

    todo
    • during early access, not test many time, please report if has any issue, if not updated that mean not problem found

    Related plugin
    changelog
    • v1.0 just releases; 22-November-2022


    Installation
    • put l4d_percentage_ammopile.smx on /plugins/
    • put l4d_percentage_ammopile.phrases.txt on /translations/
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_percentage_ammopile.sp - 528 views - 9.6 KB)
    File Type: txt l4d_percentage_ammopile.phrases.txt (632 Bytes, 364 views)
    __________________

    Last edited by NoroHime; 11-23-2022 at 16:57.
    NoroHime is offline
    Maur0
    Senior Member
    Join Date: Aug 2020
    Old 11-21-2022 , 16:39   Re: [L4D & L4D2] Percentage Limited Ammo Pile [22-November-2022]
    Reply With Quote #2

    Wonderful plugin! I just needed something that would nerf the infinite ammo pile. Thanks a lot and good job!
    Maur0 is offline
    NoroHime
    Veteran Member
    Join Date: Aug 2016
    Location: bed
    Old 11-22-2022 , 06:12   Re: [L4D & L4D2] Percentage Limited Ammo Pile [22-November-2022]
    Reply With Quote #3

    Quote:
    Originally Posted by Maur0 View Post
    Wonderful plugin! I just needed something that would nerf the infinite ammo pile. Thanks a lot and good job!
    thanks, you can also try another limited ammo pile,it maintain by HarryPotter on github.
    just incidentally, the plugin percentage mean base on weapon's reserved ammo,
    if 50% limited here, m60 have 300(150+150), this can fill 150ammo
    __________________
    NoroHime is offline
    Maur0
    Senior Member
    Join Date: Aug 2020
    Old 11-22-2022 , 08:44   Re: [L4D & L4D2] Percentage Limited Ammo Pile [22-November-2022]
    Reply With Quote #4

    Good fact. Thank you ;)

    Last edited by Maur0; 11-22-2022 at 08:44.
    Maur0 is offline
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 11-22-2022 , 14:17   Re: [L4D & L4D2] Percentage Limited Ammo Pile [22-November-2022]
    Reply With Quote #5

    If there are 10 survivors in my server,
    each ammo pile has 500% of ammo limit, right?

    What if a bot got kicked when ammo pile has 10% left? Will it be removed?
    __________________
    HarryPotter is offline
    NoroHime
    Veteran Member
    Join Date: Aug 2016
    Location: bed
    Old 11-22-2022 , 15:16   Re: [L4D & L4D2] Percentage Limited Ammo Pile [22-November-2022]
    Reply With Quote #6

    Quote:
    Originally Posted by HarryPotter View Post
    If there are 10 survivors in my server,
    each ammo pile has 500% of ammo limit, right?

    What if a bot got kicked when ammo pile has 10% left? Will it be removed?
    right, plugin record used percent, rather than remaining.
    check only happen on use ammo pile, so ammo pile removal happen on next use
    __________________

    Last edited by NoroHime; 11-22-2022 at 15:16.
    NoroHime is offline
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 11-24-2022 , 04:15   Re: [L4D & L4D2] Percentage Limited Ammo Pile [22-November-2022]
    Reply With Quote #7

    Quote:
    Originally Posted by NoroHime View Post
    right, plugin record used percent, rather than remaining.
    check only happen on use ammo pile, so ammo pile removal happen on next use
    Wonderful, great plugin
    __________________
    HarryPotter is offline
    Iciaria
    Member
    Join Date: Aug 2022
    Old 12-08-2022 , 07:06   Re: [L4D & L4D2] Percentage Limited Ammo Pile [22-November-2022]
    Reply With Quote #8

    Very nice for realism!
    do you have plans to have the safehouse ammo stack percentage saved at the end of the round?
    __________________
    Sorry,my english not good
    Iciaria is offline
    NoroHime
    Veteran Member
    Join Date: Aug 2016
    Location: bed
    Old 12-08-2022 , 08:37   Re: [L4D & L4D2] Percentage Limited Ammo Pile [22-November-2022]
    Reply With Quote #9

    Quote:
    Originally Posted by Iciaria View Post
    Very nice for realism!
    do you have plans to have the safehouse ammo stack percentage saved at the end of the round?
    yes i was planned that through [L4D1? & L4D2] Transition Forward
    -----
    edit:
    at this time its harder thing to do for me , I cant find any way to determine does the ammo pile has transitioned (without Dhooks)
    __________________

    Last edited by NoroHime; 12-08-2022 at 13:29.
    NoroHime is offline
    Binhz109
    Junior Member
    Join Date: May 2022
    Old 11-02-2023 , 02:20   Re: [L4D & L4D2] Percentage Limited Ammo Pile [22-November-2022]
    Reply With Quote #10

    love this. Thanks for making it

    Last edited by Binhz109; 11-02-2023 at 02:21.
    Binhz109 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 20:16.


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