Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
Fuel Pumps in AFCAD (Read 371 times)
May 20th, 2007 at 10:23am

G-Fire25   Offline
Colonel
I Fly Sim!

Posts: 203
*****
 
Can anyone tell me how to place a fuel pump in AFCAD. Smiley
 

RIP miltestpilot&&RIP Sean Taylor
IP Logged
 
Reply #1 - May 20th, 2007 at 1:27pm

dave3cu   Offline
Colonel
Procrastinate now, don't
put it off.
3CU, Northern Wisconsin, USA

Gender: male
Posts: 3077
*****
 
You can't do it with Afcad. You can easily do it with .xml code and Bglcomp. (for FS2004, don't know if it works in FSX)

You'll need to have the FS2004 Bglcomp.sdk installed, which you may already have if you use other programs to create scenery.

Copy the following text into notepad.
******************************

<FSData version="9.0" xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation="bglcomp.xsd" >
 <SceneryObject
   lat="N57 21.07"
   lon="E16 29.76"
   alt="0"
   pitch="0"
   bank="0"
   heading="94"
   altitudeIsAgl="TRUE"
   imageComplexity="SPARSE">

       <Trigger type="REFUEL_REPAIR" triggerHeight="0.0">
           <Fuel type="100" availability="PRIOR_REQUEST"/>
           <Vertex biasX = "-10.0" biasZ="-10.0"/>
           <Vertex biasX = "-10.0" biasZ="10.0"/>
           <Vertex biasX = "10.0"  biasZ="10.0"/>
           <Vertex biasX = "10.0"  biasZ="-10.0"/>
       </Trigger>
 </SceneryObject>
</FSData>

**********************************

Get the coordinates for the center of the fuel area from the sim and edit 'lat=' and 'lon=' using the coordinates.  Be careful that you enter the data correctly, no extra spaces or characters. Save the file with the '.xml' extension (example: XXXX_fuelpump.xml)

Drag and drop the .xml file onto Bglcomp.exe and a new .bgl file will be created (XXXX_fuelpump.bgl). Place the .bgl in the sim as you do other scenery .bgl files (in an active 'scenery' sub folder).

To see your new fuel area you can add/edit the following line in your fs9.cfg file.

[SCENERY]  <------to this section..
SHOWTRIGGER=1  <--------add/edit this line.

Transparent green walls will surround all fuel boxes. To remove them edit to SHOWTRIGGER=0

If you need to change the heading and/or size of the box, edit the 'heading=' and/or <Vertex........./> lines (defines the 4 corners-in meters from center). Again, be careful with your data.

This only creates the trigger area, it does not place a visual fuel pump. That you'll have to do with your object placer program.

Dave



« Last Edit: May 20th, 2007 at 4:11pm by dave3cu »  

At that time [1909] the chief engineer was almost always the chief test pilot as well. That had the fortunate result of eliminating poor engineering early in aviation.          Igor Sikorsky

I intend to live forever....so far, so good.         Steven Wright

You know....you can just rip up a to-do list.
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print