Killer Doors

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
fuhrer
Captain
Posts: 253
Joined: Sun Mar 14, 2004 3:36 am

Killer Doors

Post by fuhrer »

ok this is no regular door i am after, this one is cold blooded.

i want a door that when opened, comes pretty much instantly straight down and smacks the player in the face.....dead.

ive managed with a script object, a 6 pack and 25 gs of GV to get a rotating door that opens straight down and always in the same direction..

but it doesnt hurt :( plus it needs to always open towards the player so there is no escape.
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

door_fall:
$door_trigger waittill trigger
$door time .15
local.angles = (vector_toangles ($player.origin - $door.origin))
$door.angles = (0 (local.angles[1] + 90) 0)
$door rotateZdown 90
$door move
$door volumedamage 1000
end
hope this helps, prob not cos it's all foreign 2 me :-/
blue60007
General
Posts: 1247
Joined: Sun Mar 07, 2004 11:44 pm

Post by blue60007 »

do as nuggets said above, or can't you just put a key/value of speed/50000 or something so it hits the player at an ultra high rate, or attach a trigger_multiple to it with a volumedamage, or like nuggets says
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

speed

Post by tltrude »

Speed does not work for rotating object, you have to use time, like nuggets did.

$door time .15
Tom Trude,

Image
blue60007
General
Posts: 1247
Joined: Sun Mar 07, 2004 11:44 pm

Re: speed

Post by blue60007 »

tltrude wrote:Speed does not work for rotating object, you have to use time, like nuggets did.

$door time .15
oh, I didn't notice he used a rotating object, or if you set it to $door time .01 it might send him flying into outer space!
Post Reply