Left 4 Dead 2

Left 4 Dead 2

82 arvostelua
Deployable Weapons Cache
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Game Content: Weapons, Scripts, Textures
Game Modes: Single Player, Co-op
Tiedostokoko
Julkaistu
Päivitetty
706.602 KB
18.1. klo 22.40
11.5. klo 19.06
2 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Deployable Weapons Cache

Kuvaus
The world might be ending, but Whitakers Gun Shop is open 364 days a year! To capitalise on the influx of customers in need of guns, he's started offloading them in caches.

Deployable weapons caches replace the incendiary ammo upgrade. When deployed, they'll spawn a number of weapons on the ground. Any gun and the chainsaw can spawn.

By default, 3 weapons will be spawned, but you can customise the mod to spawn any number you want. To customise it, edit "ems\deployable_weapons\weapons.txt".

This mod also includes a custom texture for the cache to show that it spawns weapons.

Thank you to Pwnage Peanut for fixing the ammo crisis
36 kommenttia
\hey!/ 20.5. klo 20.44 
Can you make a high-explosive version, please?
Geebanger0  [tekijä] 11.5. klo 19.04 
oh wow it actually did it that's crazy bro lmao
Geebanger0  [tekijä] 11.5. klo 19.03 
what? theres no way that-
Pwnage Peanut 11.5. klo 17.40 
I believe I found the solution :steamhappy:

Since the reserve ammo section was left blank, the game gave it the default value of 0, so if we declare it ourselves, we can now have reserve ammo!

For example, to give the AK47 ammo, we use this:

SpawnEntityFromTable("weapon_rifle_ak47", {Ammo = 360, origin = position1, angles = angles1.ToKVString()})

And it will now give it the default value of 360 ammo in reserve!
Pwnage Peanut 11.5. klo 17.28 
Ok so the temporary solution I've found is to combine it with your ammo reserve script, giving it effectively both abilities.
Geebanger0  [tekijä] 11.5. klo 17.09 
i know but idk how to fix it
Pwnage Peanut 11.5. klo 16.48 
They got no reserve ammo :steamsad:
an apocalypse fae 17.4. klo 17.54 
Need ammo. Deploys weapons without ammo. Other than that great mod.
Geebanger0  [tekijä] 8.4. klo 0.46 
when i get motivated to make something instead of playing fallout 76