Rotating Windows

Rotating Wndows by Despot

The window objects are set up to work as a sliding windows, however, getting them to work as rotating windows takes a little work. Here’s what you need to do:

Create a rotating door that makes the appropriate sounds. I used a Wood4x8. Next, add the property Shape>Model, and change the text to ‘win4x8’ minus the quotes. Click OK. If you want to use one of the other types of windows, find it in the object hierarchy, and use it’s model name instead. Now, edit the Physics>Attributes property, and in the COG property, change the X value to 0 and the Y value to 2. In the Door>Rotating property, uncheck Blocks Vision and then re-portalise. That’s it!

If you want to re-size your window, do the following before you re-portalise: Modify the size of window as desired. Be sure to edit the Physics>Dimensions property, and change the X, Y, and Z parameters to match the size of your window. In the Physics>Attributes property, tweak the Y value of the COG property until it the window opens and shuts correctly in-game. The size of the window and the value of the Y parameter of COG are directly proportionate; for example, a window half the default size will work with a Y value of 1. You will need to re-portalise every time you change the COG property. Area brushes will come in handy here if your level is a large one.

About this entry