Author |
Topic: Random respawn point for
powerups. |
Black Lotus Grunt
Posts: 41 Registered: Jan 2000 |
posted 01-21-2000 06:54 AM
Hi there,
I just started working on a Mod for quake3 (yes i am a newbie)
and I was wondering if I could change spawning point for powerups
via the code? I have a feeling spawning points are decided within
the map and that I cannot change them. I am trying to create techs
that would popup around the map at random. Thanks in advance for
your help |
Mastaba Soldier
Posts: 66 Registered: Dec 1999 |
posted 01-21-2000 09:48 AM
This is easy
to do. And the powerups need not even be predefined in the map
either. In fact just look at how the give cmd works. It spawns
the requested item right at your current location. All you need to
do is, after the worldspawn has spawned, spawn a few powerup
spawners that randomly (or not so randomly) spawn powerups with
random origins. Just make sure that the random point is not in a
solid brush. You'll also need to set the spawnflags properly for the
powerups so that they will fall (if that is what you want them to
do) |
jimilla Soldier
Posts: 69 Registered: Dec 1999 |
posted 01-21-2000 11:42 AM
Coooool.
You could have it raining rocket_launchers!
heh
heh.
|