How do you spawn weapons?

How do you spawn weapons?

Re: How do you spawn weapons? Posted by SnarkSephiroth on Sat Sep 20th 2003 at 9:16pm
SnarkSephiroth
206 posts
Posted 2003-09-20 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
Wild Card
2321 posts
Posted 2003-09-20 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
SnarkSephiroth
206 posts
Posted 2003-09-20 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 Orpheus on Sat Sep 20th 2003 at 9:22pm
Orpheus
13860 posts
Posted 2003-09-20 9:22pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
when someone sets up a deathmatch server, you have the option of either setting it to "respawn", or "weapons stay.".

i think maybe you have the terms confused..

if you are setting up a map to run, check the advanced options for these terms..
SnarkSephiroth said:
How can I set the time of the respawn? I want them to spawn right after there takin. Does it work for ammo too?
without setting up a complex MM setup... you will just have to wait the few minutes for them to respawn on their own..
Re: How do you spawn weapons? Posted by Hornpipe2 on Sat Sep 20th 2003 at 9:23pm
Hornpipe2
636 posts
Posted 2003-09-20 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
Wild Card
2321 posts
Posted 2003-09-20 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 SnarkSephiroth on Sat Sep 20th 2003 at 9:25pm
SnarkSephiroth
206 posts
Posted 2003-09-20 9:25pm
206 posts 31 snarkmarks Registered: Sep 10th 2003 Occupation: Automotive Tech Student Location: Phoenix, Arizona
Thanks that helped.
Re: How do you spawn weapons? Posted by Hornpipe2 on Sat Sep 20th 2003 at 9:27pm
Hornpipe2
636 posts
Posted 2003-09-20 9:27pm
636 posts 123 snarkmarks Registered: Sep 7th 2003 Occupation: Programmer Location: Conway, AR, USA
Orpheus said:
 
SnarkSephiroth said:
How can I set the time of the respawn? I want them to spawn right after there takin. Does it work for ammo too?
without setting up a complex MM setup... you will just have to wait the few minutes for them to respawn on their own..
Actually, I wonder about that multimanager setup.  It could be neat to have an area where you enter some glass room and get a random weapon, leave, and a new random weapon spawns in its place.  Sort of a slot machine setup.  But how can you spawn a weapon mid-game?  What does cycler_weapon do again?
Re: How do you spawn weapons? Posted by Orpheus on Sat Sep 20th 2003 at 9:47pm
Orpheus
13860 posts
Posted 2003-09-20 9:47pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
Hornpipe2 said:
Orpheus said:
SnarkSephiroth said:
How can I set the time of the respawn? I want them to spawn right after there takin. Does it work for ammo too?
without setting up a complex MM setup... you will just have to wait the few minutes for them to respawn on their own..
Actually, I wonder about that multimanager setup.  It could be neat to have an area where you enter some glass room and get a random weapon, leave, and a new random weapon spawns in its place.  Sort of a slot machine setup.  But how can you spawn a weapon mid-game?  What does cycler_weapon do again?
unseth over at PFL has a prefab of a box, you open it and it is supposed to give you a different item each time..

you might dissect it for clues..
Re: How do you spawn weapons? Posted by Cash Car Star on Sat Sep 20th 2003 at 10:19pm
Cash Car Star
1260 posts
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.