Changes between Version 7 and Version 8 of content/LevelHowTo
- Timestamp:
- Jan 17, 2007, 5:20:02 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
content/LevelHowTo
v7 v8 116 116 </Terrain> 117 117 118 <Rotor> 119 <name>testrotate</name> 120 <model>models/environments/uranus.obj, 10</model> 121 <abs-coor>50,0,0</abs-coor> 122 <rotation>5,10,5</rotation> 123 </Rotor> 124 118 125 </WorldEntities> 119 126 … … 167 174 The skybox is a world entity. You should only use one skybox, more of them wouldn't make sense. The interesting attributes of the skybox are shown in the example: The size is important for the dimension in every direction. If you choose a size which is higher than the clip of the camera, the skybox will not be visible completely. The material set is also very important. There you define which skybox should be chosen for your level. A skybox is built from six images with the extension ''neg'' or ''pos'' to define front and back and with ''x'', ''y'' and ''z''. The front skybox picture file from the example would be called simple_space_pos_x.jpg. 168 175 176 ==== Rotor ==== 177 Rotor is a object which just rotates around a given axis. What you have to do is define the position and direction of the model and the source file of the model itself like you do it with most world entitites. In addition you define the speed the model will rotate around x, y and z axis in the game. This is done in the rotation tag. 178 169 179 ==== Weather effects ==== 170 180 ...