Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
famdylan
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location:
Posted: 6th Jan 2005 08:36
I have looked over the code snippits and searched the site but I cant seem to find any examples or theory of this.

Basically I want something like Return to Castle Wolfenstein type of door open routine.

The door always opens out and then closes after a few seconds.

I thought a few primatives with some scripting and a texture would work but I cant seem to get anything to work.

Using DBPRO
Dodo
20
Years of Service
User Offline
Joined: 8th Aug 2004
Location: eating lunch
Posted: 7th Jan 2005 01:01 Edited at: 7th Jan 2005 01:01
use indi's code from this thread: http://forum.thegamecreators.com/?m=forum_view&t=44242&b=7

if, like I found, it doesn't work properly, post back here and I'll try and fix it...

Part of solving the problem is actually noticing that the problem is there in the first place

famdylan
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location:
Posted: 7th Jan 2005 09:16
thanks that helped
Ali M Oldboy
20
Years of Service
User Offline
Joined: 6th Nov 2004
Location: England, UK
Posted: 7th Jan 2005 21:41
Or LucasW's open door DB examole

http://www.tiame.tk

[b]Nukesoft[b]
[b]The worst team on Earth![b]
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 8th Jan 2005 00:29
Heres how it would be done:

If your close to the door, set a variable on such as "canOpen = 1"
Check for the user to press the "Use" key
When the key is pressed, either rotate the door limb or play the animation. Also, start a timer such as "doorTime = x "
When X Exceeds a certain amount, close the door


Click here to join our forums and get updates on game progress sooner!

Login to post a reply

Server time is: 2024-11-27 18:51:24
Your offset time is: 2024-11-27 18:51:24