Editing Creating a simple base

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 2: Line 2:
  
 
== Base config file ==
 
== Base config file ==
The configuration file to describe a base is located in the directory Orbiter\Config\<planet>\Base, for example, when Orbiter launches, it will use Orbiter\Config\Earth\Base\Canaveral.cfg to build the Cape Canaveral spaceport, and will contain certain information to build that base. Information contained in a base configuration file include the name of the base, its location, size, whether the objects described by the file conform to the texture of the planet's surface, any navigation beacons, and a list of objects in the base such as runways, pads, buildings, etc. Orbiter's description for how to build base configuration files is located in Orbiter\docs\OrbiterConfig.pdf.
+
The configuration file to describe a base is located in the directory Orbiter\Config\<planet>\Base, for example, when Orbiter launches, it will use Orbiter\Config\Earth\Base\Canaveral.cfg to build the Cape Canaveral spaceport, and will contain certain information to build that base. Information contained in a base configuration file include the name of the base, its location, size, whether the objects described by the file conform to the texture of the planet's surface, any navigation beacons, and a list of objects in the base such as runways, pads, buildings, etc.
  
 
So let's build a base and see what it looks like as we build it. For this, select a location for the base. For this, I selected a location on the Bonneville Salt Flats figuring it should be pretty flat to build stuff. Looking up the coordinates of the Flat in Wikipedia, sent a ship there and found what looks like water covering much of the area, so I moved the ship a bit until I found dry land that looked reasonably flat for my base.
 
So let's build a base and see what it looks like as we build it. For this, select a location for the base. For this, I selected a location on the Bonneville Salt Flats figuring it should be pretty flat to build stuff. Looking up the coordinates of the Flat in Wikipedia, sent a ship there and found what looks like water covering much of the area, so I moved the ship a bit until I found dry land that looked reasonably flat for my base.
Line 50: Line 50:
  
 
Valid objects are:
 
Valid objects are:
*[[Block|BLOCK]] - an object with four sides and a flat roof used for buildings with a flat roof such as offices, stores, etc.
+
*[[BLOCK]] - an object with four sides and a flat roof used for buildings with a flat roof such as offices, stores, etc.
 
*[[HANGAR]] - a building with a barrel-shaped or curved roof and four sides.
 
*[[HANGAR]] - a building with a barrel-shaped or curved roof and four sides.
 
*[[HANGAR2]] - a building with a peaked roof and four sides like a house.
 
*[[HANGAR2]] - a building with a peaked roof and four sides like a house.
Line 77: Line 77:
  
 
  LPAD1
 
  LPAD1
  POS 0 0 0
+
  POS 100 0 0
 
  SCALE 0.75
 
  SCALE 0.75
 
  ROT 0
 
  ROT 0
  TEX Lpad01
+
  TEX Lpad02a
 
  NAV 128.00
 
  NAV 128.00
 
  END
 
  END
 +
 
Save your work, and launch a scenario, any scenario. Orbiter reads the file during launch, but, no time else during the session. So, your updated .cfg file will appear in any scenario if your ship is nearby. Your new landing pad should look like the images on the right:
 
Save your work, and launch a scenario, any scenario. Orbiter reads the file during launch, but, no time else during the session. So, your updated .cfg file will appear in any scenario if your ship is nearby. Your new landing pad should look like the images on the right:
  
  
 
[[File:LPad01_Day.png|center|thumb|<center>Landing Pad LPad01 during daytime</center>]] [[File:LPad01_Night.png|center|thumb|<center>Landing Pad LPad01 during nighttime</center>]]
 
[[File:LPad01_Day.png|center|thumb|<center>Landing Pad LPad01 during daytime</center>]] [[File:LPad01_Night.png|center|thumb|<center>Landing Pad LPad01 during nighttime</center>]]
 
== Config file ==
 
So, your Bonneville.cfg file should look something like this:
 
 
BASE-V2.0
 
Name = Bonneville
 
 
Location = -114.05 40.61
 
Size = 2000
 
OBJECTSIZE = 100
 
MAPOBJECTSTOSPHERE = TRUE
 
 
BEGIN_NAVBEACON
 
VOR KBSF -114.05 40.61 112.7 500
 
END_NAVBEACON
 
 
BEGIN_OBSERVER
 
Bonneville:Bonneville0:-114.05 40.61 25
 
END_OBSERVER
 
 
BEGIN_OBJECTLIST
 
LPAD1
 
POS 0 0 0
 
SCALE 0.75
 
ROT 0
 
TEX Lpad01
 
NAV 128.00
 
END
 
END_OBJECTLIST
 
 
Save it, launch any scenario and take a look-see. You now have a base with a landing pad. You may need to move a ship to the LPad.
 
 
See separate articles to build other base objects.
 
  
 
===External links===
 
===External links===

Please note that all contributions to OrbiterWiki are considered to be released under the GNU Free Documentation License 1.2 (see OrbiterWiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)

Template used on this page: