Terrain Tutorial – Arma 2

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
Line 30: Line 30:
* ''This is actually just a association of the '''O:\BI TOOLS 2\ArmAWork\''' folder in our example.
* ''This is actually just a association of the '''O:\BI TOOLS 2\ArmAWork\''' folder in our example.
* ''One should think about which objects one would like to use on the map. For basic understanding we keep the amount of used objects pretty low, to avoiding loosing the overlook.
* ''One should think about which objects one would like to use on the map. For basic understanding we keep the amount of used objects pretty low, to avoiding loosing the overlook.
* ''Drive '''P:''' already contains the '''ca''' folder which contains a couple unpacked pbo files and a further folder called Roads2.
* ''Drive '''P:''' already contains the '''ca''' folder which fruther contains a couple of unpacked pbo files and another folder called Roads2.


===== Setup =====
===== Setup =====


* ''1: In this '''P:\CA\''' create a new folder called '''plants2'''.
* ''1: Go to '''P:\CA\''' and create a new folder called '''plants2'''.
* ''2: Browse to your '''ArmA2 main directory/Addons''' folder and unpack the plants2_'''bush''', plants2_'''clutter''', plants2_'''misc''', plants2_'''tree''' .pbo's
* ''2: Browse to your '''ArmA2 main directory/Addons''' folder and unpack the plants2_'''bush''', plants2_'''clutter''', plants2_'''misc''', plants2_'''tree''' .pbo's
** '''How to Extract Pbos'''  
** '''How to Extract Pbo files?'''  
** ''Dowload the latest Versions of '''ExtractPbo''' and '''DePbo''' by '''Mikero''' at [http://dev-heaven.net/projects/list_files/mikero-pbodll DevHeaven]
** ''Dowload the latest Versions of '''ExtractPbo''' and '''DePbo''' by '''Mikero''' at [http://dev-heaven.net/projects/list_files/mikero-pbodll DevHeaven]
** ''Extract them for example to our Tutorial partition O:\ComTools\ExtractPbo.....
** ''Extract them right into our Tutorial partition O:\ComTools\ExtractPbo.....
** ''Move the '''DePbo.dll''' from the dowloaded DePbo into the ..Windows\System32 folder (as explained in the readme.DePbo.txt)
** ''Move the '''DePbo.dll''' from the dowloaded DePbo into the ..Windows\System32 folder (as explained in the readme.DePbo.txt)
** ''Rightclick on a *.pbo and choose Open with, then point to the ExtractPbo\ExtractPbo.exe and set the hook to open this filetype always with ExtractPbo.exe.
** ''Rightclick on a *.pbo and choose Open with, then point to the ExtractPbo\ExtractPbo.exe and mark the checkbox to always open this filetype with ExtractPbo.exe.
** ''You should be able to extract each *.pbo with a doubble click and you got a clean unpacked foldier with *.p3ds, config.cpp and all other stuff from the pbo.
** ''Now each time you unpack a *.pbo by doubleclick you´ll recieve a clean unpacked file with *.p3ds, config.cpp and all other stuff from the pbo.
** ''There are sure alot of other ways to extract pbos and unrap config.bin's this is a very conformable one.
** ''There are of course much further ways to extract pbos and unrap config.bin's but this is a very conformable one.
* ''3: Rename thos extracted foldiers by removing the "plants2_"
* ''3: Rename this extracted folders by removing "plants2_" of the name.
* ''4: Cut&Paste the '''bush''', '''clutter''', '''misc''' and '''tree''' foldier to the new created '''P:\CA\plants2\''' foldier.
* ''4: Cut&Paste the '''bush''', '''clutter''', '''misc''' and '''tree''' folders to the new created '''P:\CA\plants2\''' folder.
* ''5: Do the same with the '''building2.pbo''' but without the need to rename anything.
* ''5: Do the same with the '''building2.pbo'''. This time you dont need to rename anythings.
* ''6: Now extract the '''Ca.pbo''' but only Cut&Paste the stuff inside the extracted Ca.pbo to '''P:\CA\'''
* ''6: Now extract the '''Ca.pbo''' but only Cut&Paste the stuff inside the extracted Ca.pbo to '''P:\CA\'''
** ''You can do this with all other pbos but for this tutorial we are only using '''building2&plants2'''.
** ''You can do this with all other pbos but for this tutorial we are only using '''building2&plants2'''.
* ''7: Your '''P:\CA\''' should look like in the picture when you done.
* ''7: When it´s done so your '''P:\CA\''' should look as shown in the picture below.
[[Image:Tutorial_tool_install_3.jpg]]
[[Image:Tutorial_tool_install_3.jpg]]


===== Your Project Foldier =====
===== Your Project folder =====


* ''1: Now you can create an own Project Foldier in yor '''P:\''' drive. Optimal would be '''P:\'''[http://ofpec.com/tags/ TAG]\ name or an other short identification\Namespace.
* ''1: Now you can create an own Project Foldier in your '''P:\''' drive. Optimal would be '''P:\'''[http://ofpec.com/tags/ TAG]\ name or an other short identification\namespace.
** ''In this Tutorial we will use as our Namespace '''P:\TUT'''
** ''In this Tutorial we will use as our Namespace '''P:\TUT'''
* ''2: Now comes the important part for example that we can use working animations/ladders on our Terrain. For that we need the respective config files from the Optjects we used on our Terrain.
* ''2: Now comes the important part for example that we can use working animations/ladders on our Terrain. For that we need the respective config files from the Optjects we used on our Terrain.

Revision as of 07:19, 1 September 2009

Introduction

This simple tutorial will explain the basic process of creating a Island in ArmA2.

What the tutorial will deal with:

  • Setup Editing Tools 2
  • Preparing the Working Foldier
  • Setup Visitor 3
  • Binarizing your world properly.
  • Proper Samplemap to work with.


Setup Editing Tools 2

  • It´s pretty important to choose a proper place to install the BI Editing tools 2 before starting with anythings else (a clean empty partition is highly recommended).
  • In this tutorial we will use Partition O:\
    • 1: Download the BI Editing Tools 2
    • 2: Create a foldier called BIS TOOLS 2 in your designated Partition (O:\BIS TOOLS 2\ in our example)
    • 3: Open or extract the dowloaded zip file and start the BI_Editing_Tools_2_Setup.exe
    • 4: The installer is basically self explanatory, the actual important process is to change the directory for each tool.Tutorial tool install 1.jpg
      • Make sure to define the respective path for each tool (e.g.: O:\BIS TOOLS 2\Oxygen 2, O:\BIS TOOLS 2\Visitor 3 .....and so on).
    • 5: All tools should be installed now in respective directory (O:\BIS TOOLS 2\). Every Tool is stored in its own folder.

Tutorial tool install 2.jpg

Preparing the Working Foldier

  • A virtual drive (P:) will be emulated automatically while installtion process of the tools.
  • This is actually just a association of the O:\BI TOOLS 2\ArmAWork\ folder in our example.
  • One should think about which objects one would like to use on the map. For basic understanding we keep the amount of used objects pretty low, to avoiding loosing the overlook.
  • Drive P: already contains the ca folder which fruther contains a couple of unpacked pbo files and another folder called Roads2.
Setup
  • 1: Go to P:\CA\ and create a new folder called plants2.
  • 2: Browse to your ArmA2 main directory/Addons folder and unpack the plants2_bush, plants2_clutter, plants2_misc, plants2_tree .pbo's
    • How to Extract Pbo files?
    • Dowload the latest Versions of ExtractPbo and DePbo by Mikero at DevHeaven
    • Extract them right into our Tutorial partition O:\ComTools\ExtractPbo.....
    • Move the DePbo.dll from the dowloaded DePbo into the ..Windows\System32 folder (as explained in the readme.DePbo.txt)
    • Rightclick on a *.pbo and choose Open with, then point to the ExtractPbo\ExtractPbo.exe and mark the checkbox to always open this filetype with ExtractPbo.exe.
    • Now each time you unpack a *.pbo by doubleclick you´ll recieve a clean unpacked file with *.p3ds, config.cpp and all other stuff from the pbo.
    • There are of course much further ways to extract pbos and unrap config.bin's but this is a very conformable one.
  • 3: Rename this extracted folders by removing "plants2_" of the name.
  • 4: Cut&Paste the bush, clutter, misc and tree folders to the new created P:\CA\plants2\ folder.
  • 5: Do the same with the building2.pbo. This time you dont need to rename anythings.
  • 6: Now extract the Ca.pbo but only Cut&Paste the stuff inside the extracted Ca.pbo to P:\CA\
    • You can do this with all other pbos but for this tutorial we are only using building2&plants2.
  • 7: When it´s done so your P:\CA\ should look as shown in the picture below.

Tutorial tool install 3.jpg

Your Project folder
  • 1: Now you can create an own Project Foldier in your P:\ drive. Optimal would be P:\TAG\ name or an other short identification\namespace.
    • In this Tutorial we will use as our Namespace P:\TUT
  • 2: Now comes the important part for example that we can use working animations/ladders on our Terrain. For that we need the respective config files from the Optjects we used on our Terrain.
  • 3: To do that we can easy create a small bat or use the windows command line: Navigate to the P:\ca folder and
  • 4: Run the following dos command: xcopy *.cpp P:\<YourNamespace>\ca\ /S /Y Or manually move the cpps with correct foldier structur to your namespace
    • This command creates a duplicate set of '\ca' folders under your namespace and copies only the config.cpp files to each subfolder.
    • Read more about that in Synides Great Tutorial ArmA_Build_Environment_Setup

Setup Visitor

This Part of the Tutorial is Work in Progress

  • 1: Dowload the Tutorial Sample Map and extract it to our P:\TUT\ Foldier so it will look like P:\TUT\TUT_SampleMap
  • 2: Run the O:\BI TOOLS 2\Visitor 3\Visitor3.exe
  • 3: Open Tools -> SystemPreferences and fill in your correct path.

Tutorial tool install 4.jpg

Start with our Project
  • 1: Open Project -> New (or press Ctrl+N)
  • 2: In the next Project parameters window choose this values and press Ok

Tutorial tool install 5.jpg

    • detailed informations about the Project Parameters can be read in the Visitor 3 Manual
  • 3: Goto Tools -> Project parameters and open the Calculator and put in Image Size (Pixels): 5120. Hit apply and close only the Calculator

Tutorial tool install 6.jpg

  • 4: In the Project parameters window click on Base (active) and press the Edit Button. Choose 40x40m Texture Size. Apply and close the Porject parameters window

Tutorial tool install 7.jpg

  • 5: Open Tools -> ProjectPreferences and fill in Foldier-Textures path: P:\TUT\TUT_SampleMap\Data\. Hint ok an close.

Tutorial tool install 8.jpg

Import Terrain
  • 1: Goto Open -> Import Terrain from Picture and point to P:\TUT\TUT_SampleMap\Source\terrain\terrain.pbl
Import Satelite&Mask
  • 1: Goto Tools -> Import Satellite + Mask.. and point to P:\TUT\TUT_SampleMap\Source\layer.cfg

To be continued.......

References: