martes, 11 de septiembre de 2012

UDK - Unreal Development Kit: Basic Tutorial

Here i start a serie of tutorials regarding the tool UDK - Unreal Development Kit. These tutorials are based on my own experience and other tutorials that helped me in the first steps with UDK.

Lets start with the creation of a basic terrain.

1.Start clicking ‘Create a new level’ button.

2. A menu comes let us to choose a map template. For now, just click blank map.

2. You should now see a screen like this.

3. You can change the view using that button palette.

4. Inside a view, you can choose the type of view using these letters.

5. Working in the viewports. To move backwards and forwards in the UDK editor viewports hold down the left mouse button and scroll around. To look around hold down the right mouse button and scroll around. To move up/down/left/right hold down LMB + RMB.

6. So let’s create our first room. Right click on the ‘Cube‘ button down the left hand toolbar under the Brushes heading. The Brush Builder – Cube menu should now appear.

7. Inside the Brush Builder – Cube menu you have XYZ values along with 4 other settings. X + Y axis are your horizontal axis and Z is your vertical. Now change your X and Y values to 1024 and your Z to 32.

Note: All values should be multiples of 2 to keep things aligned. Eg 128, 256, 512, 1024.

8. This still isnt actually added to your level. We need to add the brush to the level. There are two ways to do this. The easy way is to have the red builder brush selected and hit Ctrl + A. Alternatively you can press the CSG Add button down the level hand tool bar under the CSG menu. This builds an Additive brush in your level. Your viewport should now look like this.

Your additive brush shows up with a blue line in your orthographic viewports. It also shows up as a solid brush in your perspective viewport with a default checker material.

9. Next we will skip to a step that we normally do later but it’s just as easy to do now whilst we are using our red builder brush. So make sure your red brushis selected in one of the viewports as it is in the image above. Now change your Z axis in your Brush Builder – Cube to 1024.

10 Next we need to get a light in to our scene. For a very basic light hold down the L key somewhere on your blue and gray checkerboard additive brush and click in the cube. This should have added an additive light to your scene.

12. The properties of the ligh can be changed. The ligh control panel appears pushing F4.

10. Next is toadd a player start to the scene. Right click on your additive brush and select Add Actor – Add PlayerStart.

And it appears like that:

 11. The last thing to do before we play our basic level is to build all.

 After the build, you should be able to test play your little square.

 And this is all for this very basic beggining tutorial. Soon we will se some more complicated stuff.