Jump to content
Sign in to follow this  
onoel2

Creating a new mission

Recommended Posts

Hi.....I'm new to this routine. I am trying to create my own missions in FS X. I have added the neccesary files to get the Object placement tool. now I have setup the six files that I need before I setup the metadata. I have these three files setup in the Mission Creation Tutorial folder as requestedCessna_Incomplete.jpgCessna_Complete.jpgMissionCreationTutorial.HTMLMissionCreationTutorial.wxMissionCreationTutorial.FLTI have made it to step 4 but, when I open the FSX and goto the missions area and the MissionCreationTutorial is there. When I click on it, I get the error:Unable to load image "c:porgramfiles(x86)\microsoft games\microsoft flight simulator x\missions\Mission In Progress\Creation Tutorial\Cessna_Incomplete.jpg."and when I click ok it goes to the main screen and the description of the flight is there but the picture of the flight is not there, instead there is a checkerboard. I have also checked the xml and FLT files and they are exactly as what it says in the Mission Creation directions from the SDK folder. The files are below please tell me what the problem is.The xml file:<?xml version="1.0" encoding="Windows-1252" ?><SimBase.Document Type="MissionFile" version="1,0"> <WorldBase.Flight> <SimMissionUI.ScenarioMetadata InstanceId="{5B598A03-5616-4343-933B-D49A6271C401}"> <Descr>ScenarioMetadata1</Descr> <ScenarioType>Mission</ScenarioType> <LocationDescr>Seattle</LocationDescr> <EstimatedTime>15 minutes</EstimatedTime> <UncompletedImage>Cessna_Incomplete.jpg</UncompletedImage> <CompletedImage>Cessna_Complete.jpg</CompletedImage> <MissionBrief>MissionCreationTutorial.HTML</MissionBrief> </SimMissionUI.ScenarioMetadata> </WorldBase.Flight> <MissionBuilder.MissionBuilder /></SimBase.Document>The FLT file[Main]Title=MissionCreationTutorialDescription="Fly a Cessna out of Boeing Field, reach an certain altitude and speed (1000 feet and 80 knots). Complete a left or right traffic pattern, then land back at Boeing Field. Try landing on the runway number"AppVersion=10.0.61355FlightVersion=1[Options]Sound=TruePause=FalseMoonlight=TrueTextDisplayPage=0SlewDisplayPage=1AxisIndicator=OffTitles=False[Kneeboard]Visible=FalseLocation=21, 214PageId=0Page0Scroll=0, 0Page1Scroll=0, 0Page2Scroll=0, 0Page3Scroll=0, 0Page4Scroll=0, 0Page5Scroll=0, 0Page6Scroll=0, 0[Atc_Menu]ScreenUniCoords=1944, 1219, 4303, 3706UndocCoords=0, 0, 0, 0Visible=FalseUndocked=False[Panels]Panel.On=TrueHUD.On=False[Window.1]Order=0Active=TrueUndocked=FalseMaximized=TrueScreenUniCoords=0, 0, 8192, 4000UndocCoords=0, 0, 0, 0CurrentCamera={C95EAB58-9E4A-4E2A-A34C-D8D9D948F078}[Camera.1.1]Guid={B1386D92-4782-4682-A137-738E25D1BAB5}Zoom=1Translation=0, 0, 0Rotation=8, 0, 0[Camera.1.2]Guid={C95EAB58-9E4A-4E2A-A34C-D8D9D948F078}Zoom=0.69999998807907104Translation=0, 0, 0Rotation=8, 0, 0[Camera.1.3]Guid={195EAB58-9E4A-1E2A-A34C-A8D9D948F078}Zoom=0.75Translation=0, 0, 0Rotation=0, 0, 0[Camera.1.4]Guid={195EAB58-9E4A-2E2A-A34C-A8D9D948F078}Zoom=1.2000000476837158Translation=0, 0, 0Rotation=0, 0, 0[Camera.1.5]Guid={195EAB58-9E4A-3E2A-A34C-A8D9D948F078}Zoom=1.2999999523162842Translation=0, 0, 0Rotation=0, 0, 0[Camera.1.6]Guid={BCA3FDD1-FB83-4BBA-8407-4922A7F0D00C}Zoom=1Translation=0, 0, 0ChaseDirection=90ChaseDistance=28.041599273681641ChaseAltitude=0.91439998149871826[Camera.1.7]Guid={BCA3FDD1-FB83-4BBA-8407-4922A7F0D00D}Zoom=1Translation=0, 0, 0ChaseDirection=-135ChaseDistance=37.5ChaseAltitude=0.80000001192092896[Camera.1.8]Guid={6B79DD49-9B4A-439D-BF40-ACBF157B0BA0}Zoom=10Translation=0, 0, 0Rotation=0, 0, 0[Camera.1.9]Guid={A2849229-938A-448F-8AC6-01EF2291C171}Zoom=80.300003051757813Translation=0, 0, 0Rotation=0, 0, 0[Camera.1.10]Guid={60BC0819-BD04-4AF6-8954-8FC8AA3545FF}Zoom=8Translation=0, 0, 0Rotation=0, 0, 0[Camera.1.11]Guid={AA8C80C0-9EE2-4284-A1C2-B20CD3F5F3D9}Zoom=8Translation=0, 0, 0Rotation=0, 0, 0[Camera.1.12]Guid={607C4520-CA6F-4135-AE10-8BF28838068F}Zoom=1Translation=0, 0, 0Rotation=0, 0, 0[Camera.1.13]Guid={C690EAFD-223A-42D0-99E0-681ADF93BB59}Zoom=1Translation=0, 0, 0Rotation=0, 0, 0[Camera.1.14]Guid={3A09FD6C-D406-4D8F-A5CD-FA4F5E0C12ED}Zoom=1Translation=0, 0, 0Rotation=0, 0, 0[Camera.1.15]Guid={D8D67955-2E9B-4E75-9D8B-8EFFBBFAC64A}Zoom=0.75Translation=0, 0, 0Rotation=0, 0, 0[EFIS]Active=FalseNavAid=VOR 1Type=RectanglesDensity=ThinRange=ShortAltitude=0Flags=0[ATC_AgentManager]NumberofAgents=0[ATC_AircraftManager]NumberofAircraft=0[ATC_MessageSystem]FrequencyNodes=0[DateTimeSeason]Season=WinterYear=2011Day=39Hours=13Minutes=33Seconds=34[Panel.1]ScreenUniCoords=0, 0, 0, 0UndocCoords=0, 0, 0, 0Visible=FalseUndocked=FalseHiddenOn=FalseID=0ViewsOn=1[Panel.2]ScreenUniCoords=0, 0, 0, 0UndocCoords=0, 0, 0, 0Visible=FalseUndocked=FalseHiddenOn=FalseID=50ViewsOn=0[Panel.3]ScreenUniCoords=0, 0, 0, 0UndocCoords=0, 0, 0, 0Visible=FalseUndocked=FalseHiddenOn=FalseID=225ViewsOn=0[Panel.4]ScreenUniCoords=0, 0, 0, 0UndocCoords=0, 0, 0, 0Visible=FalseUndocked=FalseHiddenOn=FalseID=1ViewsOn=0[Panel.5]ScreenUniCoords=0, 0, 0, 0UndocCoords=0, 0, 0, 0Visible=FalseUndocked=FalseHiddenOn=FalseID=2ViewsOn=0[Panel.6]ScreenUniCoords=0, 0, 0, 0UndocCoords=0, 0, 0, 0Visible=FalseUndocked=FalseHiddenOn=FalseID=20000ViewsOn=1[Panel.7]ScreenUniCoords=0, 0, 0, 0UndocCoords=0, 0, 0, 0Visible=FalseUndocked=FalseHiddenOn=FalseID=22001ViewsOn=0[Panel.8]ScreenUniCoords=0, 0, 0, 0UndocCoords=0, 0, 0, 0Visible=FalseUndocked=FalseHiddenOn=FalseID=22002ViewsOn=0[Panel.9]ScreenUniCoords=0, 0, 0, 0UndocCoords=0, 0, 0, 0Visible=FalseUndocked=FalseHiddenOn=FalseID=22003ViewsOn=0[user Tip Window]Undocked=FalseScreenUniCoords=500, 400, 7192, 650UndocCoords=0, 0, 0, 0[sim.0]Sim=Cessna Skyhawk 172SP Paint1[simVars.0]Latitude=N47° 31' 1.82"Longitude=W122° 17' 30.93"Altitude=+000018.00Pitch=-3.0199999445894607Bank=0Heading=-29.760009823367PVelBodyAxis=0BVelBodyAxis=0HVelBodyAxis=0XVelBodyAxis=0YVelBodyAxis=0ZVelBodyAxis=0SimOnGround=TrueOnPlatformHeight=-9999999999[Avionics.0]Comm1Active=128.300Comm1Standby=128.250Comm2Active=127.800Comm2Standby=127.900Nav1Active=113.70Nav1Standby=117.20OBS1=340Nav2Active=110.60Nav2Standby=116.80OBS2=315Transponder=1200ADFActive=284ADF2Active=240DMESelected=1ComTransmit=1ComReceiveBoth=FalseAudioNav1Listen=FalseAudioNav2Listen=FalseAudioMarkerListen=FalseAudioDmeListen=FalseAudioAdfListen=FalseAudioAdf2Listen=FalseAvionicsSwitch=True[slew.0]Active=False[Freeze.0]Location=FalseAltitude=FalseAttitude=False[Engine Parameters.1.0]ThrottleLeverPct=0PropellerLeverPct=0.99957275390625MixtureLeverPct=0.99957275390625Pct Engine RPM=0.795762346073706MaxReachedEngineRPM=0LeftMagneto=TrueRightMagneto=TrueGeneratorSwitch=TrueCowlFlapPct=0FuelPumpSwitch=FalseCarbHeat/DeiceSwitch=False[Fuel.0]TankSelector=AllTankSelector1=AllCenter=100LeftMain=100RightMain=100LeftAux=100RightAux=100LeftTip=100RightTip=100Center 2=100Center 3=100External 1=100External 2=100[systems.0]BatterySwitch=TrueStructuralDeiceSwitch=FalsePropDeiceSwitch=FalseAutobrakes=0StandbyVacuum=FalsePropSync=FalseAutoFeatherSwitch=FalseFlightDirector=FalsePanelLights=False[Gauges.0]KollsmanSetting=29.916912078857422[switches.0]PitotHeat=FalseBeaconLights=TrueLandingLights=FalseLogoLights=FalseNavLights=FalsePanelLights=FalseRecognitionLights=FalseStrobeLights=FalseTaxiLights=FalseWingLights=FalseCabinLights=False[AutoPilot.0]MasterSwitch=FalseWingLeveler=FalseNav1Lock=FalseHeadingLock=FalseHeadingValue=0AltitudeLock=FalseAltitudeValue=0AttitudeHold=FalseAirspeedHold=FalseAirspeedValue=0MachHold=FalseMachValue=0VerticalSpeedHold=FalseVerticalSpeedValue=0RPMHold=FalseRPMValue=0GlideslopeHold=FalseApproachHold=FalseBackCourseHold=FalseYawDamper=FalseToGa=FalseAutoThrottleArm=FalseGPSdrivesNAV1=FalseIsUsedForLesson=False[Payload.0]PayloadList=-1[Controls.0]SpoilersHandle=000.00FlapsHandle=000.00LeftFlap=000.00RightFlap=000.00GearsHandle=000.01Gear1=100.00Gear2=100.00Gear3=100.00YokeY=050.00YokeX=050.00Rudder=050.00LeftBrake=000.00RightBrake=000.00ParkingBrake=000.00ElevatorTrim=050.00RudderTrimPct=0AileronTrimPct=0[simScheduler]SimSpeed=001.00SimTime=569.01687919113022[Weather]WeatherType=0ThemeName=weather\themes\fair.WTBThemeTime=112[Flying Tip Window]Undocked=FalseScreenUniCoords=500, 400, 7192, 650UndocCoords=0, 0, 0, 0[ResourcePath]Path=flights\other\[ObjectFile]File=MissionCreationTutorialI am using Windows 7 as the OS on my HP laptop. If anyone can help me it would be appreciatedThanksonoel2

Share this post


Link to post
Share on other sites

Your images are probably not in the proper format (which is why they look like checkerboard). You must use the ImageTool to convert them to the proper format.From the SDK:"Now add three files to the Creation Tutorial directory: two image files and one HTML briefing file. The two image files should be square and will appear in the Missions list of ESP. The first will appear before the mission has been completed by the user, and the second when the mission has been completed. The images should be 380 pixels wide x 232 pixels in height and either 256 color or 5-6-5 format (use the Imagetool utility to convert 24-bit bmp files to 5-6-5 format). The image should give some idea of what the mission is about."Mission designers hang out at http://www.flightsimulatorxmissions.comCheers

Share this post


Link to post
Share on other sites

I have tried to find the Imagetool Utility on line but not able to locate it. If you have a link where I can download it, I would appreciate it

Your images are probably not in the proper format (which is why they look like checkerboard). You must use the ImageTool to convert them to the proper format.From the SDK:"Now add three files to the Creation Tutorial directory: two image files and one HTML briefing file. The two image files should be square and will appear in the Missions list of ESP. The first will appear before the mission has been completed by the user, and the second when the mission has been completed. The images should be 380 pixels wide x 232 pixels in height and either 256 color or 5-6-5 format (use the Imagetool utility to convert 24-bit bmp files to 5-6-5 format). The image should give some idea of what the mission is about."Mission designers hang out at http://www.flightsim...orxmissions.comCheers

Share this post


Link to post
Share on other sites
I have tried to find the Imagetool Utility on line but not able to locate it. If you have a link where I can download it, I would appreciate it
It should be located somewhere in your Microsoft Flight Simulator X SDK directory structure. Have you searched your hard drive? (I'm not sure of its exact location at the moment as I am away from my dev machine. If you search, you should find it: imagetool.exe)Cheers,

Share this post


Link to post
Share on other sites

Sorry to be such a bother about this,I found it and changed the format of the images and now I get this picimg1.jpgwhen it should be this pic:Cessna_Incomplete.jpgThe bottom picutre was done by the Imagetool utility.This is the image I put into FSX Missions folder So what would cause the top one to show up in the mission area when I click on the mission I made?

It should be located somewhere in your Microsoft Flight Simulator X SDK directory structure. Have you searched your hard drive? (I'm not sure of its exact location at the moment as I am away from my dev machine. If you search, you should find it: imagetool.exe)Cheers,

Share this post


Link to post
Share on other sites

Hmmm ...I'd suggest you open your mission XML file and search for the ScenarioMetadata and then post that section so I can look at it.Also, I'll need the exact filename of your uncompleted and completed images?Also ... if you post your question on http:\\www.flightsimulatorxmissions.com then more mission designers will see your question and maybe someone will come up with an answer quicker (as most of the day usually I can't answer questions here).Cheers,

Share this post


Link to post
Share on other sites

Thanks Missionguy for all your help, my reply will be post on the http://www.flightsimulatorxmissions.com site.you will find all the information in that post.

Hmmm ...I'd suggest you open your mission XML file and search for the ScenarioMetadata and then post that section so I can look at it.Also, I'll need the exact filename of your uncompleted and completed images?Also ... if you post your question on http:\\www.flightsimulatorxmissions.com then more mission designers will see your question and maybe someone will come up with an answer quicker (as most of the day usually I can't answer questions here).Cheers,

Share this post


Link to post
Share on other sites

Open up the image and then Save As a .bmp using the same name. Make sure the XML file reflects this new path.

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...