In this case the floor plane overlaps the ground plane. This problem occurs when you have 2 planes which overlap each other. This will discussed in part 2 of the tutorial.Īs you are texturing the environment and if you see something like this in Sketchup If you need to change the scale of the texture, double click on the texture, you will get an Edit Material panel where you can set the size of area the texture will cover.Įxport the environment and it's ready to be imported into Oni… I wish it was that easy, however, there are somethings you need to do before that can happen. You should also delete the solid colors in the list.
I'm not sure where that is on the Windows version. I found a bonus pack of 626 textures: … acks6.htmlĪfter you finish texturing the environment, go to the Materials Window, select the dropdown menu "Colors in Model" then select "Purge Unused." This will remove extra textures that you may have tried but did not use. The standard Sketchup has a limited choice of textures. The same process was repeated for the 2nd and 3rd floors. The ceiling was made into a group and put on its own layer. To make the ceiling, I created a rectangle that matched the outside dimensions of the 1st floor and used the push/pull tool to make it several inches thick since it would be a combo ceiling and roof. Once the 1st floor is finished, hide the ground layer, select all the parts of the 1st floor and "Make Group" then put it in its own layer. Otherwise, during the game as you go up the ramp, you will get stuck at the top of the ramp and have to jump to continue. The ramp needs to extend slightly above the top of the 1st floor. Note: Currently, OniSplit cannot add the animated doors that are in the game.Ī ramp was made from a rectangle and rotated to reach the 2nd floor. You can also use the push/pull tool to make other openings such as windows or loading doors. The reason for the larger than normal size is so that the opening will be recognized by OniSplit when making the pathfinding grids. To make the doors, I created a 6' x 9' rectangle and used the push/pull tool to make the opening. Now this screenshot is not the actual layout of the Lair (I'm not posting any spoilers). To make the walls, I used the technique in this video: I later found this video that explains it: So even though the geometry is hidden, you can accidentally change or affect it (I learned this the hard way). Now geometry in a layer is not separated from other geometry in the model.
In the Lair, I had layers for the ground, 1st floor, 2nd floor, 3rd floor, 1st ceiling, 2nd ceiling and 3rd ceiling. This can be helpful in viewing and editing your model. One important thing to note with layers, layers are used only to show or hide geometry. Right click on the ground plane and select "Entity Info", in that window select the ground layer. Also, this would be a good time to open the Layers window and create a new layer called ground. To start off, make a large ground plane, then use the command "Make Group", this will keep your other work from interacting with the ground. Best thing to do is to make a very simple level, such as a textured ground plane, export as a dae file and see if it gets imported into Oni correctly. Personally, I know that environments created in XSI or Cheetah3D import into Oni. Note: Other 3D programs can be used to make the environment for your level. If you need to change the face, Right click and select "Reverse Faces". Oni recognizes only the front face of a polygon, the back face will be rendered as invisible and there is no collision with it. Keep in mind that Sketchup uses white for the front of a face and blue for the back. Oni uses real life measurements, so an object 10 feet tall, or 9 meters wide in Skectchup will be that size in Oni. When using Sketchup for the first time, select the template you want to use, either "Meters" or "Feet and Inches". The learning curve is lower than other 3D programs, also, there are a number of video tutorials to help you get started: įurther, OniSplit has been updated to support the dae produced by Sketchup, so you can quickly import your level into Oni without any modifications to the dae file.
I choose Sketchup since it was easy to make buildings in a short period of time. This tutorial will describe the process I used in making Muro's Lair.