Respawning Weapons Tutorial! Created 19 years ago2005-04-17 17:23:26 UTC by Soup Miner Soup Miner

Created 19 years ago2005-04-17 17:23:26 UTC by Soup Miner Soup Miner

Posted 19 years ago2005-04-17 17:23:26 UTC Post #104536
Its possible, but it's tricky:
This was made forgames that do not support weapon_respawning, such as Counter Strike, or ..... can't think of any others....

Set up a cycler_sprite and make it the model of the weapon you want, then make a trigger_multiple over it that triggers a game_player_equip and a multimanager that turns off the cycler_sprite, waits say 20 seconds, and turns it back on and at the same time triggers an ambient_generic that does the weapon respawn noise. Now just set your trigger_multiple to have a reset delay to match the "respawning" of the weapon.
Posted 19 years ago2005-04-18 01:14:59 UTC Post #104584
Cunning. You might be able to use a monstermaker, though; can't remember.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2005-04-19 03:05:07 UTC Post #104729
In CS??? No, CS haven't monstermaker...
Posted 19 years ago2005-04-19 13:14:24 UTC Post #104778
Wow.. Lots of entities for this... :o
I bet this would work on a map with not much weapons to respawn, but for a map with more weapons it might get pretty tricky to set everything right...
Daubster DaubsterVault Dweller
Posted 19 years ago2005-04-19 16:19:49 UTC Post #104817
Very Interesting. Does this have anything to do with Squall's Method in HE_Offroad, where your player automatically spawns HE grenades--about 1 per second--througout the entire map?
Posted 19 years ago2005-04-19 18:14:10 UTC Post #104825
No, that's different. He's talking about having a weapon on the floor respawning (like HLDM), not about constant equipping. That's just a trigger_multiple, a game_player_zone named game_trigger, and a game_player equip. I decompiled his he_pool_night to figure out his way. It's better in my opinion because it doesn't seem to crash, and it doesn't really require as many entities. What's interesting is how it strips your starting weapons yet there is no player_weaponstrip...
Posted 19 years ago2005-04-19 18:22:12 UTC Post #104826
Thanks Dandy, for clarification and new info. It's kind of funny those HE maps, 'cause it's like your crapping grenades! :P
Posted 19 years ago2005-04-19 21:34:40 UTC Post #104838
It doesnt strip your weapons, if you want it to, just slap in a player_weaponstrip and have the multimanager trigger it.
You must be logged in to post a response.