Sign in to follow this  
rhumbaflappy

REFUELREPAIR-trigger crashes FS2004

Recommended Posts

Hi!Trying to add a refuel-area to my airport in FS2004, based on the info in the new BGL comp-SDK. I got the trigger (see code below) to compile ok, however the sim crashes as soon as I try to look in the direction of where the area is located.I have not yet tried to define airport-facility data manually, and in this defining the airport to have a fuel service, so this might be a problem. However, I choose to post in this forum to check if anyone can find any error that I might have overlooked. All feedback is welcome!<?xml version="1.0"?>/hans

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hi Hans, I guess we're all kind of experimenting, at first I tried one like you wrote but it didn't compile, then I tried this code below and it worked great...note I decided to treat vertex like a point definition for the area of refuel, so you need four! Not that I know for sure what I'm talking about! The other thing is this darned element...not this is strange, my compile ALWAYS fails if I include this element in my element, AND ALWAYS fails if I write the element Outside my element.So, finally I just left it out. After all, think about the attributes...has fuel type or availability ever been a trigger before? Has a cessna not been able to refuel, just because only jetfuel was available? Not that I know of....so, wouldn't this be more for a Facility section rather than a SceneryObject?Anyway, here's code that worked...the airfield is S36, crestairpark, if you wish to compile it and see it work. you can see the trigger zone if you change your fs9.cfg in the [scenery] section by adding the line ShowTriggers=1.Cheers,Bob BernsteinPs...the name of this file is #####.txt, the filename was chosen during a period of confusion! LOL The first SceneryObject is a "space needle", I just put it in to be sure the file was working._________________________________________________________________<?xml version="1.0"?>

Share this post


Link to post
Share on other sites

>...has fuel type or availability ever been a trigger>before? Has a cessna not been able to refuel, just because>only jetfuel was available? Not that I know of....so,>wouldn't this be more for a Facility section rather than a>SceneryObject?Hi Dick and Bob!Great thanks for the help! It seems indeed that it must have been the Vertex-definition that caused trouble in some way. I used Dick

Share this post


Link to post
Share on other sites

Hi Gang,I was reading the three or four threads above, and just wanted to comment on the procedure. I had a friend who couldn't get this to work, but I looked over his code and found a mistake that others may try to make when using XML scenery. My friend tried to add the code to the end of the previous He beat his brains out trying to figure out what he was doing wrong, and finally came to me to figure out what he was doing wrong. When you add the trigger for the fueling area, you must treat it as it where a separate end tag above the /*Physical pump object*//*Fueling area Trigger*/Notice both have the same parameters for the placement of the objects.Hope this helps someone.Take care.Big John(AirCoaster)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this