How do you spawn weapons?
Post Reply
Quote
Re: How do you spawn weapons?
Posted by SnarkSephiroth on Sat Sep 20th at 9:16pm 2003


I want to have weapons that regenerate when you take them. Can someone point me to a tut or tell me? Thanks.



Quote
Re: How do you spawn weapons?
Posted by Wild Card on Sat Sep 20th at 9:17pm 2003


If you mean for multiplayer maps, your weapons and items will respawn automatically after a certain amount of time.



Quote
Re: How do you spawn weapons?
Posted by SnarkSephiroth on Sat Sep 20th at 9:19pm 2003


How can I set the time of the respawn? I want them to spawn right after there takin. Does it work for ammo too?



Quote
Re: How do you spawn weapons?
Posted by Orpheus on Sat Sep 20th at 9:22pm 2003


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..

? posted by SnarkSephiroth
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..

[addsig]



Quote
Re: How do you spawn weapons?
Posted by Hornpipe2 on Sat Sep 20th at 9:23pm 2003


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) [addsig]



Quote
Re: How do you spawn weapons?
Posted by Wild Card on Sat Sep 20th at 9:23pm 2003


changing the spawn times, I am not sure about.



Quote
Re: How do you spawn weapons?
Posted by SnarkSephiroth on Sat Sep 20th at 9:25pm 2003


Thanks that helped.



Quote
Re: How do you spawn weapons?
Posted by Hornpipe2 on Sat Sep 20th at 9:27pm 2003


? posted by Orpheus

 

? posted by SnarkSephiroth
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?

[addsig]




Quote
Re: How do you spawn weapons?
Posted by Orpheus on Sat Sep 20th at 9:47pm 2003


? posted by Hornpipe2
? posted by Orpheus

? posted by SnarkSephiroth
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..

[addsig]




Quote
Re: How do you spawn weapons?
Posted by Cash Car Star on Sat Sep 20th at 10:19pm 2003


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.






Post Reply