First, open up the Level Editor:
- Go into the folder that has your name on it (like the "Mr. Wyrick" folder, except your name isn't Mr. Wyrick)
- Double click on the "videoGameDev" folder
- Double Click on the "learn3D" folder
- Double Click on the file called editor
Now, put a Height Map into the level:
- Go to the "HeightMap Editor" window and click on the + button
- Now you are in the "Edit HeightMap" window
- Map File:
- Click on the Map File box to see a list of Height Maps you can use.
- The Height Map you choose will create the shape of the level:
- dark colors on the map will make low areas in the level (like valleys)
- light colors (like white) will make high areas in the level (like mountains)
- If you want to make your own Height Map that will show up in this box, you can read the HowTo for it here.
- Image File:
- Click on the Image File box to see a list of Color Maps you can use.
- A Color Map controls what color the ground is at each point on the map.
- Image Scale:
- The Image Scale tells you how much the Color Map will repeat when it gets put onto the ground
- If Image Scale is 1, it will cover the whole ground once
- If it is 10 there will be a whole lot of small copies of the image mapped onto the ground (kind of like wrapping paper)
- Map Style:
- In this box you can choose Floor, Roof, and Water
- If this is your first Height Map for the level, you should choose Floor - it is the normal Height Map that makes the ground.
- If you choose Roof you will have to position it so that it is higher than the ground - the next section will explain how to position a Height Map
- Water will make a HeightMap that is transparent, and that the player cannot pass through
- Once you have everything set up, click the Ok button
Working with Height Maps once they are in the Level:
- If you want to change the size of your Height Map, or its position, here is what you do:
- Make sure the Height Map you want to modify is selected (in blue) in the list of Height Maps (there is only one Height Map in the list right now).
- Changing the Angle will rotate the Height Map (use numbers between 0 and 360)
- If you just put a number into one of these boxes, nothing will happen - you have to click the Update button once you have put in the numbers you want.
- Scale x, y, and z change the size of the Height Map (x and z are length and width, and y is how tall the map is)
- Position controls where the Height Map will be.
- If you made a Roof then you will want to give it a Position y of something like 50, and then click Update - this will move the whole Roof up so that it is above the Floor.
- If you click on the Pos button, the x, y, and z position of your bubble will be put into the position boxes for the height map - if you then click on the Update button, the center of the selected Height Map wil move to where your bubble is.
- If you click on the Edit button, it will pop up the "Edit HeightMap" window for the selected Height Map, and you can change its colors, or its 3D shape, or its style (just like when you first created the Height Map).
- If you click on the - it will get rid of the selected Height Map.
- If you click on the + it will add a new Height Map, so that you can combine Height Maps however you want.
Putting objects (like trees) into the level
- In the "Object Selector" window, click on the object that you want to put into the game.
- Then, press the space bar on your keyboard.
- The object should now be in the level
- Any time your bubble is near this object, the bubble will get bigger - if the bubble is big, you can do things like changing the size of the object.
- To move the object to a different spot, click the Move button, and when you're done moving it, click the Place button.
- If the object is an item, you can set how many of the item is at that spot by changing Quantity:
- Want to know how to turn an object into an item? Click Here
- To make it so the object will move around in the game, change the value next to Speed:
- To change how far the object can move during the game, change the value next to Radius:
- To make it so the object follows a certain path, click the Path button.
- To change the direction the object is facing, type a number between 0 and 360 into the Angle box.
- When you click outside of the box, the object will automatically update itself.
- To change the height of your object, change the scale y box, or to change the width or length, change the scale x, or z box.
- To change where the conversation will appear when you talk to this object, change the x,y,z values next to Text:.
- Want to know how to make the conversation? Click Here
- To move this object up or down, change the yOffset.
- If you want to delete an object, make sure your bubble is on the object, click on the "Game" window, and press the delete key on your keyboard.
General object Properties
- To edit the general properties of an object, click on that object in the "Object Selector" window (so that the object's name is highlighted in blue).
- Then click the General Properties button.
- To make this object into an item that you can collect, just but a check in the box next to Item
- Everything in the Default Values box works the same as explained above int the "Putting objects into the level" section.
- The difference is that these are the values that your object will automatically have when you add it into the level (wheras the ones described above only affect one particular object that has already been put into the level)
- The animation box is described here.
- When you are done making changes to the ganeral properties of the object, click the Save button.
Once you have everything you want in the level, save your level:
- Go to the "File" menu and click "Save Level"
- Give the level whatever name you like.
- Now click the Save button
Back to the main HowTo page