Is it even possible to make this door open with scripting?
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Is it even possible to make this door open with scripting?
How can I make this door split open just like in Quake?
Re: Is it even possible to make this door open with scriptin
Not easily. You could fake it with an animated door (animated texture like Strife doors), use a model or construct something with several map sectors and 3D floors.
Using a model would probably get you the closest to the original behaviour.
The other option would be to re-make the texture so that the split in the door was vertical instead of that angled lock-and-key shape and then use standard polyobjects. It would be less impressive visually but it would work very well.
Using a model would probably get you the closest to the original behaviour.
The other option would be to re-make the texture so that the split in the door was vertical instead of that angled lock-and-key shape and then use standard polyobjects. It would be less impressive visually but it would work very well.
Re: Is it even possible to make this door open with scriptin
I know of two ways to do so:
- Using PolyObjects. (Wiki has a handy tutorial)
- Using Strife's Animated Doors. (Here's an ANIMDEFS wiki link, contains an example of an animated door below)
Edit: Sorry Enjay, didn't see your post when writing.
- Using PolyObjects. (Wiki has a handy tutorial)
- Using Strife's Animated Doors. (Here's an ANIMDEFS wiki link, contains an example of an animated door below)
Edit: Sorry Enjay, didn't see your post when writing.
- MFG38
- Posts: 414
- Joined: Sun Apr 14, 2019 8:26 am
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Finland
- Contact:
Re: Is it even possible to make this door open with scriptin
I don't suppose the door is a 3D model? If not, you could try setting it up as a polyobject, but that would look glitchy as shit at best if you took the actual design into account. It's one of those scenarios where an animated 3D model - perhaps with some custom logic involving DECORATE or ZScript - ultimately works best.
Re: Is it even possible to make this door open with scriptin
Thanks guys. You are the best!!!