Jump to content
The simFlight Network Forums

Roope Järvenpää

Members
  • Posts

    5
  • Joined

  • Last visited

Roope Järvenpää's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. If i create mission with just one POI can i move i by manipulating XML data ? How i refresh client to re read XML file ?
  2. Should be ! :) Check this information, im talking about POI objects and there is addons which creates them There is some controls aswell in documentation: POINT_OF_INTEREST_CYCLE_NEXT 66694 POINT_OF_INTEREST_CYCLE_PREVIOUS 66693 POINT_OF_INTEREST_TOGGLE_POINTER 66692 Dont know tho how to use controls..
  3. Yeah i figured out this by my own afterall ! Yeah 2.4 p3d Sub setFuelLevels() If (Form1.LeftTank = True) Then Form1.PS.GetFuelTank(FSUIPC.FSFuelTanks.Left_Main).LevelUSGallons = Form1.LeftTankCapacity End If If (Form1.RightTank = True) Then Form1.PS.GetFuelTank(FSUIPC.FSFuelTanks.Right_Main).LevelUSGallons = Form1.RightTankCapacity End If Form1.PS.WriteChanges() Threading.Thread.Sleep(2000) Form1.PS.RefreshData() End Sub I got another question, i hope its okey if i ask in this topic.. so , do you know these green arrow kind markers in FSX tutorials/missions ? those markers guides player as they fly and you can see distance / heading at the compass. Is there any change i could create one by myself while i fly ? (or can i move existing marker ?) It should be possible because there is function inside engine which creates them. I tried to check every topic and documentation but didnt find the lead.. Thank you in advance :)
  4. Okey, i made it ! First question answer is : Math.Round(((PS.FuelCapacityUSGallons + 1) / 100) * PS.FuelPercentage, 2) & " gallons (" & PS.FuelPercentage.ToString("f2") & "%)" and second answer is : If (Form1.LeftTank = True) Then Form1.PS.GetFuelTank(FSUIPC.FSFuelTanks.Left_Main).LevelUSGallons = Form1.LeftTankCapacity End If If (Form1.RightTank = True) Then Form1.PS.GetFuelTank(FSUIPC.FSFuelTanks.Right_Main).LevelUSGallons = Form1.RightTankCapacity End If
  5. Hi! This is my first post here so bare with me :) I have 7 years programming background so you can "TechTalk" to me as im familiar with data types and stuff. So at first i wanted to know why PS.FuelLevelUSGallons.ToString("f1") Returns integer value 52.00 even if there is 52.69 in tanks. Is there other function to have this value as more accurate ? Second, how i add fuel to tanks ? Thank you in advance !
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.