SimForums.com Homepage
Forum Home Forum Home > Flight One Partner Forums > FS Panel/Sound Studio Forums
  New Posts New Posts RSS Feed - Problem with BMP's using Ace Editor
  FAQ FAQ  Forum Search   Register Register  Login Login

Problem with BMP's using Ace Editor

 Post Reply Post Reply
Author
Message
bgood98 View Drop Down
New Member
New Member


Joined: April-04-2007
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote bgood98 Quote  Post ReplyReply Direct Link To This Post Topic: Problem with BMP's using Ace Editor
    Posted: April-05-2007 at 1:45am

Making my XML gauges in Ace Editor.

With putting the gauge into FS Panel studio no background bmp shows up. However when I go into FSX the gauges are working just fine pictures and all

Back to Top
trsim View Drop Down
New Member
New Member


Joined: April-02-2007
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote trsim Quote  Post ReplyReply Direct Link To This Post Posted: April-05-2007 at 12:56pm

Just a guess, but the problem may be with your XML file, not your bitmaps.  If the XML file has typical XML headers, like <?xml ... > or <!DOCTYPE ... >, then FSPS will not load the bitmaps referenced in your XML gauge.  Ed knows about it and said he would try to fix it.  In the meantime, just take these lines out of your XML code.

Taylor

P.S. I have also seen this problem where there is a single null character before the <gauge> tag on the first line of the file.

 

Back to Top
bgood98 View Drop Down
New Member
New Member


Joined: April-04-2007
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote bgood98 Quote  Post ReplyReply Direct Link To This Post Posted: April-05-2007 at 8:13pm

mmk

ACE XML is part of the FSX SDK package on the FSX Deluxe Disc 1 CD.

The Headers are generated by it

Here is an example of the guage as written in the SDK XML generator:

<?xml version="1.0" encoding="UTF-8"?>

<SimBase.Document
        Type="AceXML"
        version="1,0"
        id="TRQL">
    <Descr>AceXML Document</Descr>
    <Filename>TempL.xml</Filename>
    <SimGauge.Gauge id="Gauge">
        <FloatPosition>0.000,0.000</FloatPosition>
        <Size>318,318</Size>
        <Image id="temp.bmp" Name="temp.bmp">
            <Transparent>True</Transparent>
            <Luminous>True</Luminous>
        </Image>
        <Element id="Needle">
            <FloatPosition>160.000,160.000</FloatPosition>
            <Image id="trqneedle.bmp" Name="tempneedle.bmp">
                <Transparent>True</Transparent>
                <Axis>12.000,104.000</Axis>
            </Image>
            <Rotation id="Rotation">
                <PointsTo>NORTH</PointsTo>
                <Expression id="Expression">
                    <Minimum>0.000</Mi

Back to Top
bgood98 View Drop Down
New Member
New Member


Joined: April-04-2007
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote bgood98 Quote  Post ReplyReply Direct Link To This Post Posted: April-05-2007 at 8:13pm

So you say to remove:

"<?xml version="1.0" encoding="UTF-8"?>"

?

Back to Top
trsim View Drop Down
New Member
New Member


Joined: April-02-2007
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote trsim Quote  Post ReplyReply Direct Link To This Post Posted: April-06-2007 at 4:12pm

I don't have FSX.  So I can't say whether this would help.  But you can find out pretty quickly.  Just try it and see if it works.  If not, then you can put the line back in and look for other explanations.  Try comparing the text of your XML gauge to other XML gauges for FSX that do display properly in FSPS.  It is possible that the BMPs are to blame.  But I still suspect the XML file.

Taylor

 

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.06
Copyright ©2001-2023 Web Wiz Ltd.

This page was generated in 0.359 seconds.