.


Welcome to Quake3World: Your World is waiting...



UBBFriend: Email This Page to Someone!
  Quake3World.com Forums
  Editing & Modifications
  Random respawn point for powerups.

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   Random respawn point for powerups.
Black Lotus
Grunt

Posts: 41
Registered: Jan 2000

posted 01-21-2000 06:54 AM     Click Here to See the Profile for Black Lotus   Click Here to Email Black Lotus     Edit/Delete Message Reply w/Quote   
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     Click Here to See the Profile for Mastaba   Click Here to Email Mastaba     Edit/Delete Message Reply w/Quote   
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     Click Here to See the Profile for jimilla   Click Here to Email jimilla     Edit/Delete Message Reply w/Quote   
Coooool.

You could have it raining rocket_launchers!


heh heh.

All times are PT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | Quake3World

Powered by: Ultimate Bulletin Board, Version 5.43b
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 2000.