Tremulous Forum

Media => Mapping Center => Topic started by: lmz on February 17, 2010, 02:06:16 pm

Title: Falling Objects/Entities [SOLVED]
Post by: lmz on February 17, 2010, 02:06:16 pm
I'm attempting to create an entity which will fall from the sky and kill the player if it hits him. It will then proceed to go through the floor and stop.

I thought I got it working, but then it didn't work. I made a very simple .map to show what I have done and what I'm trying to do.
http://www.mediafire.com/?mwzgicy0nm5 (http://www.mediafire.com/?mwzgicy0nm5)

On a related note, is it possible to get this to happen sideways as well?
Title: Re: Falling Objects/Entities
Post by: UniqPhoeniX on February 17, 2010, 03:26:48 pm
What exactly didn't work? I'm guessing you are missing the lip key, which has to have a value = (thickness (in this case height) of entity - distance you want entity to travel) which would be about -224.
Title: Re: Falling Objects/Entities
Post by: CATAHA on February 17, 2010, 03:45:55 pm
Just door with kill player possibility and huge damage? =)
Title: Re: Falling Objects/Entities
Post by: lmz on February 17, 2010, 04:05:13 pm
What exactly didn't work? I'm guessing you are missing the lip key, which has to have a value = (thickness (in this case height) of entity - distance you want entity to travel) which would be about -224.
That sounds exactly what I needed. Thanks a ton. ;D

Just door with kill player possibility and huge damage? =)
Already have that part figured out. Thanks though. :)

----------------------------------------

EDIT: Got it working the way I wanted. As for the second part, how do I make a door open sideways?
Title: Re: Falling Objects/Entities
Post by: UniqPhoeniX on February 17, 2010, 07:14:44 pm
Use the 'angle' key. This and 'lip' should both be explained in Entities window, along with a ton of other useful info.
Title: Re: Falling Objects/Entities
Post by: lmz on February 17, 2010, 09:59:33 pm
Use the 'angle' key. This and 'lip' should both be explained in Entities window, along with a ton of other useful info.

Thanks again. Got it working the way I wanted. :)
Title: Re: Falling Objects/Entities
Post by: mooseberry on February 18, 2010, 07:33:31 am
Add [Solved] to your thread title then.

Glad you were helped easily.