Oni Central Forum

A forum for the Oni community

You are not logged in.

#26 27/7/11 16:43

EdT
Moderator
From: Los Angeles, CA
Registered: 13/1/07
Website

Re: Sketchup tutorials for making levels

No a GUI for OniSplit that is focused on level importing.  So in the GUI you can select the .dae and /or textures and choose which levelx_Final folder to install and then build that one level.  Also for creating pathfinding grids, there will be a way to select the model and the BNV .daes.

I was going to update AETools with a levels tab, but realized that PC users can also use such a tool.

Offline

#27 27/7/11 16:48

Dirk Gently
Member
From: Boston, MA
Registered: 12/6/09
Website

Re: Sketchup tutorials for making levels

sure, just don't use system specific code smile

Offline

#28 27/7/11 16:53

Lukas Kreator
Member
Registered: 7/5/10

Re: Sketchup tutorials for making levels

Interesting. However, I need someone to teach me how the AE Installer does what it does. I've never researched about it.

Last edited by Lukas Kreator (27/7/11 16:55)

Offline

#29 27/7/11 17:02

Iritscen
Moderator
From: NC, USA
Registered: 22/10/07

Re: Sketchup tutorials for making levels

It simply sends command-line, uh, commands to OniSplit like '-import:sep', etc.  That's all your app needs to do in order to automate the level making process, well maybe that and a little file management or something.


byproducts are fine, but where's the beef?

Offline

#30 27/7/11 17:13

Lukas Kreator
Member
Registered: 7/5/10

Re: Sketchup tutorials for making levels

Okay, I'll do it, but I have some questions...

EdT: that OniSplit you gave me kinda converted my level smaller than the others, but for the arc level, something still bugs it.

Last edited by Lukas Kreator (27/7/11 17:48)

Offline

#31 28/7/11 19:48

EdT
Moderator
From: Los Angeles, CA
Registered: 13/1/07
Website

Re: Sketchup tutorials for making levels

I call this Sketchup level, "The Mess"

mess.jpg

Obviously, something went wrong here...  The dae file produced by Sketchup is giving OniSplit problems.  Hopefully, this can be fixed.

Offline

#32 28/7/11 20:41

Lukas Kreator
Member
Registered: 7/5/10

Re: Sketchup tutorials for making levels

ROFL, can you let me give a look at the project file?

If we really can't make the .daes produced by SketchUp work, we will have to produce our own .daes, if you know what I mean. But that doesn't make sense, because miniP works well.

Last edited by Lukas Kreator (28/7/11 20:43)

Offline

#33 28/7/11 21:23

Samer
Member
From: Lebanon
Registered: 4/9/09
Website

Re: Sketchup tutorials for making levels

if u export to xsi and resave the dae from xsi .. doesn't that work ?


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

#34 28/7/11 21:56

Lukas Kreator
Member
Registered: 7/5/10

Re: Sketchup tutorials for making levels

Could work, but I couldn't try it right now. I'm currently using a very low-end computer...

Offline

#35 28/7/11 23:28

EdT
Moderator
From: Los Angeles, CA
Registered: 13/1/07
Website

Re: Sketchup tutorials for making levels

Give Samer a cookie!

ArcSinSU.jpg

Unfortunately, my level is still broken sad

Offline

#36 28/7/11 23:54

Lukas Kreator
Member
Registered: 7/5/10

Re: Sketchup tutorials for making levels

Oh god! Thanks a lot samer!

EdT: Just to make sure, you have to disassociate (or whatever it is called) every component and then group everything. Did you try chaging the measure system or you are using that new OniSplit? Have you tried other OniSplit versions? Can you see your level in XSI, correctly? That is weird... Your level seems to be made basically of rects. Are those things supposed to be on the floor? They seem to be rotated like the arcs used to be in my tutorial level. However, something makes mini-Partenon works, and we have to find out what.

Also, does OniSplit say anything about your level?

I may be releasing the "source" project of Partenon soon, so we can study it better.

Last edited by Lukas Kreator (28/7/11 23:59)

Offline

#37 29/7/11 6:20

Samer
Member
From: Lebanon
Registered: 4/9/09
Website

Re: Sketchup tutorials for making levels

COOKIE big_smile let it be chocolate chip ^^
when are u going to release the arcs level big_smile


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

#38 29/7/11 8:45

EdT
Moderator
From: Los Angeles, CA
Registered: 13/1/07
Website

Re: Sketchup tutorials for making levels

It could be how I made the walls.  I pulled the side walls from the main wall, perhaps I should have made each wall separately.  Also, I gave the inside a different texture, that's the part hanging down from the building.  I will try a different method next time.

Offline

#39 29/7/11 14:38

Lukas Kreator
Member
Registered: 7/5/10

Re: Sketchup tutorials for making levels

Hmm, maybe...

But what still bothers me is that all of these are true:
- Exporting the arcs from XSI works;
- Exporting "the mess" from XSI doesn't;
- Mini-Partenon works perfectly exporting from SU, even if I'm using kinda complex shapes.

It seems that SU isn't perfect when it comes to exporting as .dae, but it is also weird that you can't make your level work using the XSI method.

Samer: Ah, well, that level is quite incomplete, and it is only a level as tutorial, so I think I'm not actually releasing it as a stand-alone new level.

Offline

#40 29/7/11 20:45

EdT
Moderator
From: Los Angeles, CA
Registered: 13/1/07
Website

Re: Sketchup tutorials for making levels

Making progress smile
SUbuilding.jpg

After lots of trial and error, got this far.  I used the method from the video "Google Sketchup Floorplan Tutorial ", though I wasn't very accurate at first. Walls are different thickness, then the building was too small for Konoko, so I scaled the building, that's why the doorways are very wide. Next time, either I well use a real floor plan or use the girl model as reference.

The building is a single object and the walls pulled up from the original rectangle.  I used various textures for the floor, and walls.  The large green area is a separate ground plane.

Lessons learned:
1) Have lots of aspirin around, this gives me a headache tongue
2) Test frequently by importing into game.
3) Save differently named versions (building1, building2, etc) as you progress. So if you mess up, you can back to a version that worked before.
4) When ready to export, select all, right-click, select Explode ( I think this separates everything individually, whatever it does, OniSplit handles the dae correctly)
5) File > Export > 3D Model, under Options select "Triangulate All Faces"
6) When converting the textures to .oni files, make sure the original image is the correct size: 128, 256, 512, odd sizes produces odd looking textures.



Some useful video tutorials:
Google Sketchup Floorplan Tutorial :  http://www.youtube.com/watch?v=K_dpOuPsI0k
The Sketchup Show #28: Model a House from an Image: http://www.youtube.com/watch?v=nQsjwDFaBJo
SketchUp and CAD - Creating Walls : http://www.youtube.com/watch?v=FsnT8KN8xIM


SketchUp School Channel: http://www.youtube.com/user/4sketchupgo2school

P.S. I have no idea what caused the problems with "The Mess"

Offline

#41 30/7/11 1:10

Lukas Kreator
Member
Registered: 7/5/10

Re: Sketchup tutorials for making levels

Ah, thanks for this tutorial, EdT!

Yes, texture sizes should be powers of 2.
BTW, am I allowed to give people, along with my level tool, that OniSplit you gave me wich is better for importing levels?

Offline

#42 30/7/11 5:12

Samer
Member
From: Lebanon
Registered: 4/9/09
Website

Re: Sketchup tutorials for making levels

wouldn't it be easier to export a level form the game and use it as reference ? (less chance for errors in scaling)


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

#43 30/7/11 11:46

EdT
Moderator
From: Los Angeles, CA
Registered: 13/1/07
Website

Re: Sketchup tutorials for making levels

Oni uses real world dimensions:

SUscale.jpg

The girl model in Sketchup is 5 feet 6 1/2 inches and the door frame's height is at 5 feet 7 inches.  So that means Konoko is about 5' 6" in height, not including the top of her hair! smile

That means when designing in Sketchup, if you use real world dimensions of objects, buildings, vehicles, furniture, etc, it will be the correct scale in Oni.

Lukas, you can release the latest version of OniSplit with your tool.

Offline

#44 30/7/11 17:55

Lithium
Member
From: Colorado
Registered: 17/10/08

Re: Sketchup tutorials for making levels

Awesome, can't wait to see what you make with this ^^'


Oni IRC | Kumite! Kumite! Kumite!

Offline

#45 30/7/11 17:57

Lukas Kreator
Member
Registered: 7/5/10

Re: Sketchup tutorials for making levels

EdT: that is, if you don't change the measure system to decimeter, right?

Being able to use the default measure system of SketchUp will be of great help.

Offline

#46 30/7/11 18:43

EdT
Moderator
From: Los Angeles, CA
Registered: 13/1/07
Website

Re: Sketchup tutorials for making levels

LK: It should work the same in decimeters

Offline

#47 2/8/11 8:49

EdT
Moderator
From: Los Angeles, CA
Registered: 13/1/07
Website

Re: Sketchup tutorials for making levels

Lukas: The clue to solving this issue with the rotated arches, is... what makes the arches different from the pillars, ground and roof?
What keeps the arches connected even though they as a group are rotated 90 degrees?

Have you tried making and importing other levels?

I'm struggling to make a level model, trying to get used to how Sketchup handles different things.

Offline

#48 2/8/11 11:42

Lukas Kreator
Member
Registered: 7/5/10

Re: Sketchup tutorials for making levels

That is what I'd like to know...

I'll leave you some reflections here:
The arcs should be connected to the floor too, and the roof. By the way, the roof was made using as base the edges of the pillars, but that was while they where still one component... Actually, the arcs were connected to the floor while they were still a component... But the pillars in miniP were components too in the start. Not ever making the arcs components could help, but I doubt it is the main problem. The arcs were initially a wall, as you know, so it seems that one of the steps in the tutorial "corrupted" it. I doubt that common walls would be any problem. Actually, my test level "pillars" is completely made of simple cubes, not connected and never made components. So maybe it is the curves in the arc, the ones used to make the hole... I might later try making those arcs another way.

Offline

#49 7/8/11 13:50

Lukas Kreator
Member
Registered: 7/5/10

Re: Sketchup tutorials for making levels

Sorry for taking so much time to release the level tools, but I'm currently fixing a lot of problems I had with my computer, and soon, after I'm finished clearing up the mess here, I'll be releasing it.

Offline

#50 7/8/11 14:19

Nitr0
Member
From: Croatia
Registered: 26/11/10

Re: Sketchup tutorials for making levels

if you need a man for testing, I'm here smile


Ninjabar thin

Offline

Board footer

Powered by FluxBB