Commit graph

12 commits

Author SHA1 Message Date
Timothy C. McGrath
9e9ddc4017 Fixed the bug with ogres on e1m4 - they now spawn in midair and happily try to
kill you again after they fall down. (were exploding when they respawned midair
previously)

This interestingly enough was due to the fact that apparently droptofloor();
does not work if the monster is in death animations. That's OK, I figured it
out. :)

Hikaru
2004-02-19 10:10:15 +00:00
Timothy C. McGrath
cdd54a89c1 Monsters that get stuck in floors/cielings/objects after a respawn will now
instagib. The way I'm doing it is buggy according to Grievre, but on the other
hand, I haven't seen any strangeness while playing.

Hikaru
2004-02-14 13:29:24 +00:00
Timothy C. McGrath
029ab404b5 bringback.qc moved respawn_enabled to defs.qc and made a float, whitespace fixes
defs.qc added respawn_enabled
world.qc added setup for respawn_enabled. Is only checked on map load.
2004-02-14 10:35:17 +00:00
Timothy C. McGrath
9da852c80f Decided to not make the initial teleporter flash, and so was able to get rid of
some (now) unnecessary code :)

Fixed some spelling errors.

Added a suggestion by grievre for setorigin - I now do it all the time, he says
this supposedly needs to be done to prevent weirdness with monsters losing
solidness. I dunno, but it can't hurt.

Hikaru
2004-02-14 08:24:25 +00:00
Timothy C. McGrath
116c809332 Two bugfixes suggested by Grievre - don't tell respawning monsters to run AND walk,
and setorigin properly :)
Hikaru
2004-02-14 07:28:40 +00:00
Timothy C. McGrath
cb5e8084cf Make monsters spawn half the time precisely where they died. I plan on making
it eventually do more than just this for the half of the time when they respawn
where they died.

Hikaru
2004-02-13 10:24:30 +00:00
Timothy C. McGrath
3298f47019 Grievre used prior experience fixing shamblers in prozac to convince me that
the code used to wake up monsters after a respawn was broken :)

He also told me how to fix it. I like the way monsters act now.

Hikaru
2004-02-12 02:48:51 +00:00
Timothy C. McGrath
e288b1a18a Removed the self.frags holdover from the historical bringback.qc - it was used
for timing purposes.

Fixed respawned scrags - they now don't go straight through walls.

Still trying to determine why demons are getting hung up on some walls...

Hikaru
2004-02-11 09:21:59 +00:00
Bill Currie
dd9e935d81 actually wake up after resurecting 2004-02-11 08:10:21 +00:00
Bill Currie
05df43535e use a switch statement for the monster class config stuff 2004-02-11 04:11:29 +00:00
Bill Currie
825691490b use the new 3 arg state expression to do the respawn delay much less
hackily
2004-02-11 04:00:56 +00:00
Bill Currie
f4c1b758d0 Osmod's (John Schuessler, osmod@hotmail.com) "bringback" mod merged in.
controled by the respawn_enabled flag (always off at the moment). Most of
the merge work done by Hikaru/Misty (Tim C. McGrath), especially the bug
fixes.
2004-02-11 03:40:03 +00:00