Game Development Community

Example of how to use new door code

by David Dougher · in Torque Game Engine · 09/06/2002 (6:11 am) · 5 replies

Now that Mark F. has fixed the door code in the HEAD release of the engine (Thanks Mark!) does anyone have an example (or a pointer to an example) of a working model door and .cs door code? I just finished ripping out all the code from the older Code Snippet that reimplemented doors and I'd like to get all my doors fixed up with the new code as soon as possible.

About the author

Owner - Pariah Games, Adjunct Professor - Bristol Community College, Mentor - Game Design - Met School Newport, Mentor - Game Design - Met School Providence


#1
09/06/2002 (6:18 am)
Really?? Mark has fixed it?? Sweet!!! :))
Maybe BadGuy's resource helps, he had it almost working and posted some example scripts and difs with with his "door" resource...
#2
09/06/2002 (7:10 am)
"Re-added all the code necessary to properly export paths, door/elevators and triggers from map2dif"

There's not actually any door code in yet other if you add something like BadGuy's pathedInteriors I believe.
#3
09/06/2002 (7:45 am)
Doh!!!

Grinds teeth and begins to put back in all the Door code that he took out to allow Mark's fixes to go thru.

Not my day...
#4
09/06/2002 (11:39 am)
Sorry to disappoint... but I needed to fix map2dif in order to get platforms working for MarbleBlast... after I'm through with it I'll be rolling all the plat code back into Torque - but right now it's pretty specific to MB - it'll need more work to make it work with Player objects.
#5
09/07/2002 (6:44 am)
Mark,

Not a problem. I simply got a bit ahead of myself. If I had thought about it, I would have realized that fixing map2dif couldn't possibly be all that was necessary. Besides, a fix is still a fix. Thanks for the enhancements!