The Happy Friar's

Doom 3 Dev Site

Main Page

THF's Last Stand

July 2005

May 2005

*9/15/05* 09:12 EST

Got a few new things here...  First off, I made a thread on Doom 3 World.org called "Interesting ways to spawn entities..."

In it I explain how you can spawn entries on ANYTHING that has an origin... and I then show a video (mov & wmv)of zombies being spawned on an object moving along a func_spline (map file & script).  Very cool. 

Lower in the thread I also post a script I made that will spawn a random monster_zombie at a spawn point (aka origin) provided.  I made this for my "THF's Last Stand" mod for the next level.  What it does: you type in the number of monsters to choose from, then you type in the monsters that could be spawned (I used my own custom zombies), then you call it either via a trigger (i think) or another script.  Like this:

 random_zombie_spawner(spawnvector);

Technically, you could place every monster/entity in there & have a level with randomly spawned things... so when you push a button a cyberdemon could spawn & flatter you, or a toilet could spawn & fall to the ground. :)

Finally, in another level idea I want some manned turrets (like in UT2K4 or HL1/2).  I haven't figured out how to fire something yet (w/o using a weapon) but I did make some really basic "hover cars".  Using just the following script:

void turret_on()
 {
  $turret_test.setAngles($player1.getViewAngles());
  $turret_test.setOrigin($player1.getOrigin()); 
 }

the func_mover that the trigger this runs is bound to will ALWAYS follow the player & point in his (or her) direction.  So when the player walks forward this moves forward.  Turns left it turns left... pretty darn cool!  I just hanven't gotten it to fly up/down by looking up/down yet.

 

visitor # free hit counter
Free Hit Counter