Home > Content > Community > Creations > New Worlds > Discussion: How to create a world / Unity Terrain Tutorial
44 Comments - 37864 Views
How to create a world /. Unity Terrain Tutorial / How to create a world /. Unity Terrain Tutorial
Submitted By Abister on 12/07/15
Mars Explorer, Abister, Community, Creations, New Worlds 

Other tutorials to consider:

MacDanes Sketchup Tutorials
http://marsxplr.com/view-4756

Sketchup to Unity:
http://aubreyfalconer.com/view-5843


Reverse Faces:
http://plexpedia.com/view-9910
 

Image to Texture Tutorial:
http://marsxplr.com/view-9781



Part 1: The Set Up


First, you need an idea. I'm making a simple hilly world.

Then, you need unity 2.6. You can get that here:

http://download.unity3d.com/download_unity/UnitySetup-2.6.0.exe

Once you install it, open it up. 


That's what Unity looks like. Before you do anything else, you also need Whirld 3. Download it here:

http://dl.dropbox.com/u/14210843/World%20Tutorial%20Pictures/100215%20Whirld.unitypackage

Then run the program by clicking on it while Unity is open.


Then click "Import"

 

Another thing you need to do before working on the world is to open up a previous world. This allows you to set the spawn point and change the description, plus it makes things easier for me or others to export.

 


Click on it to open it.

Obviously, you don't want levitashia in there. Notice the red circle:

 
This is the Hirearchy. It displays what is in your scene. (AKA, whats in the world currently.) You want to delete everything except for the Base and World.


It should look like this.

 
If you can see the skybox (the background) and fog, it would be easier to turn them off for now. Click the following buttons.


The picture displays the background and the lightbulb displays light. Turn them both off.

Part 2: Creation Time..?

Now it's time for you to create a terrain. Click on Terrain-Create Terrain.


This should create a blank sheet in the scene. Notice to the right in the Hirearchy and the inspector.


The Inspector displays the properties of the object you have selected. Notice the tools:

 
What each does:

Red: Molds the terrain upward. Holding shift will lower the terrain.
Orange: This will mold the terrain to a specific height. Holding shift sets the point.
Yellow: Smooths the terrain. Use this when it's too bumpy.
Green: This one paints the terrain with textures. We'll go into it in a bit.
Blue: This manages your trees just like the Green manages your textures.
Dark Blue: This manages 2d grass and such, just like Blue and Green.
Purple: This manages the terrain settings, but it's best to leave these alone for your first world.

Now would be a good time to test out the terrain. Click on the (red) tool and you will see this pop up:


The yellow is pretty streight forward, and the green will adjust the power, or strength, of your brush. The Red displays all of the amazing brushes you have to choose from. Select a brush and draw on the terrain. You may notice it's very similar to painting a picture.


As you can see, it looks dull because there are no textures loaded. Click on the Paintbrush (yellow) tool. 


(Note: Target Strength limits the opacity)

Click on the "Edit Textures" (Green box above)

Then Add Texture


This will pop up:


The Yellow will stretch or squish accordingly, and the Red is where you choose your texture. Click on the Red box to choose. This will pop up:


As you can see, it loads every image available, and not all are textures. I have outlined in Yellow those that are actual textures. You can use these, but I strongly suggest you do not, or else it will look like everyone elses world. 

How do you get more textures? GOOGLE IMAGES! Search for textures you want, but make sure you include the word "seamless" in your search, or else the textures will not look smooth at all. If you find a texture that is not smooth, I have written another tutorial on making it seamless:

http://marsxplr.com/view-9781

PRO TIP: Make sure they are +512x512 (They HAVE to be divisible by four and square) for detail.

These are the textures I will be using:






To put them in Unity, simply drag the files in.


 Now add them to your texture list.


 Now you can begin modelling.

 
I usually make things a little higher to create an island. Do this by raising the terrain a bit, then shift clicking with the (orange tool), then draw the rest to create an island.

 
Before we add our sea, we need to make sure the default scripts are gone. They mess up the terrain as well as exporting.

Locate these files, then delete:

 
The Sea that you can use is located here:

 
Click and drag into your scene. Position it the following:

 
The position is, well, the position. X&Z handle the horizontal and Y handles the verticle. About 10 units high is good.

Also, it would be a good idea to set the X and Z scale to around 10-100. I personally prefer 100 to have an endless ocean, but others like it 10.This is what it should look like:

 
After I began painting and scaling, I realized the "Grass Rock" texture did not fit. (Northern most)

 
So I created a new one by combining the rock with the grass.

 
Another thing you can see from the picture above the new texture is that you can see when the textures copy. This is a technique you should heavily consider when painting your textures: 

 
To avoid it looking like this: (BELLOW IS A DO NOT!!!!!) 

 
See how it doubles? BAD! The above method also gives it a more natural feel. 

Part 3: COMPLETION..?

Once your terrain is nearing it's completion, there is a few things that need to do before it can be exported.

One of these is to add a floor. A lot of worlds recently have ignored this step, possibly because they do not know how. Find the following file in your Project panel:

 
And click and drag just like the water. It should also have the exact same specifications as the water with the exception of the Y position. This should be set to 0.

Then select the following in the Hirearchy:

 
Then look at the inspector.

 
Change this texture to your bottom texture.

 
Now, click on the parent (Folder above) object in the Hirearchy. Then click and drag the texture into the following area:


 Then, click on "world" in the hirearchy.

 
The Purple is the welcome message that displays when you join the world. Edit that to how you like. The Blue, however, are the default settings. (And these are CRAP!) Change to the following:

mmap:1;camo:0;wvis:8000;lsrh:0;lspd:200;lgvt:0;bugen:1;tnken:1;hvren:1;jeten:1;

If you would like to disable a vehicle, the last four enable each one. Change the number 1 to 0 for vehicles you do not want.

Then, move the "Base" in the hirearchy to the place that you want it.

 
Make sure it is above -300 in the Inspector on the Y axis or else you will fall off constantly.

Another thing I recomond is creating a custom skybox. AWESOME skyboxes can be found here:

http://www.redsorceress.com/skybox.html

Once you download one that you like, import just like the textures. To make the textures look better, select one each individually and change their wrap mode from "Repeat" to "Clamp."

To set up the skybox, you need to create a material.

 
Select the new material and change it's render settings to a skybox.

 
Now you will see  6 areas for your skybox. Put each piece of the skybox into their designated areas.

If you got a skybox from the site recommended above, you will NOT have a bottom texture, (Not a problem) and the LEFT and RIGHT images need to be switched. 

Now that your skybox is done, you need to have it displayed.

 
And this will pop up:
 
 
Make sure the skybox material is the skybox you created (Defaulted to "New Material,") and go ahead and change the Fog Color to what ever you like.

Now we need to adjust lighting. Create a directional light.

 
Position it between you and the sun, then angle it so it is shinning right at you. This will make the terrain look like the light is coming from the skybox. Unfortunetly, I do not have a sun in my skybox, but it is in the right place due to the shading of the skybox.

 
To make this take effect, create a lightmap.

 
This will pop up and click OK.

 
Once that is done, you are ready to export it.

Part 4: Exporting 

If you don't have Unity Pro, create a package.


Upload the package to Drop Box, and send it to me or someone else that has Unity Pro to export.

If you have Unity Pro, or the Pro Trial, export it like this:



 Make sure it says "Bundle," then export it. The files will be located here:

 
Upload EVERYTHING is there to Dropbox in it's own folder.

 
Once that is done, right click the following item to get your URL!

 

There you have it. That's how to make a world in Unity.  

» Reply to Discussion Threaded Hybrid Flat 44 Replies
» Reply to Comment
Re: How to create a world /. Unity Terrain Tutorial
1 day - 4,819v
Posted 2012/07/15 - 2:45 GMT
WHEEEEEEEEEEEEEEEEEEEEUUUUUUUUUUUUUUUU!!!!!!!!!!!
This is freakin awesome!!!
Thank you so much!!!
» Reply to Comment
Re: How to create a world /. Unity Terrain Tutorial
4 days - 13,880v
Posted 2012/07/15 - 3:06 GMT
Thanks. I worked on it all day. XD
» Reply to Comment
Re: How to create a world /. Unity Terrain Tutorial
1 week - 32,767v
Posted 2012/07/15 - 4:50 GMT
THE best tutorial on marsxplr. EVER!

Maybe, add some links to the world creation thread, all the different methods of sketchup-> blender -> unity threads, reverse faces tutorial, macdane's sketchup tutorials (ect)
» Reply to Comment
Re: How to create a world /. Unity Terrain Tutorial
4 days - 13,880v
Posted 2012/07/15 - 5:19 GMT
PM me MacDanes Sketchup tutorials.
» Reply to Comment
Re: How to create a world /. Unity Terrain Tutorial
12 minutes - 35v
Posted 2013/02/03 - 6:24 GMT
I looked at your unfinished worlds and I couldn't figure out how to get the URL. :( Please help!
 
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 week - 30,690v
Posted 2012/07/15 - 5:14 GMT
If I was in college and i could be an A student i would comment on a alot of things...but im not so ill wing it and say great job!
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
5 days - 10,533v
Posted 2012/07/15 - 7:34 GMT
This is the best tutorial I have EVER seen. Great work Abister! It goes through EVERY step! (I think)
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
4 days - 13,880v
Posted 2012/07/15 - 16:19 GMT
Too bad the example world turned out like crap. I was focused too much on taking +60 pictures than the actual world.
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 week - 32,767v
Posted 2012/07/15 - 18:29 GMT
The tutorial works great, but there was no "world" in my hierarchy. Keep in mind, this world was finished before I imported whirld and the tutorial came out. Any ideas?
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
4 days - 13,880v
Posted 2012/07/16 - 17:43 GMT
Create a new project and restart. You can copy over any assets you made.
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 week - 32,767v
Posted 2012/07/16 - 21:27 GMT
Resolved.
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
4 days - 13,880v
Posted 2012/07/16 - 21:36 GMT
It's in there already.
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 week - 32,767v
Posted 2012/07/24 - 18:30 GMT
Can I have link to crappy world?
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 week - 32,767v
Posted 2012/07/18 - 14:07 GMT
Nice work. I would never have the time, nor willpower to invest such an effort into making a tutorial for these people. XD
This is very well done, though I would recommend having the tutorial hosted on Google Docs or something, just for simplicity.
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 week - 32,767v
Posted 2012/07/19 - 23:26 GMT
FINALLY, AFTER SEVERAL YEARS OF FAILURE, I NOW KNOW HOW TO MAKE A FRIGGIN TERRAIN!!!!

But now how do I make a block world?
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 week - 32,767v
Posted 2012/07/19 - 23:43 GMT
Trust me, for worlds, this was easier for me. :P
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
5 days - 10,533v
Posted 2012/07/20 - 8:21 GMT
Block worlds you go to FC's world creator, there is a link on the post "Everything you need to know about mars explorer" or what ever it is called :/
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 week - 32,767v
Posted 2012/07/22 - 18:44 GMT
Abister, could you teach us how to set up a web demo also, to try out and perfect our worlds before you export them, so you only have to export them once?
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 week - 32,767v
Posted 2012/07/23 - 20:13 GMT
waht do I set up as "imput axis yaw", for a web demo?
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 week - 32,767v
Posted 2012/07/24 - 18:30 GMT
But you can't export the world to mars. I mean how do I make a block world like the satellite base.
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
4 days - 13,880v
Posted 2012/07/24 - 19:34 GMT
If you send it to me, I can export it.
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 week - 32,767v
Posted 2012/07/30 - 5:20 GMT
Oh, I was talking about World Creator Basic.
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 week - 32,767v
Posted 2012/08/01 - 0:53 GMT
Um, how do I make a webplayer?
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 week - 32,767v
Posted 2012/08/02 - 16:32 GMT
You know the easiest world to make is a bumpy world like my Rocky Road.
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 week - 32,767v
Posted 2012/08/28 - 19:02 GMT
Please: INCLUDE ALL you said in ONE comment >:(.
Aside from that; please don't peddle your worlds on a post where advertising does not belong.
 
Making a webplayer is difficult. I can, but it takes time. Ask ThePancakes on the CC forum.
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 week - 32,767v
Posted 2012/08/31 - 2:24 GMT
Great work Abister! I propose a "Show Image" feature so the pictures load on request. Plus, it saves Aubrey from unecessary bandwith issues, lol :P
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 day - 5,309v
Posted 2012/09/01 - 15:34 GMT
When making another world, do you start a new scene or a new project?
Or does it not matter?
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
4 days - 13,880v
Posted 2012/09/01 - 16:08 GMT
It doesn't matter, but I create a new project just for organization.
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 week - 32,767v
Posted 2012/09/07 - 1:23 GMT
How do you change the terrain size?
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 week - 32,767v
Posted 2012/09/15 - 21:51 GMT
How do I fix this?
 
https://dl.dropbox.com/u/65782558/Export%20trial/WhirldExport/NewDesertTrial.utw
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
14 hours - 1,825v
Posted 2012/10/05 - 22:51 GMT
how the hell do i open it up, i mean what program do i use, windows media player?, or what?!?!?!?!?!?!??!!?!??!!?!??!!?!?
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 week - 32,767v
Posted 2012/10/05 - 22:57 GMT
read the thing.
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
4 hours - 727v
Posted 2012/10/09 - 22:09 GMT
no meu nao apareceu wirldi
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 week - 32,767v
Posted 2012/10/10 - 0:54 GMT
Ponha Whirld em seu Projeto de Unidade
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
4 hours - 727v
Posted 2012/10/10 - 16:26 GMT
como ?
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 week - 32,767v
Posted 2012/10/10 - 23:02 GMT
arrastar e soltar Whrild em unidade.
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
4 hours - 727v
Posted 2012/10/10 - 17:54 GMT
como fasso para ter os terrenos no meu computador ?
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 week - 32,767v
Posted 2012/10/10 - 23:05 GMT
criar um terreno, clicando em "terreno (terrain)" e clicar em "terreno criar (create terrain)"
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
4 hours - 727v
Posted 2012/10/10 - 18:19 GMT
eu nao tenho o levitashia e nos outros nao funciona
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
4 hours - 727v
Posted 2012/10/11 - 12:50 GMT
É IMPOSIVEL FASER ESSE TROÇO AI
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
2 days - 5,674v
Posted 2012/10/13 - 19:23 GMT
sweeeettttttt   
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
1 week - 32,767v
Posted 2013/02/02 - 19:29 GMT
How do you create waterfalls in unity?
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
4 days - 13,880v
Posted 2013/02/02 - 19:46 GMT
Find an asset (usually costs 15$) or you can try to make a crappy one with particles.
» Reply to Comment
Re: How to create a world / Unity Terrain Tutorial
5 days - 10,533v
Posted 2013/02/06 - 16:32 GMT
Dats wat I do! I make it with particles :D

» Reply to Discussion Threaded Hybrid Flat 44 Replies
 

This website is powered by Plexpedia
Usage of this site constitutes agreement to the » Legal Stuff