Using Road Tool in Terrain Builder – DayZ

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "Category:DayZ:Terrain Editing" to "{{GameCategory|dayz|Terrain Editing}}")
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:DayZ:Editing|Terrain]]
== Overview ==
[[Category:DayZ:Terrain_Editing|Terrain]]
 
Roads in DayZ are (unlike Arma 3) done using road prefabs (parts), which is the same method applied in Arma 2 and previous titles.
==Overview==
This unfortunately means that creating a complex road network can take considerate amount of time.
 
Roads in DayZ are (unlike Arma 3) done using road prefabs (parts), which is the same method applied in Arma 2 and previous titles. This unfortunately means that creating a complex road network can take considerate amount of time.
There are basically two ways you can use to create the road network:
There are basically two ways you can use to create the road network:
* Use road network tool in Terrain Builder
* Use road network tool in Terrain Builder
* Place road parts manually
* Place road parts manually
 
If you face the task of creating a road network on your terrain, I recommend do use combination of both ways - use road tool for the longer pieces of road network (in-between settlements) and place individual road parts (just like any other object) manually when working on a road network within a settlement. From the game point of view, it does not matter if you create the road network using the tool or by placing parts manually. Its all individual objects like any other map object.
If you face the task of creating a road network on your terrain, I recommend do use combination of both ways - use road tool for the longer pieces of road network (in-between settlements) and place individual road parts (just like any other object) manually when working on a road network within a settlement. From the game point of view, it does not matter if you create the road network using the tool or by placing parts manually.
Its all individual objects like any other map object.
Road tool ideally needs a work-drive with extracted game data (both can be setup in DayZ Tools Launcher). Once you have this setup, it is necessary to [http://download.nightstalkers.cz/dayz/buldozer/dz_road_parts.zip download following archive] and extract it into ''dz\structures\roads\parts'' (confirm overwrite of existing files).
 
Road tool ideally needs a work-drive with extracted game data (both can be setup in DayZ Tools Launcher).
==How to define a road type==
Once you have this setup, it is necessary to [https://github.com/BohemiaInteractive/DayZ-Misc/tree/master/Road%20Parts/Chernarus download following files] and place them into ''dz\structures\roads\parts'' (confirm overwrite of existing files). If you are interested in using roads from Enoch (Livonia) terrain, then [https://github.com/BohemiaInteractive/DayZ-Misc/tree/master/Road%20Parts/Livonia download following files] and place them into ''dz\structures_bliss\roads\parts''.
 
First of all, make sure you have your (or sample) terrain project loaded in Terrain Builder. After that, make sure you have ''Window - Road types'' checked. In this window, make sure you click following button.
 
== How to define a road type ==
 
First of all, make sure you have your (or sample) terrain project loaded in Terrain Builder.
After that, make sure you have ''Window - Road types'' checked. In this window, make sure you click following button.
 
[[Image:dayz_te_addroadtype.jpg|300px]]
[[Image:dayz_te_addroadtype.jpg|300px]]
 
Following window will pop up, allowing you to define a new road type.
Following window will pop up, allowing you to define a new road type.
 
[[Image:dayz_te_road_parts.jpg|300px]]
[[Image:dayz_te_road_parts.jpg|300px]]
 
Each road type consists of 3 different types of road parts:
Each road type consists of 3 different types of road parts:
* Straight parts - standard straight parts (usually comes in 6, 12, 25 meter version).
* Straight parts - standard straight parts (usually comes in 6, 12, 25 meter version).
Line 29: Line 31:
* Terminator parts - end part (6 meter part where the road fades away).
* Terminator parts - end part (6 meter part where the road fades away).
There is also special type - a crossroad, but about that a bit later.
There is also special type - a crossroad, but about that a bit later.
 
If you decide to use standard road parts, take a look at your work-drive and look into ''DZ\structures\Roads\Parts''. Here, you can see all the different models (*.p3d files), which usually begin with a road code-name.
If you decide to use standard road parts, take a look at your work-drive and look into ''DZ\structures\Roads\Parts''. Here, you can see all the different models (*.p3d files), which usually begin with a road code-name.
 
Following types are available:
Following types are available:
{| class="wikitable" style="width:100%;"
{| class="wikitable" style="width: 100%"
|-
|-
! Name !! Texture !! Width !! Notes
! Name !! Texture !! Width !! Notes
|-
|-
| '''asf1''' || [[Image:dayz_te_road_asf1.jpg|128px]] || 12m || <tt>Major asphalt road.</tt>
| '''asf1''' || [[Image:dayz_te_road_asf1.jpg|128px]] || 12m || {{hl|c= Major asphalt road.}}
|-
| '''asf2''' || [[Image:dayz_te_road_asf2.jpg|128px]] || 9m || {{hl|c= Mid asphalt road.}}
|-
| '''asf3''' || [[Image:dayz_te_road_asf3.jpg|128px]] || 7m || {{hl|c= Minor asphalt road.}}
|-
| '''city''' || [[Image:dayz_te_road_city.jpg|128px]] || 10m || {{hl|c= Asphalt road for the cities.}}
|-
| '''mud''' || [[Image:dayz_te_road_mud.jpg|128px]] || 5m || {{hl|c= Less used dirt road (forests, fields).}}
|-
|-
| '''asf2''' || [[Image:dayz_te_road_asf2.jpg|128px]] || 9m || <tt>Mid asphalt road.</tt>
| '''grav''' || [[Image:dayz_te_road_grav.jpg|128px]] || 6m || {{hl|c= Often used dirt road (in villages).}}
|}
 
You also have an option to use Enoch (Livonia road types). Look into ''DZ\structures_bliss\Roads\Parts'' to locate 3 road types and their parts.
{| class="wikitable" style="width:100%;"
|-
|-
| '''asf3''' || [[Image:dayz_te_road_asf3.jpg|128px]] || 7m || <tt>Minor asphalt road.</tt>
! Name !! Texture !! Width !! Notes
|-
|-
| '''city''' || [[Image:dayz_te_road_city.jpg|128px]] || 10m || <tt>Asphalt road for the cities.</tt>
| '''asf1enoch''' || [[Image:dayz_te_road_asf1enoch.jpg|128px]] || 12m || {{hl|c= Major asphalt road.}}
|-
|-
| '''mud''' || [[Image:dayz_te_road_mud.jpg|128px]] || 5m || <tt>Less used dirt road (forests, fields).</tt>
| '''asf2enoch''' || [[Image:dayz_te_road_asf2enoch.jpg|128px]] || 9m || {{hl|c= Mid asphalt road.}}
|-
|-
| '''grav''' || [[Image:dayz_te_road_grav.jpg|128px]] || 6m || <tt>Often used dirt road (in villages).</tt>
| '''mudenoch''' || [[Image:dayz_te_road_mudenoch.jpg|128px]] || 5m || {{hl|c= Less used dirt road (forests, fields).}}
|}
|}
 
Back to the define new road type window. Now it is time to add road parts for a selected type. Parts with one number usually mean that it is straight part. Parts with two numbers mean its corner part and part with word ''konec'' mean terminator part. Once you click add button, you will be prompted with following window.
Back to the define new road type window. Now it is time to add road parts for a selected type. Parts with one number usually mean that it is straight part. Parts with two numbers mean its corner part and part with word ''konec'' mean terminator part. Once you click add button, you will be prompted with following window.
 
[[Image:dayz_te_road_part_add.jpg|300px]]
[[Image:dayz_te_road_part_add.jpg|300px]]
 
You should add all the available road parts for a selected road type as it will provide a better control over general road direction.
You should add all the available road parts for a selected road type as it will provide a better control over general road direction.
 
==Placing a road==
 
== Placing a road ==
 
First, you need to select a road type. You can do that by clicking on one of the added road types in the ''Road types'' window.
First, you need to select a road type. You can do that by clicking on one of the added road types in the ''Road types'' window.
 
[[Image:dayz_te_select_road_type.jpg|300px]]
[[Image:dayz_te_select_road_type.jpg|300px]]
 
After choosing one, you can click following button in the upper toolbar.
After choosing one, you can click following button in the upper toolbar.
 
[[Image:dayz_te_add_road.jpg|300px]]
[[Image:dayz_te_add_road.jpg|300px]]
 
Doubleclicking into the 2D viewport of Terrain Builder will prompt following "add road wizard".
Doubleclicking into the 2D viewport of Terrain Builder will prompt following "add road wizard".
 
[[Image:dayz_te_add_road_wizard.jpg|300px]]
[[Image:dayz_te_add_road_wizard.jpg|300px]]
 
# You will asked to choose which road part type will be the key part. Usually, you want to begin with a terminator part.
# You will asked to choose which road part type will be the key part. Usually, you want to begin with a terminator part.
# Coming up next is choosing exact part from selected road part type.
# Coming up next is choosing exact part from selected road part type.
# And finally, you can specify (tweak) the position and rotation - usually not necessary to change, because you can move road part by holding LMB or rotate it by holding LSHIFT + RMB.
# And finally, you can specify (tweak) the position and rotation - usually not necessary to change, because you can move road part by holding LMB or rotate it by holding LSHIFT + RMB.
 
After you went through the wizard, key part is created. Keep in mind that this one wont be visible in Buldozer. For that, you are going to need to add more road parts to it. So lets see how that is done.
After you went through the wizard, key part is created. Keep in mind that this one wont be visible in Buldozer. For that, you are going to need to add more road parts to it. So lets see how that is done.
 
Doubleclicking on the road key part will prompt following window.
Doubleclicking on the road key part will prompt following window.
 
[[Image:dayz_te_edit_key_part.jpg|300px]]
[[Image:dayz_te_edit_key_part.jpg|300px]]
 
Here, you can modify position and rotation again (if necessary, but like I mentioned, its easier to do using shortcuts).
Here, you can modify position and rotation again (if necessary, but like I mentioned, its easier to do using shortcuts).
 
Most important part is however directions part itself. Here, you can see that selected key part has x amount of directions (each marked with a letter). At each direction, you can either add more road parts (this is what you will commonly use) or start a new road (usually handy when you dont want to create too long pieces). So lets click on modify some direction. Following window will open.
Most important part is however directions part itself. Here, you can see that selected key part has x amount of directions (each marked with a letter). At each direction, you can either add more road parts (this is what you will commonly use) or start a new road (usually handy when you dont want to create too long pieces). So lets click on modify some direction. Following window will open.
 
[[Image:dayz_te_modify_dir.jpg|300px]]
[[Image:dayz_te_modify_dir.jpg|300px]]
 
As you can see, there are tabs with all available parts for the selected road type (selected before the key part creation process). Note that corner is divided into left and right (because corner parts can be rotated). You can choose whatever part you want and double-click it. You will immidietaly see, that the part got added into the left list. You can keep doubleclicking to add more. You can also click into the list to add parts in between. You can also center scene view on the lastly placed part and finally, you can also check your progress on the road in Buldozer (assuming you have it open).
As you can see, there are tabs with all available parts for the selected road type (selected before the key part creation process). Note that corner is divided into left and right (because corner parts can be rotated). You can choose whatever part you want and double-click it. You will immidietaly see, that the part got added into the left list. You can keep doubleclicking to add more. You can also click into the list to add parts in between. You can also center scene view on the lastly placed part and finally, you can also check your progress on the road in Buldozer (assuming you have it open).
 
After you are satisfied with the progress, you can click ok button and again in the key part menu to confirm changes to this key part.
After you are satisfied with the progress, you can click ok button and again in the key part menu to confirm changes to this key part.
 
==Sharing road network between multiple people==
 
== Sharing road network between multiple people ==
Because terrains are often done in multiple people, there is an option to import / export already made road pieces. The requirement is that both sides have the same types of roads defined (which they should since the settings is saved in the project file along with roads). Import/Export process needs to be done per individual key part so the position, road type + part, rotation needs to be shared first and the other side needs to have the key part prepared in advance. You can export individual parts (attached to the key part) by clicking Export button in key part window. The other side then can (on the newly created key part) click import and select appropriate file.
 
Because terrains are often a team effort, there is an option to import / export already made road pieces. This requires that all team members have the same types of roads defined (which they should since the settings is saved in the project file along with roads). Import/Export process needs to be done per individual key part so the position, road type + part, rotation needs to be shared first and the other side needs to have the key part prepared in advance. You can export individual parts (attached to the key part) by clicking Export button in key part window. The other side then can (on the newly created key part) click import and select appropriate file.
==How to define a crossroad==
 
 
== How to define a crossroad ==
 
Key part can also exist in a form of a crossroad. These allow usually a better connection in between different road network pieces. There are several types available in the road part folder (''DZ\structures\Roads\Parts'') - all beginning with kr_ and they are either T or X shape (3 or 4 possible directions). These crossroads can be selected during the key part creation wizard and are defined in the upper menu under ''Roads > Define roads and crossroads''.
Key part can also exist in a form of a crossroad. These allow usually a better connection in between different road network pieces. There are several types available in the road part folder (''DZ\structures\Roads\Parts'') - all beginning with kr_ and they are either T or X shape (3 or 4 possible directions). These crossroads can be selected during the key part creation wizard and are defined in the upper menu under ''Roads > Define roads and crossroads''.
{{GameCategory|dayz|Terrain Editing}}

Latest revision as of 01:19, 25 April 2023

Overview

Roads in DayZ are (unlike Arma 3) done using road prefabs (parts), which is the same method applied in Arma 2 and previous titles. This unfortunately means that creating a complex road network can take considerate amount of time.

There are basically two ways you can use to create the road network:

  • Use road network tool in Terrain Builder
  • Place road parts manually

If you face the task of creating a road network on your terrain, I recommend do use combination of both ways - use road tool for the longer pieces of road network (in-between settlements) and place individual road parts (just like any other object) manually when working on a road network within a settlement. From the game point of view, it does not matter if you create the road network using the tool or by placing parts manually. Its all individual objects like any other map object.

Road tool ideally needs a work-drive with extracted game data (both can be setup in DayZ Tools Launcher). Once you have this setup, it is necessary to download following files and place them into dz\structures\roads\parts (confirm overwrite of existing files). If you are interested in using roads from Enoch (Livonia) terrain, then download following files and place them into dz\structures_bliss\roads\parts.


How to define a road type

First of all, make sure you have your (or sample) terrain project loaded in Terrain Builder. After that, make sure you have Window - Road types checked. In this window, make sure you click following button.

dayz te addroadtype.jpg

Following window will pop up, allowing you to define a new road type.

dayz te road parts.jpg

Each road type consists of 3 different types of road parts:

  • Straight parts - standard straight parts (usually comes in 6, 12, 25 meter version).
  • Corner parts - standard corner parts (comes in various lengths and angles).
  • Terminator parts - end part (6 meter part where the road fades away).

There is also special type - a crossroad, but about that a bit later.

If you decide to use standard road parts, take a look at your work-drive and look into DZ\structures\Roads\Parts. Here, you can see all the different models (*.p3d files), which usually begin with a road code-name.

Following types are available:

Name Texture Width Notes
asf1 dayz te road asf1.jpg 12m Major asphalt road.
asf2 dayz te road asf2.jpg 9m Mid asphalt road.
asf3 dayz te road asf3.jpg 7m Minor asphalt road.
city dayz te road city.jpg 10m Asphalt road for the cities.
mud dayz te road mud.jpg 5m Less used dirt road (forests, fields).
grav dayz te road grav.jpg 6m Often used dirt road (in villages).

You also have an option to use Enoch (Livonia road types). Look into DZ\structures_bliss\Roads\Parts to locate 3 road types and their parts.

Name Texture Width Notes
asf1enoch dayz te road asf1enoch.jpg 12m Major asphalt road.
asf2enoch dayz te road asf2enoch.jpg 9m Mid asphalt road.
mudenoch dayz te road mudenoch.jpg 5m Less used dirt road (forests, fields).

Back to the define new road type window. Now it is time to add road parts for a selected type. Parts with one number usually mean that it is straight part. Parts with two numbers mean its corner part and part with word konec mean terminator part. Once you click add button, you will be prompted with following window.

dayz te road part add.jpg

You should add all the available road parts for a selected road type as it will provide a better control over general road direction.


Placing a road

First, you need to select a road type. You can do that by clicking on one of the added road types in the Road types window.

dayz te select road type.jpg

After choosing one, you can click following button in the upper toolbar.

dayz te add road.jpg

Doubleclicking into the 2D viewport of Terrain Builder will prompt following "add road wizard".

dayz te add road wizard.jpg

  1. You will asked to choose which road part type will be the key part. Usually, you want to begin with a terminator part.
  2. Coming up next is choosing exact part from selected road part type.
  3. And finally, you can specify (tweak) the position and rotation - usually not necessary to change, because you can move road part by holding LMB or rotate it by holding LSHIFT + RMB.

After you went through the wizard, key part is created. Keep in mind that this one wont be visible in Buldozer. For that, you are going to need to add more road parts to it. So lets see how that is done.

Doubleclicking on the road key part will prompt following window.

dayz te edit key part.jpg

Here, you can modify position and rotation again (if necessary, but like I mentioned, its easier to do using shortcuts).

Most important part is however directions part itself. Here, you can see that selected key part has x amount of directions (each marked with a letter). At each direction, you can either add more road parts (this is what you will commonly use) or start a new road (usually handy when you dont want to create too long pieces). So lets click on modify some direction. Following window will open.

dayz te modify dir.jpg

As you can see, there are tabs with all available parts for the selected road type (selected before the key part creation process). Note that corner is divided into left and right (because corner parts can be rotated). You can choose whatever part you want and double-click it. You will immidietaly see, that the part got added into the left list. You can keep doubleclicking to add more. You can also click into the list to add parts in between. You can also center scene view on the lastly placed part and finally, you can also check your progress on the road in Buldozer (assuming you have it open).

After you are satisfied with the progress, you can click ok button and again in the key part menu to confirm changes to this key part.


Sharing road network between multiple people

Because terrains are often a team effort, there is an option to import / export already made road pieces. This requires that all team members have the same types of roads defined (which they should since the settings is saved in the project file along with roads). Import/Export process needs to be done per individual key part so the position, road type + part, rotation needs to be shared first and the other side needs to have the key part prepared in advance. You can export individual parts (attached to the key part) by clicking Export button in key part window. The other side then can (on the newly created key part) click import and select appropriate file.


How to define a crossroad

Key part can also exist in a form of a crossroad. These allow usually a better connection in between different road network pieces. There are several types available in the road part folder (DZ\structures\Roads\Parts) - all beginning with kr_ and they are either T or X shape (3 or 4 possible directions). These crossroads can be selected during the key part creation wizard and are defined in the upper menu under Roads > Define roads and crossroads.