Mick-S, on 04 Feb 2014 - 6:03 PM, said:
that's a damn good idea, hopefully someone will upload one for us to try.
nightowl, on 04 Feb 2014 - 5:47 PM, said:
Also, I'm thinking about importing an actual terrain file. Where can I find such a file to experiment with?
Here's an overlay and a heightmap I did if anyone wants to play around with Unity with a real course.
Vague instructions (from memory so wording won't match and I may have missed a step):
- Download the two files above.
- Start Unity and drag the two files into the Assets area.
- Click the Muirfield.png texture in the Assets area, change Size to 4096 and 16 bit color.
- Create a terrain and make sure it's selected by clicking on it. (Create terrain is in Game Object menu)
- Click gear icon for terrain settings. Set:
width: 2324
length: 2324
height: 45
heightmap resolution: 1025
control resolution: 2048 - Import raw file and select the Muirfield.raw file. Select 16 bit and Mac. Your terrain should now be bumpy.
- Select the brush icon (near the gear icon) and under edit textures, choose add.
- Drag the Muirfield.png image to the leftmost box.
- Change the width and height from 15 to 2324. Your terrain should now have the image on it.
- Create a directional light (same place as you created the terrain from)
- Go to top view by clicking the Y axis on little axis thingy in the top right of the viewport.
- Somewhere there's an Import Package option. Choose "Character Controller"
- From your Assets window, find the Character Controller under Standard Assets and drag the First Person Controller onto the terrain somewhere.
- With the first person controller still active, change the Y position value to say a 100.
- Increase the forward and sidewards speeds to around 40.
- Press the play button and use the W, A, S and D keys, and the mouse, to move around.