Board index FlightGear Development

Creating a scenario with groundvehicle?

FlightGear is opensource, so you can be the developer. In the need for help on anything? We are here to help you.
Forum rules
Core development is discussed on the official FlightGear-Devel development mailing list.

Bugs can be reported in the bug tracker.

Creating a scenario with groundvehicle?

Postby Necolatis » Thu May 10, 2018 2:18 am

Okay, so I just want a simple ground vehicle in a scenario.

However FG crashes when I use the one below.

It makes 2 complains about missing parent and then crash.

If I include a <parent> it doesn't crash, but then it wont show, and console says its 'dying'. (not kidding)

Code: Select all
<entry>
         <type>groundvehicle</type>
         <model>Models/Military/humvee-pickup-odrab-low-poly.xml</model>
         <name>truck</name>
         <callsign>Humvee1</callsign>
         <latitude>37.258</latitude>
         <longitude>-115.797</longitude>
         <speed>40</speed>
      </entry>


Anyone can help?
"Airplane travel is nature's way of making you look like your passport photo."
— Al Gore


Hangar: https://sites.google.com/site/fghangar/
User avatar
Necolatis
 
Posts: 1872
Joined: Mon Oct 29, 2012 12:40 am
Location: EKOD
Callsign: Leto
IRC name: Neco
Version: 2018.2.2
OS: Windows 10 Pro

Re: Creating a scenario with groundvehicle?

Postby Gijs » Thu May 10, 2018 7:06 am

As far as I know you need a flightplan (well, maybe taxiplan is a better name). Just setting a lat/long on the entry won't do. See http://wiki.flightgear.org/AI_groundvehicles for details.
Airports: EHAM, EHLE, KSFO
Aircraft: 747-400
User avatar
Gijs
Moderator
 
Posts: 9304
Joined: Tue Jul 03, 2007 2:55 pm
Location: Amsterdam/Delft, the Netherlands
Callsign: PH-GYS
Version: Git
OS: Windows 10

Re: Creating a scenario with groundvehicle?

Postby Necolatis » Thu May 10, 2018 4:05 pm

thanks
"Airplane travel is nature's way of making you look like your passport photo."
— Al Gore


Hangar: https://sites.google.com/site/fghangar/
User avatar
Necolatis
 
Posts: 1872
Joined: Mon Oct 29, 2012 12:40 am
Location: EKOD
Callsign: Leto
IRC name: Neco
Version: 2018.2.2
OS: Windows 10 Pro


Return to Development

Who is online

Users browsing this forum: Necolatis and 3 guests