AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D & L4D2] Percentage Limited Ammo Pile [22-November-2022] (https://forums.alliedmods.net/showthread.php?t=340484)

NoroHime 11-21-2022 14:54

[L4D & L4D2] Percentage Limited Ammo Pile [22-November-2022]
 
4 Attachment(s)
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/

Maur0 11-21-2022 16:39

Re: [L4D & L4D2] Percentage Limited Ammo Pile [22-November-2022]
 
Wonderful plugin! I just needed something that would nerf the infinite ammo pile. Thanks a lot and good job! :D :up:

NoroHime 11-22-2022 06:12

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

Originally Posted by Maur0 (Post 2793361)
Wonderful plugin! I just needed something that would nerf the infinite ammo pile. Thanks a lot and good job! :D :up:

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

Maur0 11-22-2022 08:44

Re: [L4D & L4D2] Percentage Limited Ammo Pile [22-November-2022]
 
Good fact. Thank you ;)

HarryPotter 11-22-2022 14:17

Re: [L4D & L4D2] Percentage Limited Ammo Pile [22-November-2022]
 
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?

NoroHime 11-22-2022 15:16

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

Originally Posted by HarryPotter (Post 2793461)
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

HarryPotter 11-24-2022 04:15

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

Originally Posted by NoroHime (Post 2793470)
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:)

Iciaria 12-08-2022 07:06

Re: [L4D & L4D2] Percentage Limited Ammo Pile [22-November-2022]
 
Very nice for realism! :)
do you have plans to have the safehouse ammo stack percentage saved at the end of the round?

NoroHime 12-08-2022 08:37

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

Originally Posted by Iciaria (Post 2794745)
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)

Binhz109 11-02-2023 02:20

Re: [L4D & L4D2] Percentage Limited Ammo Pile [22-November-2022]
 
love this. Thanks for making it


All times are GMT -4. The time now is 10:26.

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