SketchUp tutorials and tips: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (moving away from CloudApp for image hosting, as it seems to be going downhill as a website)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Modding tutorials]]
==Tutorials==
== Tutorials ==
 
{| border=1 cellpadding=5
{| border=1 cellpadding=5
! Tutorial
! Tutorial
Line 11: Line 9:
| How to make a simple level
| How to make a simple level
| [[User:Lukas Kreator|Lukas Kreator]]
| [[User:Lukas Kreator|Lukas Kreator]]
| [http://oni.bungie.org/community/forum/viewtopic.php?pid=35324#p35324 Oni Central Forum]
| [http://oni.bungie.org/forum/viewtopic.php?pid=35324 Oni Central Forum]
| Finished, but outdated
| Finished, but outdated
| I plan to update it soon...
| Replaced by the tutorial below
|-
|-
| Creating the Lair - A level tutorial
| Creating the Lair - A level tutorial
| [[User:EdT|EdT]]
| [[User:EdT|EdT]]
| [http://oni.bungie.org/community/forum/viewtopic.php?id=2087 Oni Central Forum]
| [http://oni.bungie.org/forum/viewtopic.php?id=2087 Oni Central Forum]
| In progress...
| Finished
| Progress: 1/7 parts
|  
|}
|}


== Tips ==
==Tips==
 
<small>([[User:EdT|EdT]]: You are welcome to put some tips here, about the doors and lasers for example...)</small>
<small>([[User:EdT|EdT]]: You are welcome to put some tips here, about the doors and lasers for example...)</small>


=== Faces ===
===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. In old versions of OniSplit, back faces have to be textured too, in order for the level to be converted to AKEV successfully.
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. In old versions of OniSplit, back faces have to be textured too, in order for the level to be converted to AKEV successfully.


=== Stairs ===
===Stairs===
 
[[Image:Stairs with invisible ramp.png|thumb]]
If you want to make stairs, make the steps very small or make an invisible ramp with an invisible texture. This one will do: [http://cl.ly/3E0t0S2I1m0q1N3N3b1l/Invisible.png]
If you want to make stairs, make the steps very small or make a ramp over it with an invisible texture. You can use [http://iritscen.oni2.net/wiki/Lukas%20Kreator-Invisible512px.png this all-transparent texture]. The stairs should then look like the image on the right.
 
=== Rotating Geometry ===


===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:
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.
* 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.
* Try to find what is grouped and ungroup it.


=== Yellow Faces ===
===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 Counter Strike map to a COLLADA .dae through a tool. 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.
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 Counter Strike map to a COLLADA .dae through a tool. 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 ===
===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 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]]
* Sometimes OniSplit may throw an error similar to this: "Unsupported primitive type "<something>" found in geometry "mesh<number>-geometry", ignoring". I usually ignore this, because I don't know any case in wich this was a problem. Please, correct me if I'm wrong.


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]]
[[Category:Modding tutorials]]
 
* Sometimes OniSplit may throw an error similar to this: "Unsupported primitive type "<something>" found in geometry "mesh<number>-geometry", ignoring". I usually ignore this, because I don't know any case in wich this was a problem. Please, correct me if I'm wrong.

Latest revision as of 21:16, 27 August 2020

Tutorials

Tutorial Author Link Status Notes
How to make a simple level Lukas Kreator Oni Central Forum Finished, but outdated Replaced by the tutorial below
Creating the Lair - A level tutorial EdT Oni Central Forum Finished

Tips

(EdT: You are welcome to put some tips here, about the doors and lasers for example...)

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. In old versions of OniSplit, back faces have to be textured too, in order for the level to be converted to AKEV successfully.

Stairs

Stairs with invisible ramp.png

If you want to make stairs, make the steps very small or make a ramp over it with an invisible texture. You can use this all-transparent texture. The stairs should then look like the image on the right.

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 Counter Strike map to a COLLADA .dae through a tool. 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
  • Sometimes OniSplit may throw an error similar to this: "Unsupported primitive type "<something>" found in geometry "mesh<number>-geometry", ignoring". I usually ignore this, because I don't know any case in wich this was a problem. Please, correct me if I'm wrong.