Left 4 Dead 2

Left 4 Dead 2

107 ratings
More Items
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.775 KB
4 Nov, 2024 @ 3:30am
11 Apr @ 3:29pm
17 Change Notes ( view )

Subscribe to download
More Items

Description
About
This addon will help increase the overall amount of items spawned on every map.
Item density is increased to 12 items from the previous 6.48 items. Essentially a x2 increase to overall spawned items.

Item Density
The item density is calculated per 100 square yards. Which is the eqivalent of a hammer cube with each side being 360 units long.
1 inch = 1 unit. 1 yard = 36 inches/units. 100 square yards = 10x10 yards (360x360 inches/units).
https://developer.valvesoftware.com/wiki/Info_map_parameters/Left_4_Dead_series

Why did I make this?
I realized very quickly that out of the 170,000+ addons in the workshop there were none that just simply increased the amount of items using the maps predefined spawn locations. There are ones that drop items when you kill an infected (common or special), or ones that spawns random items when you break something, as well as one more that has extra manually placed items on top of what the original map has but this one only works for the original campaigns and not all the workshop campaigns. My addon works for all campaigns even workshop, when there are unused spawn locations that don't currently have an item, my addon will help fill those locations.

How to use?
You must use this addon as the host of a local host server or host your own dedicated server with this addon installed. This addon will not work on Official Dedicated servers from Valve.

What do I have to do?
Subscribe to the addon that's it. Everything else is handled for you.

What game modes are supported?
Campaign and Tank Run were tested and work well. Any game mode that has spawn locations that traditionally are not always used, then my addon should work for those game modes and spawn more items.

Does this work on workshop campaigns?
Yes. Please read the next question and answer to learn more.

Why don't I see more items on workshop campaigns?
Every map has dedicated spawn locations where items can spawn. These locations are predefined by the level designer. If the level designer places for example 10 spawn locations and only fills 5 of those 10 locations, then this addon will help fill those last 5 unused spawn locations. But if the level designer uses all 10 locations 100% of the time you will notice no extra items spawning.

Why do I see way more items on Valve created campaigns compared to workshop campaigns?
On Valve campaigns there are many predefined spawn locations so that items are always spawning in different areas. This of course allows for RNG so the same items are not always where you would expect them to be. With this addon installed it helps fill those empty spawn locations. Some workshop maps have much less predefined spawn locations so depending on the map you might notice less.

What is the default value of items spawning?
Valve has 6.48 items every 10x10 yards. With this addon installed it brings it up to 12 items every 10x10 yards.

Why did you only choose to increase it to 12 items?
I tried 100, 50, 30 and 12. I found that at higher item counts it could on rare occasions crash workshop maps because it would hit the entity limit. After testing many workshop maps I found that 12 was a good compromise of extra items and having game stability for not crashing.

Can I upload my own version of this addon?
Yes. The base code of this addon (pinned discussion) is available for you to inspect, learn, and distribute your own version. You are not required to credit me if you wish not to. If you do credit me thank you!

Credits
DARG367 - Creation of the addon.
GAG - Testing.
Aguangel - Testing.
Chairman - Testing.
housledrift - Testing.
Popular Discussions View All (1)
0
20 Jan @ 4:27pm
PINNED: Source Code
DARG
21 Comments
xSporez 16 Jun @ 4:21am 
Oh wait I just noticed its bcs of another mod I got that gives m60s a chance to spawn on every campaign in place of a GL spawn instead
xSporez 16 Jun @ 4:08am 
I noticed that spawn as well bcs of this mod, sometimes it has 2 m60s there instead haha
DARG  [author] 9 Jun @ 3:39am 
@veniarno24 Yes but only in areas where the level designer has it allowed to be spawned. For example in No Mercy 2nd chapter the first subway car once you go up the stairs from the saferoom you will find one close to the subway car in the tunnel usually with an M60 as well.
veniarno24 9 Jun @ 3:36am 
Does this increase the chance of grenade launcher spawn?
DARG  [author] 1 Feb @ 5:58pm 
Feel free to add me I can give you 3 versions values 1, 2 and 3 and you can choose what works best for you. I'll send them over later after I'm off L4D2.
rockit! 1 Feb @ 5:51pm 
Thats okay, honestly I would still be interested in trying that version that you tried i think I might be able to get it to work with some other scripts. Thanks anyway I appreciate it!
DARG  [author] 1 Feb @ 4:10pm 
@rockit! I tried lowering the values to 3 and 1. 3 showed almost no significant change from the games default value of 6.48. Then when I set it to 1 it worked but as you would imagine it only had 1 item tucked away in a random corner. Which most players might not enjoy or ever find.

This is not exactly what I would want from a Spawn Less Items script so I won't be publishing that version anymore sorry.

I do have the "Code for the addon" in a pinned discussion on this page. You are free to take it and make any alterations you would like and publish your own version if you like with the 1 value if you wish to go down that route.

Sorry that I couldn't be of help.
rockit! 1 Feb @ 3:24pm 
Awesome, I'll have to try it. I'm hoping its the exact solution I need :steamthumbsup:
DARG  [author] 1 Feb @ 3:21pm 
Yes I was planning on making a “Spawn Less Items” script as well. I’ll release it in about an hour. I’ll probably set it to 3 every 10 x 10 yards. So 50% of the default game value.
rockit! 1 Feb @ 3:18pm 
Yeah I guess I'm trying to reduce the amount of items that spawn so theyre harder to find, but also randomize them so that they could be anything any time you encounter them.

So for example, when you spawn into a campaign the items on the starting table are always about the same, 4 medkits, 2 T1 smgs or 2 T1 shotguns, I'm trying to see if through scripting I can randomize any items that spawn as well as lowering the average amount of items that do spawn so its not as easy to hit the entity limit the engine has.