Hi i wonder how to make a door split in the middle and move out in the sides. Can someone send me a script that workes or a test map?
Will be happy for help!!
3d doors moving
Moderator: Graf Zahl
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
Go here
http://zdoom.org/zdkb/zdoomindex.html
scroll down to poly objects and look at the sliding door tutorial.
http://zdoom.org/zdkb/zdoomindex.html
scroll down to poly objects and look at the sliding door tutorial.
-
- Posts: 68
- Joined: Mon Jun 26, 2006 9:33
- Location: behind you
This is a script for polyobject doors. They, not 3D doors, move side to side.
This script is for a polyobject set of two doors with a leingth of 128 each(ie bigdoor1, 2, 3, 4, exc). They will split at a speed of 32 and polyobjct 1 will move at 128(west).note: polyobj 2, if there is one, will move at 0, the opsoite bit angle of 128. Polyobjct 1 will move 124 map pixels, wait 128 ticks, and move back to its original position.
some scripting functions, more scripting functions, zdoom tutorial page. These pages are what my knowledge of (G)ZDoom are based off of.
[edit] Enjay you beat me to it!
[/edit]
Code: Select all
#include "zcommon.acs"
script 1 (void)
{
PolyObj_DoorSlide(1, 32, 128, 124, 128);/*(polyobject#, speed, bit-angle, distance, delay time);*/
}
some scripting functions, more scripting functions, zdoom tutorial page. These pages are what my knowledge of (G)ZDoom are based off of.
[edit] Enjay you beat me to it!

- NeoHippo
- Posts: 408
- Joined: Tue Sep 13, 2005 0:47
- Location: British Columbia Canada
Re: 3d doors moving
PolyObject Door_Slide TestMapHell_Best wrote:Hi i wonder how to make a door split in the middle and move out in the sides. Can someone send me a script that workes or a test map?
Will be happy for help!!
TAtL, tU, aE