RoF/Sandbox – User
mNo edit summary |
mNo edit summary |
||
Line 107: | Line 107: | ||
After opening layers.cfg in Notepad++, press ctrl + F or search > find, in the toolbar. In the "find what" box enter "yourtag" in the "Replace with" box put your tag, click "Replace All". Next do the same for "mapname", then save the file. Don't use spaces, use underscore (cooltag_myfirstmap) instead and it's best to get in the habit of using lowercase to avoid stress later. | After opening layers.cfg in Notepad++, press ctrl + F or search > find, in the toolbar. In the "find what" box enter "yourtag" in the "Replace with" box put your tag, click "Replace All". Next do the same for "mapname", then save the file. Don't use spaces, use underscore (cooltag_myfirstmap) instead and it's best to get in the habit of using lowercase to avoid stress later. | ||
[[File:arma3-replace tag in notepad plusplus.png]] | |||
Line 114: | Line 114: | ||
Go back to the root of the P drive. Now you need to rename all the folders and files inside the "yourtag" folder. Rename anything with "yourtag" to your tag, and rename "mapname" to your chosen map name. See the picture below for files you need to open and search and replace like you did layers.cfg | Go back to the root of the P drive. Now you need to rename all the folders and files inside the "yourtag" folder. Rename anything with "yourtag" to your tag, and rename "mapname" to your chosen map name. See the picture below for files you need to open and search and replace like you did layers.cfg | ||
[[File:arma3-sample files to rename.png]] | |||
== Terrain Builder == | == Terrain Builder== | ||
Next we will setup our Terrain Builder project, an decide on a map size! Load up Terrain Builder via the shortcut we created earlier (remember don't use Arma Tools Launcher!). | Next we will setup our Terrain Builder project, an decide on a map size! Load up Terrain Builder via the shortcut we created earlier (remember don't use Arma Tools Launcher!). | ||
Line 126: | Line 126: | ||
By default a number of views are turned off, in Terrain Builder go to "Windows" on toolbar and match your version to the image below. | By default a number of views are turned off, in Terrain Builder go to "Windows" on toolbar and match your version to the image below. | ||
[[File:arma3-terrain builder windows.png]] | |||
You can drag the menu's around to have the layout you want, this is how mine looks | You can drag the menu's around to have the layout you want, this is how mine looks | ||
[[File:arma3-terrain builder layout.png|thumb|left]] | |||
=== Create Mapframe === | |||
===Create Mapframe === | |||
From the toolbar click Mapframes > Add Mapframe | From the toolbar click Mapframes > Add Mapframe | ||
[[File:arma3-terrain builder add mapframe.png]] | |||
UTM selection menu will open, just use the default settings and press ok. Zone - 31 (0E - 6E) Sunzone N. Don't change this, even if you are making a real world terrain! You can change this in your config.cpp later. | UTM selection menu will open, just use the default settings and press ok. Zone - 31 (0E - 6E) Sunzone N. Don't change this, even if you are making a real world terrain! You can change this in your config.cpp later. | ||
[[File:arma3-terrain builder utm selection.png]] | |||
The Mapframe Properties window will now open. The first tab is "Location" use the following settings, but obviously change the yourtag and mapname to your own tag and mapname | The Mapframe Properties window will now open. The first tab is "Location" use the following settings, but obviously change the yourtag and mapname to your own tag and mapname | ||
Line 151: | Line 176: | ||
{{Feature|warning|The mapframe must be at 200000, 0. Even if it's real world location! DO NOT use other coordinates!}} | {{Feature|warning|The mapframe must be at 200000, 0. Even if it's real world location! DO NOT use other coordinates!}} | ||
[[File:arma3 terrain builder mapframe properties location.png]] | |||
Click the "Samplers" tab at the top | Click the "Samplers" tab at the top |
Revision as of 10:36, 21 October 2024
TODO Sample files
TODO Add warning about disabling arma tools auto mount first
Recommended Software
I'm going to be using only free programs for this guide. I won't cover how to install them, as it's basically just a matter of pressing 'Next' a few times in the installer. Programs like Arma Tools I will cover!
Text editor: Notepad++
Image editor: GIMP
Terrain Editor: L3DT Pro Now freeware, but you do have to login to the trial page still.
TODO Mirror link
Arma 3 Tools
On steam search for and install Arma 3 Tools, after it downloads run it. Agree to the license if it pops up, click Addon Builder so all the windows registry is setup. Close Addon Builder and Arma 3 Tools.
The Tools launcher has a habit of breaking Terrain Builder / Buldozer, so we need to make shortcuts to the programs we want.
Right click Arma 3 Tools in Steam > Manage > Browse local files
Go into the TerrainBuilder folder. Find and right click TerrainBuilder.exe > Send to > Desktop
Go back to the Arma 3 Tools folder, but this time go into the TerrainProcessor folder. Find and right click TerrainProcessor.exe > Send to > Desktop
You should now have 2 icons on your desktop. Use these when working on your map, don't load Terrain Builder via Arma 3 Tools launcher!
Mikero's Tools
Mikero's Tools are a must when terrain making, download the "Mikero_AiO_Installer" from his website. There is a paid version, but the free version works fine for making terrains. Once it's download, simply run the installer.
P Drive
So a lot of people struggle with setting up the P drive (also known as workdrive), but it's pretty simple when done correct. One of the main steps is not to use Arma 3 Tools to do it!
You need to make a folder on your PC, this should be on a drive with at least 40gb+ free space! It's not recommended to use the root of C:\ drive. This folder is where Arma's files will be extracted to, an where you will be editing all your terrain files.
Make a new folder and call it whatever you want, I'm calling mine "P Drive", after creating the folder go into it. Copy the folder path from the folder address bar.
Go to the extracted sample files you downloaded at the start. Find "Mount P Drive.bat" and right click it > Edit
Where it says subst p: "Paste path of P drive folder here"
, paste the file path we copied then save the file. Example subst p: "G:\P Drive"
Double click "Mount P Drive.bat", go to your list of drives you should now see a P:\ drive listed (press F5 to refresh view if it's not showing).
Go into the P drive, it should be empty. The P drive is just a mirror of the folder we made, but mounted as a drive.
Go to the extracted sample files, go into "Files to be placed in P Drive" copy both "yourtag" and "source_files" folders. Go back to the P drive and paste the files into it.
Arma3p
Now we need to extract Arma 3's files to the P drive, to do this we use Mikero's Arma3p. You should have it installed if you followed the steps so far...
Click Start on your desktop, and type arma3p and click on it when it shows.
The Arma3p window will open and ask enter drive to extract to E..Z
Press "P" since we want to extract to that drive.
It will then ask full extraction including layers, dubbing and missions? [Y,N]?
Press N, since we have no need for any of that, an it wastes a lot of file space!
Let it run till it completes, if it shows any errors verify the game files in Steam
Once it's finished the P drive should now look like this
Setting up your Project Files
Now we need to rename our files before we can start terrain making. You need to choose a "tag", a tag helps avoid conflicts with other mods and should be unique. Try to keep it short and avoid using one that has been used by others, don't use "cup" or "rhs" etc! You also need to choose your mapname.
With this all in mind, go to your P drive, go into the "source_files" folder, rename "MapName" to what you want your map to be called. Go into that folder and open layers.cfg. (you can just right click > edit with Notepad++, if you haven't set file associations)
Layers.cfg
After opening layers.cfg in Notepad++, press ctrl + F or search > find, in the toolbar. In the "find what" box enter "yourtag" in the "Replace with" box put your tag, click "Replace All". Next do the same for "mapname", then save the file. Don't use spaces, use underscore (cooltag_myfirstmap) instead and it's best to get in the habit of using lowercase to avoid stress later.
Map Folder
Go back to the root of the P drive. Now you need to rename all the folders and files inside the "yourtag" folder. Rename anything with "yourtag" to your tag, and rename "mapname" to your chosen map name. See the picture below for files you need to open and search and replace like you did layers.cfg
Terrain Builder
Next we will setup our Terrain Builder project, an decide on a map size! Load up Terrain Builder via the shortcut we created earlier (remember don't use Arma Tools Launcher!).
Terrain Builder UI
By default a number of views are turned off, in Terrain Builder go to "Windows" on toolbar and match your version to the image below.
You can drag the menu's around to have the layout you want, this is how mine looks
Create Mapframe
From the toolbar click Mapframes > Add Mapframe
UTM selection menu will open, just use the default settings and press ok. Zone - 31 (0E - 6E) Sunzone N. Don't change this, even if you are making a real world terrain! You can change this in your config.cpp later.
The Mapframe Properties window will now open. The first tab is "Location" use the following settings, but obviously change the yourtag and mapname to your own tag and mapname
Name: yourtag_mapname Output root folder: P:\yourtag\mapname\yourtag_mapname_layers Easting: 200000 Northing: 0
Click the "Samplers" tab at the top