Invalid mirror polyobj.

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
Caleb26
Posts: 200
Joined: Sun Feb 07, 2010 4:53 am

Invalid mirror polyobj.

Post by Caleb26 »

You see I've got this huge problem. It's a single swinging door. They're opening as they should but everytime you open them it displays a message "Invalid mirror polyobj num 16 for polyobj num 2. I don't know how to overcome this. My other project had the same problem but it's gone now so I've copied everything exactly from my other project to the new one and i'm getting the same error message over again. It's really annoying. It seems that Gzdoom (1.71..) takes "speed number" from "7. swing door definition". My door's opening speed is 16 when I changed it to 10. It prints the same message but this time mirror polyobj num 10 not 16.
User avatar
cocka
Posts: 1520
Joined: Sat Jul 02, 2011 7:21 am
Location: Hungary

Re: Invalid mirror polyobj.

Post by cocka »

A demo map would help us a lot.
User avatar
Kappes Buur
 
 
Posts: 4171
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: Invalid mirror polyobj.

Post by Kappes Buur »

Caleb26 wrote:You see I've got this huge problem. It's a single swinging door. They're opening as they should but everytime you open them it .....
First you start out by saying 'It's a single swinging door.' and then go on to talk in the plural and
mention 'mirror'. So, I assume that you mean a two part swinging door.

An excellent tutorial can be found in the wiki:
http://zdoom.org/wiki/Polyobject

Just a quick overview:
Polyobject Start Spots (9301) and Polyobject Anchors (9300) are assigned a specific number with Angle.
So, Angle is not something degrees, but identifies the location of where a Polyobject is located and
where it moves.

A swinging door could consist of two polyobjects, for example, a left side (Angle 1) and a right side (Angle 2).

Then each polyobject has a Startline, which assigns the ID to the polyobject and also specifies the mirrored
part. So, the Startline of the left side specifies polyobject 1 and mirror 2. The Startline of the right
polyobject specifies polyobject 2. Because it is already mirrored, specifying mirror 1 is not really required,
but does no harm.

7:Polyobj_DoorSwing (po, speed, angle, delay)

The polyobject door can be triggered by attaching the polyobject swing special directly to a linedef of the
polyobject, which opens with 'use' when the player stands before the door, or it could be a walk-over linedef
or a switch or a script.

Example for Polyobj_DoorSwing
User avatar
cocka
Posts: 1520
Joined: Sat Jul 02, 2011 7:21 am
Location: Hungary

Re: Invalid mirror polyobj.

Post by cocka »

Well, I wouldn't use Polyobj_DoorSwing, because you can also solve the swinging door problem with scripts.
Locked

Return to “Editing (Archive)”