I have a doorway with two doors that open left/right. The door shapes are not rectangular. Using ZScript by 'boris' I have two 3D models attached to the PolyObjects. The doors work fine on their own.
After the Player goes through the doors and navigates to a point farther in the map, I want to replace the polyobject doors with an animated door sequence. The animated door sequence works fine on its own.
My plan was to remove the polyobject doors and then move the two ACTORS that are the animated sequence into the same place. If nothing in in the 'space' the two ACTORS will move to the MAP SPOT and the animated sequence can be activated. However, Thing_Move won't move the ACTORS if the polyobject is still in the 'space'.
How do I remove the two door polyobject with 3D models attached?
1) I've tried removing the the PolyObject Start Point and Anchors. Also tried moving them to a MAP SPOT in a sector outside of the playable MAP.
2) I tried SetLineSpecial to change the Start Line of the polyobjects to nothing.
3) I tried lowering the ceiling of the PolyObject sectors to the floor. (This works for plain polyobject doors, but not if a 3D model is attached)
Any brilliant mappers out there that might have some suggestions?
I made a little test map to show what I would like to happen.
1. Player can go through Door A all they want until they reach a point farther into the MAP.
2. When they get to that point I want the 3D model polyobject door to go away. It would then be like Door B opening.
3. The two animated ACTORs would then move to the empty Door opening. (Cross the yellow line)
4. The Player can now try to open the Door, but instead gets the animation.
Can't figure out how to remove the 3D model polyobject door. Animated ACTORs won't move unless the opening is clear of them.
Question
Moebius
I have a doorway with two doors that open left/right. The door shapes are not rectangular. Using ZScript by 'boris' I have two 3D models attached to the PolyObjects. The doors work fine on their own.
After the Player goes through the doors and navigates to a point farther in the map, I want to replace the polyobject doors with an animated door sequence. The animated door sequence works fine on its own.
My plan was to remove the polyobject doors and then move the two ACTORS that are the animated sequence into the same place. If nothing in in the 'space' the two ACTORS will move to the MAP SPOT and the animated sequence can be activated. However, Thing_Move won't move the ACTORS if the polyobject is still in the 'space'.
How do I remove the two door polyobject with 3D models attached?
1) I've tried removing the the PolyObject Start Point and Anchors. Also tried moving them to a MAP SPOT in a sector outside of the playable MAP.
2) I tried SetLineSpecial to change the Start Line of the polyobjects to nothing.
3) I tried lowering the ceiling of the PolyObject sectors to the floor. (This works for plain polyobject doors, but not if a 3D model is attached)
Any brilliant mappers out there that might have some suggestions?
https://drive.google.com/file/d/1l0mee2tNWfPbxUxnMbpdWSMv0kYTMB8Z/view?usp=sharing
I made a little test map to show what I would like to happen.
1. Player can go through Door A all they want until they reach a point farther into the MAP.
2. When they get to that point I want the 3D model polyobject door to go away. It would then be like Door B opening.
3. The two animated ACTORs would then move to the empty Door opening. (Cross the yellow line)
4. The Player can now try to open the Door, but instead gets the animation.
Can't figure out how to remove the 3D model polyobject door. Animated ACTORs won't move unless the opening is clear of them.
Share this post
Link to post
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.