Author Topic: How to make open doors for minigames  (Read 1816 times)

any reason behind your answer? as just rotating the door block would work efficiently, and relays would take out the need for named bricks
You can't rotate all the doors, for example, the door in the pictures can't just be rotated because you'll rotate the entire door frame. If you can rotate them just as well then of course you can do that. I don't get how you make the brick disappear so the door can open using relays.

If you notice, when you scan your camera past an open door it disappears at one point.
No it doesn't.

[0000] OnContentStarted > Something > Disappear [.0]
[0000] OnContentStarted > Something > SetRendering [ ]
[0000] OnContentStopped > Something > Disappear [-1]

Wouldn't this work just as well?
I don't really see how that works. It can't disappear, set rendering and disappear again at the same time.

Doesn't work can you give us a better example.

I don't really see how that works. It can't disappear, set rendering and disappear again at the same time.
Forgot 3 second delay on 3rd line. :c

Forgot 3 second delay on 3rd line. :c
it still can't disappear and set rendering at the same time.

Doesn't work can you give us a better example.
This goes in Help, really.

it still can't disappear and set rendering at the same time.
This goes in Help, really.
Disappear 0 means it just instantly appears.
It would work more efficiently if I added a 50 or so delay to the rendering part of it though.

[0000] OnContentStarted > Something > Disappear [.0]
[0050] OnContentStarted > Something > SetRendering [ ]
[3000] OnContentStopped > Something > Disappear [-1]

Wouldn't this work just as well?
No, because it can't have already started before "something" has disappeared.

Wait, can JVS have collision meshes in them?

Wait, can JVS have collision meshes in them?
Doors cannot open into something. If something disappears, the door can open.


No, because it can't have already started before "something" has disappeared.
Disappear 0 means it does not disappear.
:P

Disappear 0 means it does not disappear.
:P
he knows that
he's saying it'll collide with the brick

and both of you are wrong, Jubel, yours will block it because it will disappear 3 seconds after stopping
nymethus, you are wrong because it's when it's started, and if i'm not incorrect and very rusty in events, and if i am i'm sorry for calling you out on this, that's called after it's started, therefore after it's opened.

it still can't disappear and set rendering at the same time.
This goes in Help, really.
I copyed the events but the door doesn't open and keeps saying blocked.

Doors cannot open into something. If something disappears, the door can open.

Okay, I get that.
What I'm mentioning is this idea.
If a door is opened, then it should switch to a static model at the end of the animation, where the collision mesh is on the door itself when it is opened.

nymethus, you are wrong because it's when it's started, and if I'm not incorrect and very rusty in events, and if i am I'm sorry for calling you out on this, that's called after it's started, therefore after it's opened.
I'm using OnContentCreated, not OnContentStart/ed.

It works like this:
something instantly disappears
after half a second the door open
after one and a half second something sets rendering [ ]

You probably won't even see it unless you happen to look at a door when it's loaded.

I copied the events but the door doesn't open and keeps saying blocked.
Then you did it wrong.

Okay, I get that.
What I'm mentioning is this idea.
If a door is opened, then it should switch to a static model at the end of the animation, where the collision mesh is on the door itself when it is opened.
I don't know how you would do that.
« Last Edit: June 19, 2011, 04:46:08 AM by Nymethus »