SketchUp tutorials and tips: Difference between revisions

From OniGalore
Jump to navigation Jump to search
Line 34: Line 34:
=== Common Errors ===
=== Common Errors ===


* If your level was converted successfully by OniSplit, but when you try to play it, Oni crashes after about 10% of the loading, this means you are lacking textures.
* If your level was converted successfully by OniSplit, but when you try to play it, Oni crashes after about 10% of loading the level, this means there are textures in the model that were not included in the level folder.  For example, the model uses TXMPtexture, but TXMPtexture.oni is missing from the level files.
* If you cannot convert your level to AKEV because OniSplit throws an error, you could be missing textures on some faces. Back faces also have to be textured, as far as I know.
* If you cannot convert your level to AKEV because OniSplit throws an error, you could be missing textures on some faces. Back faces also have to be textured, as far as I know. Note: This does not occur with the latest OniSplit, if a face does not have a texture, OniSplit will assign TXMPnotfoundtex to that face. So there is no need to assign textures to back faces [[User:EdT|EdT]]

Revision as of 05:01, 9 August 2011

Tutorials

Tutorial Author Link Status Notes
How to make a simple level Lukas Kreator Oni Central Forum Complete, but outdated I plan to update it soon...


Tips

Faces

Faces are made when you draw a rectangle, a triangle or a polygon. For example, a cube has 6 faces, because it is made of 6 squares. You could also consider the faces inside the cube, if it is hollow. Faces with no textures show in SketchUp as white or blue. White means it is a "front face", blue means it is a "back face". Oni will not draw back faces, and you cannot collide with them. You can flip the faces using Right Click -> Invert Faces, after selecting one or more faces. I suggest that you first invert back faces, and then texture the level. Back faces have to be textured too, in order for the level to be converted to AKEV successfully.

Rotating Geometry

Some things may be rotated when you try to load your level in Oni. This seems to happen when the user groups stuff together and forgets to ungroup them later. There are two ways to fix it:

  • Load your level in XSI Tools and export the .dae from there. Does not work always.
  • Try to find what is grouped and ungroup it.

Yellow Faces

A weird phenomenon happened when an user from OCF (Delano762) was making a new level. There were yellow faces on some places. It is currently unknown what these are, but they seem to have been generated when he converted a CS map to a COLLADA .dae. According to him, he was unable to change the texture of these faces if he selected all faces in the level at the same time, but he could change them back to the default texture one at a time.

Common Errors

  • If your level was converted successfully by OniSplit, but when you try to play it, Oni crashes after about 10% of loading the level, this means there are textures in the model that were not included in the level folder. For example, the model uses TXMPtexture, but TXMPtexture.oni is missing from the level files.
  • If you cannot convert your level to AKEV because OniSplit throws an error, you could be missing textures on some faces. Back faces also have to be textured, as far as I know. Note: This does not occur with the latest OniSplit, if a face does not have a texture, OniSplit will assign TXMPnotfoundtex to that face. So there is no need to assign textures to back faces EdT