Re: How do you spawn weapons?
Posted by SnarkSephiroth on
Sat Sep 20th 2003 at 9:16pm
206 posts
31 snarkmarks
Registered:
Sep 10th 2003
Occupation: Automotive Tech Student
Location: Phoenix, Arizona
I want to have weapons that regenerate when you take them. Can someone point me to a tut or tell me? Thanks.
Re: How do you spawn weapons?
Posted by Wild Card on
Sat Sep 20th 2003 at 9:17pm
2321 posts
391 snarkmarks
Registered:
May 20th 2002
Occupation: IT Consultant
Location: Ontario, Canada
If you mean for multiplayer maps, your weapons and items will respawn automatically after a certain amount of time.
Re: How do you spawn weapons?
Posted by SnarkSephiroth on
Sat Sep 20th 2003 at 9:19pm
206 posts
31 snarkmarks
Registered:
Sep 10th 2003
Occupation: Automotive Tech Student
Location: Phoenix, Arizona
How can I set the time of the respawn? I want them to spawn right after there takin. Does it work for ammo too?
Re: How do you spawn weapons?
Posted by Hornpipe2 on
Sat Sep 20th 2003 at 9:23pm
636 posts
123 snarkmarks
Registered:
Sep 7th 2003
Occupation: Programmer
Location: Conway, AR, USA
No, I think you'd need some sort of servermod to change the respawn time. When you create the server, under Advanced Options there is a choice for "weapons stay" which will immediately respawn a weapon when it is picked up. (if it's off, it takes the fifteen/thirty seconds to respawn the weapon). Ammo however has to go through the lengthy respawn time regardless of whether the box is checked or not. (A side effect of Weapons Stay is that you can't pick up a weapon to gain its ammo, which kind of sucks. Make sure you put lots of ammo around for guns)
Re: How do you spawn weapons?
Posted by Wild Card on
Sat Sep 20th 2003 at 9:23pm
2321 posts
391 snarkmarks
Registered:
May 20th 2002
Occupation: IT Consultant
Location: Ontario, Canada
changing the spawn times, I am not sure about.
Re: How do you spawn weapons?
Posted by Cash Car Star on
Sat Sep 20th 2003 at 10:19pm
Posted
2003-09-20 10:19pm
1260 posts
345 snarkmarks
Registered:
Apr 7th 2002
Occupation: post-student
Location: Connecticut (sigh)
You can have trigger-able game_player_equips paired with some sprites/models. I've thought about making a map where getting the fancy weapons involves going through a trigger_push'd tube, being weapon stripped, and then given only the egon or tau.
For standard uses though, just let the game do it the normal way. There's no need for a mapper to start messing with all the spawn times. That's just so much more work than needs to go into it.