[hl1] Spawning unlimited ammo in SP Created 12 years ago2012-01-06 16:41:14 UTC by shash7 shash7

Created 12 years ago2012-01-06 16:41:14 UTC by shash7 shash7

Posted 12 years ago2012-01-06 16:41:14 UTC Post #302488
Hey guys do you know any trick to make any ammo to spawn endlessly, I want the player to get unlimited ammo for any weapon for a particular map.
Posted 12 years ago2012-01-06 16:47:21 UTC Post #302489
You can use a monstermaker for that. Not only can it spawn monsters/npc's but other items as well such as weapons and ammo.

Simply type the name of ammo item in the Monster Type property and set Number of monsters to -1 which means it'll spawn infinitely each time your trigger the monstermaker.
Posted 12 years ago2012-01-06 17:01:04 UTC Post #302490
Thanks for the tip but monstermaker doesn't continously spawn weapons or ammo.
It only spawns once.
Any reason why?

Is there any other solution for unlimited ammo.
Posted 12 years ago2012-01-06 18:46:22 UTC Post #302494
Check out the "Cyclic" flag.

http://twhl.info/wiki.php?id=210
Posted 12 years ago2012-01-07 03:42:21 UTC Post #302502
I even tried making a loop with the multimanager and spawning infinite ammo but it doesn't work. The cyclic flag does not work too.

Any other solution?
Posted 12 years ago2012-01-07 06:26:02 UTC Post #302503
Yeah that is odd, the "1 - max live children" setting only works for monsters but not for weapons or ammo. Maybe it can't sense when the ammo is "dead" so that it can spawn a new one.

I got it to constantly spawn infinite guns n ammo, one each X seconds, forever and ever ever. Well, that is at least how long I tried it. Jupp.
Posted 12 years ago2012-01-07 06:43:38 UTC Post #302504
Hey that seems to work. It isn't infinite but no one is going to use up a thousand rpg clips ;)

Thanks doggybag.
Posted 12 years ago2012-01-07 08:20:40 UTC Post #302505
I wanted to ask but didn't: could you copy and paste-special the ammo 100 in the same location? I know it doesn't solve the logical problem though.
Captain Terror Captain Terrorwhen a man loves a woman
Posted 12 years ago2012-01-07 09:22:47 UTC Post #302506
Try this
Triggering it in short intervals will give the player(s) an infinite amount of whatever you specify. It's pretty common in gun-specific CS maps (awp_, aim_, etc.), and according to the guide, it should work in HL.
Daubster DaubsterVault Dweller
Posted 12 years ago2012-01-07 13:30:56 UTC Post #302509
This trick works too. It actually spawns the given weapon/ammo where the player is located.

This thread is solved now. Thanks to doggybag and daubster.
Posted 12 years ago2012-01-07 15:49:17 UTC Post #302515
Glad I could help :P. I hope it won't make the map laggy if it spawns hundreds of weapon/ammo models. Well, you will figure that out I guess :P.
You must be logged in to post a response.