Version 1 (modified by bknecht, 17 years ago) (diff) |
---|
Door HowTo
This page is very old and the content is not up to date.
Not everything (if any) which is written here will be in the final game!
Introduction
So you wanna make a new door for Orxonox.
First you have to model your door. Use Blender for this. There you have to create the open and close animation and export it as an md2-Model.
HowTos to create those animations can be found in these tutorials:
- Key Framing and IPO Curves (Video Tutorial)
- Basic Animation Tutorial
- more about Blender can be found here
What you have to regard is that the door animation has a maximum of 30 frames. Frame 0 to 15 is the open animation and frame 15 to 29 is the close animation. This means frame 0 and 29 is the door's closed state and frame 15 is the open state of the door.
For a simple animation just make 3 key frames at the positions 0, 15 and 29. Key frame 1 and 3 (at the positions 0 and 29) hold the closed door model and the key frame 2 holds the open door state. Blender interpolates the frames between the key frames. This however can only be used with really easy doors like sliding doors.