You might take a look at:
- http://wiki.flightgear.org/index.php/Fo ... aft_Status
- http://wiki.flightgear.org/index.php/Si ... Deployment
I wrote:When a new model is created it automatically gets added to the "global objects" file available for link under the scenemodels "downloads" tab. So if you periodically re-download and unpack the "global objects" file, you will always get ALL of the new models created and placed since the last time you did so.
saturn5 wrote:Interesting- does it also include the updates for new shared objects, or when something is updated but not all-new?
saturn5 wrote:(congrats on the new bridge btw!)
<?xml version="1.0"?>
<flightgear-resource type="aircraft" pmversion="0.2">
<resource-info>
<name>Boeing 747-400</name>
<version>…</version>
<status>beta</status>
<description>…</description>
</resource-info>
<type-info>
<aircraft-info>
<flightgear-id>747-400</flightgear-id>
<type>airliner</type>
<maker>Gijs de Rooy</maker>
<fdm>jsbsim</fdm>
<engine>turbofan</engine>
<cockpit3d/>
<tutorial/>
</aircraft-info>
</type-info>
<dependencies fgversion="…">
<dependency>…</dependency>
</dependencies>
<location type="zip">…</location>
<location type="zip">…</location>
<checksum algo="crc">…</checksum>
<update-type>…</update-type>
</flightgear-resource>
Gijs wrote:Is this what you want? I don't understand everything, after reading your manual...
Please check the code below carefylly and tell me what I need to fill in and how.
<?xml version="1.0"?>
<flightgear-resource type="aircraft" pmversion="0.2">
<resource-info>
<name>Boeing 747-400</name>
<version>you need two numbers here, major.minor (like in Windows 6.0 or FlightGear 1.0). you can pick any two, but if you update the aircraft they must increase (at least one of them)</version>
<status>beta</status>
<description>anything you like here, including "hello world"</description>
</resource-info>
<type-info>
<aircraft-info>
<flightgear-id>747-400</flightgear-id>
<type>airliner</type>
<maker>Gijs de Rooy</maker>
<fdm>jsbsim</fdm>
<engine>turbofan</engine>
<cockpit3d/>
<tutorial/>
</aircraft-info>
</type-info>
<dependencies fgversion="1.0"> this is the version of FlightGear that this a/c needs (I am not checking for it actually, it's here for the future)
<dependency>any package your one depends on, here you'll provide the URL of the XML file associated to that package</dependency>
</dependencies>
<location type="zip">the URL of the zip archive with the actual contents of your aircraft</location>
<location type="zip">another mirror</location>
<checksum algo="crc">the CRC32 of your zip file, you can omit it or type some random number as of now (in the future, the program will complain and ask the user if she wants to install a package with a wrong checksum)</checksum>
<update-type>incremental</update-type>
</flightgear-resource>
Jester wrote:I couldn't try it yet, looks like I need to upgrade java...
enricogranata wrote:the main issue is that your a/c is packed in two zip files, while the PM supports just one (multiple mirrors, but just one ZIP)..
<?xml version="1.0"?>
<flightgear-resource type="aircraft" pmversion="0.2">
<resource-info>
<name>Boeing 747-400</name>
<version>0.1</version>
<status>beta</status>
<description>It's weighting over 394088 lbs... empty. Could takeoff with 875,000 lbs of load (cargo and/or passengers). Needs only 3,018 m to takeoff with maximum weight. Flies with 491 kt, 910 km/h through the skies, with over 25000 lbf of thrust. With almost 500 aircraft still in use, 20 years after it's maiden flight, it's the best selling commercial giant. And now it comes to your computer, to your screen and in your hands.</description>
</resource-info>
<type-info>
<aircraft-info>
<flightgear-id>747-400</flightgear-id>
<type>airliner</type>
<maker>Gijs de Rooy</maker>
<fdm>jsbsim</fdm>
<engine>turbofan</engine>
<cockpit3d/>
<tutorial/>
</aircraft-info>
</type-info>
<dependencies fgversion="1.0">
<dependency> ? what if I don't have one... ? </dependency>
</dependencies>
<location type="zip">http://files.goneabitbursar.com/747-beta1.zip</location>
<update-type>incremental</update-type>
</flightgear-resource>
<?xml version="1.0"?>
<flightgear-resource type="aircraft" pmversion="0.2">
<resource-info>
<name>Boeing 747-400</name>
<version>0.1</version>
<status>beta</status>
<description>It's weighting over 394088 lbs... empty. Could takeoff with 875,000 lbs of load (cargo and/or passengers). Needs only 3,018 m to takeoff with maximum weight. Flies with 491 kt, 910 km/h through the skies, with over 25000 lbf of thrust. With almost 500 aircraft still in use, 20 years after it's maiden flight, it's the best selling commercial giant. And now it comes to your computer, to your screen and in your hands.</description>
</resource-info>
<type-info>
<aircraft-info>
<flightgear-id>747-400</flightgear-id>
<type>airliner</type>
<maker>Gijs de Rooy</maker>
<fdm>jsbsim</fdm>
<engine>turbofan</engine>
<cockpit3d/>
<tutorial/>
</aircraft-info>
</type-info>
<dependencies fgversion="1.0">
<dependency>you simply omit the dependency tag</dependency>
</dependencies>
<location type="zip">http://files.goneabitbursar.com/747-beta1.zip</location>
<update-type>incremental</update-type>
</flightgear-resource>
<?xml version="1.0"?>
<flightgear-resource type="aircraft" pmversion="0.2">
<resource-info>
<name>Boeing747-400</name>
<version>0.1</version>
<status>beta</status>
<description>It's weighting over 394088 lbs... empty. Could takeoff with 875,000 lbs of load (cargo and/or passengers). Needs only 3,018 m to takeoff with maximum weight. Flies with 491 kt, 910 km/h through the skies, with over 25000 lbf of thrust. With almost 500 aircraft still in use, 20 years after it's maiden flight, it's the best selling commercial giant. And now it comes to your computer, to your screen and in your hands.</description>
</resource-info>
<type-info>
<aircraft-info>
<flightgear-id>747-400</flightgear-id>
<type>airliner</type>
<maker>Gijs de Rooy</maker>
<fdm>jsbsim</fdm>
<engine>turbofan</engine>
<cockpit3d/>
<tutorial/>
</aircraft-info>
</type-info>
<dependencies fgversion="1.0" />
<location type="zip">http://files.goneabitbursar.com/747-beta1.zip</location>
<update-type>incremental</update-type>
</flightgear-resource>
enricogranata wrote:to my astonishment it worked
Gijs wrote:enricogranata wrote:to my astonishment it worked
Wonderfull! Congrats!
Users browsing this forum: No registered users and 3 guests