Difference between revisions of "User:Arvil/Sandbox02"

From OrbiterWiki
Jump to navigation Jump to search
(Hangar object.)
Tag: Removed redirect
(Hangar object.)
Line 2: Line 2:
  
 
==Textures==
 
==Textures==
Any texture listed in the file Orbiter\config\base.cfg can be used for the textures on a Hangar (See the gallery in the article [[Block]].
+
Any texture listed in the file Orbiter\config\base.cfg can be used for the textures on a Hangar (See the gallery in the article [[Block]]. Orbiter's description for how to build objects is located in Orbiter\Doc\OrbiterConfig.pdf.
  
 
Open the Bonneville.cfg file (Orbiter\Config\Earth\Base\Bonneville.cfg) and replace the BLOCK that's there with the following.
 
Open the Bonneville.cfg file (Orbiter\Config\Earth\Base\Bonneville.cfg) and replace the BLOCK that's there with the following.
Line 15: Line 15:
 
  END
 
  END
  
Then launch Orbiter into any scenario. Orbiter will read this .cfg file and create Bonneville base with this Hangar.
+
Then launch Orbiter into any scenario. Orbiter will read this .cfg file and create Bonneville base with this Hangar. It should look like this.
 +
[[Image:Hangar_Roof01_Day.png|200px|thumb|center|Image of a HANGAR using Roof01 texture.]]
 +
 
 +
As described in the [[Block]] article, POS is the position in meters from the center of the base, North- or South+, elevation + or - from the ground, and East+ or West-. SCALE is the size of the Hangar left to right, height, and front to back. ROT is rotation of the object in degrees, clockwise from East. TEX1 (front and rear), TEX2 (sides), and TEX3 (roof) describes which texture to use from the Orbiter\Config|Base.cfg file, then how many times that texture is repeated on that face.
 +
 
 +
To see all the textures used on objects see the gallery section of the [[Block]] article.
 +
 
 +
==Gallery==
 +
<gallery mode=nolines class="center">
 +
Image:Hangar_Roof01_Day.png|200px|thumb|center|Image of a HANGAR using Roof01 texture.
 +
Image:Hangar_Roof01_TexX5.png|200px|thumb|center|Hangar with Roof01 on the front, Scale is 10 5 15. TEX1 and TEX2 is Roof01 5 1. Note 5 times as many ribs on the width of the front face.
 +
 
 +
</gallery>

Revision as of 13:16, 27 November 2023

A HANGAR is an object which can be used to make structures on or near a base. It consists of four sides, and a roof shaped sorta like a barrel where the curved roof slopes to the sides and is about half the total height of the structure.

Textures

Any texture listed in the file Orbiter\config\base.cfg can be used for the textures on a Hangar (See the gallery in the article Block. Orbiter's description for how to build objects is located in Orbiter\Doc\OrbiterConfig.pdf.

Open the Bonneville.cfg file (Orbiter\Config\Earth\Base\Bonneville.cfg) and replace the BLOCK that's there with the following.

HANGAR
POS  0 0 -50
SCALE 1 1 1
ROT 10
TEX1 Roof01 1 1
TEX2 Roof01 1 1
TEX3 Roof02 1 1
END

Then launch Orbiter into any scenario. Orbiter will read this .cfg file and create Bonneville base with this Hangar. It should look like this.

Image of a HANGAR using Roof01 texture.

As described in the Block article, POS is the position in meters from the center of the base, North- or South+, elevation + or - from the ground, and East+ or West-. SCALE is the size of the Hangar left to right, height, and front to back. ROT is rotation of the object in degrees, clockwise from East. TEX1 (front and rear), TEX2 (sides), and TEX3 (roof) describes which texture to use from the Orbiter\Config|Base.cfg file, then how many times that texture is repeated on that face.

To see all the textures used on objects see the gallery section of the Block article.

Gallery