Earthquake usage

Post a reply

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: :angel: :angry: :beer: :bfg: :chaingun: :cheers: :blergh:
View more smilies

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1.5 MiB.

Expand view Topic review: Earthquake usage

by ChupaReaper » Wed Oct 03, 2007 21:50

Yey, I was useful! :D
No problem.

Thank you!

by DoomGuy » Sun Sep 30, 2007 21:26

Tried out your suggestion, Chupareaper, and it worked perfectly! Thanks for your help.

by DoomGuy » Wed Sep 26, 2007 2:24

Thank you very much! I will give it a try as soon as I get a chance.

by ChupaReaper » Tue Sep 25, 2007 22:14

This is from the map I made:

radius_quake(6,2*35,0,128,1);
delay(1*35);
thing_destroy(2,0);

Here's what it does: the first line sets a tremble of an intensity (how powerful) of 6 (which is good enough for the likes of a ceiling collapsing!), for 2 seconds (2*35), a damage radius of 0, which means no damage is caused by the quake (thus not effecting the player, or monsters), then a tremour radius of 128 (how far the effect will be, those out of range wont see any tremble), and finally, it effects a mapspot tagged 1. So anything within 128 map pixels of the mapspot tagged 1 will see a tremble, but not get damaged, so make sure the player is within range of the mapspot, the monsters don't even have to be anywhere near the quake, it works more like a camera effect for the player only.
Next is a delay for 1 second.
Then, every monster tagged 2 is killed (with thing_destroy, the second parameter controls gibbed death, 0 = off 1 = on.)

How would I do that?

by DoomGuy » Tue Sep 25, 2007 0:49

Would I use a script and have the quake and then the thing_destroy (or whatever it is) ? I have not done much scripting.... would someone give me an example of how it would be written? Thanks.

by ChupaReaper » Sun Sep 23, 2007 21:11

I'm not too sure on how to use the quake to kill the monsters, but you could use 0 damage with the quake, allowing you to put the player in the quake radius, so the player actually sees a tremble, then use destroything (or might be thingdestroy or thing_destroy, definatly one of those...) to kill all the enemies. I've done that before and it worked fine.

Earthquake usage

by DoomGuy » Sun Sep 23, 2007 20:54

I am trying to make it seem like a bomb was dropped just outside of a building where the player can't see. There is already a hole/pit out there but the player can't see it yet. Is there a way to set the damage to kill the monsters that are within the DamageRadius? I don't want the player to die so I put him outside of the DamageRadius. If so, how is it done? Thanks!

Top