HTC Vive Tech Demo
- Download the project from GitHub. (https://github.com/kvcruzat/vivedemo)
- Download and install Unreal Engine. (https://www.unrealengine.com/)
- Launch Unreal Engine.
- Click the Browse button in Unreal and navigate to ~/RiversofHanoi and open RiversofHanoi.uproject
- Open up Level 1 by going to File->Open Level and then selecting Level1 under the levels directory.
- Make sure the terrain is in the level.
- If the terrain is not on the level then you must drag it in.
- This is done under the modes tab, that will be on the left side of the window in the default Unreal layout.
- Select the place tab if not selected, and then search for "Terrain Actor", this should produce one result.
- Drag this result into the game screen and the terrain should place itself down.
- Repeat step 2 for every level.
- To build the project go to File->Package Project->Windows->Windows (64-bit)
- Choose where the project should build to.
- To run the game navigate to the folder that it was built to.
- Then there will be a file called RiversofHnaoi.exe, run this file.
- Navigate to ~/Randomly Generate Graphs/terrainGen
- Open a command line window here
- In the command line type "make", if no make utility is installed then install one, for example CMake (https://cmake.org/)
- After the project is compiled then type "graphGen.exe".
- This will produce the required files in ~/RiversofHanoi/Content/models
- To make a new level, navigate to ~/RiversofHanoi/Content/Levels
- Copy Level1.umap to a new file and rename it to next sequential level.
- Navigate to ./data and then copy and rename the folder "Level1" to the same name.
- Navigate to ~/RiversofHanoi/Content/models and copy the following files
- connections.txt
- nodeConnections.txt
- nodes.txt
- rivers.txt
- rodIndex.txt
- rods.txt
- terrain.m
- Move these files to ~/RiversofHanoi/Content/Levels/data/levelx, where x is the number that it was renamed to before.
- Open the level in Unreal Engine by going to File->Open Level and selecting the new level.
- Check so that everything looks right and that the terrain model is in the game.