Search found 701 matches

by Clifton Crane
Thu Nov 07, 2019 9:06 pm
Forum: Simulation Object Development Questions
Topic: Implementing lua scripts for temperature adjustments
Replies: 14
Views: 5141

Re: Implementing lua scripts for temperature adjustments

Hi tauseef, For your use case I would recommend having your plugin calculate the temperature scale instead of the lua script. The PDK ISimObjectManagerV440 service has a GetObjectsInRadius function. This could be used to iterate over individual SimObjects. For each object, you could calculate the te...
by Clifton Crane
Wed Nov 06, 2019 2:50 pm
Forum: Prepar3D Professional Plus Client Application Questions
Topic: F-16 Model and loadout
Replies: 1
Views: 832

Re: F-16 Model and loadout

Hello, The wingtip pylons are built into the non-parachute models. You can probably re-add these wingtip pylons for the parachute versions using the Attachments.xml file. The "pylon_light_wingtip" would be the PylonTitle to use. You may need to create a new Station and use PositionOffset and Orienta...
by Clifton Crane
Thu Oct 31, 2019 8:34 pm
Forum: Prepar3D Client Application Questions
Topic: ATIS conflict between wind direction and assigned runway
Replies: 15
Views: 3895

Re: ATIS conflict between wind direction and assigned runway

Hi Urmel,

Does setting "Secondary Landing" to YES for runway 07L/25R have any effect?

You can try to do the same for the fake runways. For each runway, set "Secondary Landing" so that it matches the "Primary Landing" value.

These changes should mimic the HF1 behavior.

Thanks.
by Clifton Crane
Thu Oct 31, 2019 2:50 pm
Forum: Prepar3D Client Application Questions
Topic: ATIS conflict between wind direction and assigned runway
Replies: 15
Views: 3895

Re: ATIS conflict between wind direction and assigned runway

Hi KampfHase, What settings are you using for secondaryLanding on your runways? Previous to HF2 this setting was ignored. Instead, it was incorrectly being replaced by the primaryLanding value. Does setting secondaryLanding to match primaryLanding have any effect? This would recreate the behavior se...
by Clifton Crane
Wed Oct 30, 2019 2:32 pm
Forum: Simulation Object Development Questions
Topic: Implementing lua scripts for temperature adjustments
Replies: 14
Views: 5141

Re: Implementing lua scripts for temperature adjustments

Hi Tauseef, Would it be easier to determine your temperate scale value in both the material script as well as the SimConnect add-on? Instead of trying to pull the temperature scale from the individual object, your SimConnect application could recalculate based on the object selected by the targeting...
by Clifton Crane
Wed Oct 30, 2019 1:38 pm
Forum: Simulation Object Development Questions
Topic: Implementing lua scripts for temperature adjustments
Replies: 14
Views: 5141

Re: Implementing lua scripts for temperature adjustments

Hello, The correct SDK sample to reference is MyEngine, I've updated the above post. I misspoke in my previous post. Unfortunately, lua scripts cannot varset simulation variables (A:). One option would be to have your plugin drive the custom temperature variable. Then the material script could varge...
by Clifton Crane
Tue Oct 29, 2019 10:31 pm
Forum: Simulation Object Development Questions
Topic: Implementing lua scripts for temperature adjustments
Replies: 14
Views: 5141

Re: Implementing lua scripts for temperature adjustments

Hello, Material variables (T:) are currently only available to the individual material scripts. They cannot be accessed by SimConnect. There is no simulation variable (A:) that represents temperature scale, however you could register a custom property onto the SimObject using the PDK. In MyEngine SD...
by Clifton Crane
Fri Oct 25, 2019 1:52 pm
Forum: Software Development Kit (SDK) Questions
Topic: I cant get the IDISManagerV450.
Replies: 6
Views: 2943

Re: I cant get the IDISManagerV450.

Hi MicMac44, It looks like there is an issue with QueryService for the IDISManagerV450 interface. Instead, please try querying for the IDISManagerV440 interface using the IID_IDISManagerV440 guid. If you need functionality from the V450 interface that is not available in the V440 interface, you shou...
by Clifton Crane
Tue Oct 08, 2019 6:55 pm
Forum: Other Support Questions
Topic: [RESOLVED] F16 setup guide
Replies: 2
Views: 921

Re: F16 setup guide

Hi Steve,

There is a operation manual located in the base F-16 SimObject directory:

SimObjects\Airplanes\F-16 Base\manual

The F-16 is also equipped with a panel that can toggle between "Cold and Dark" and "Ready to Fly" states. You can open it by pressing Shift+1.

Hope this helps!
by Clifton Crane
Thu Sep 19, 2019 1:32 pm
Forum: Prepar3D Client Application Questions
Topic: Joysticks were blocking as soon as prepar3D starts
Replies: 3
Views: 549

Re: Joysticks were blocking as soon as prepar3D starts

Hi SimStar,

Can you try changing the Control API from Raw Input to DirectInput? This can be done via Settings > Options > Controls > Other > Controls API.

Thanks.
by Clifton Crane
Tue Sep 03, 2019 7:33 pm
Forum: Other Support Questions
Topic: HLA
Replies: 6
Views: 1343

Re: HLA

Hi anand, The DIS and HLA interfaces have two separate UI's. You'll want to enter the correct IP/port combination in the HLA LocalParamters setting. This setting is located under HLA > Connection. Here is an example that is specific to OpenRTI: "rti://127.0.0.1:14321" The above example is IP address...
by Clifton Crane
Tue Sep 03, 2019 7:30 pm
Forum: SimConnect Interface Questions
Topic: Can I get data related to federates participating in DIS simulation
Replies: 6
Views: 2348

Re: Can I get data related to federates participating in DIS simulation

Hello, You can specify the type of object(s) you are requesting in SimConnect_RequestDataOnSimObjectType . For example, instead of using SIMCONNECT_SIMOBJECT_TYPE_USER you can use SIMCONNECT_SIMOBJECT_TYPE_AIRCRAFT . This will request data on all aircraft. In this case you will receive multiple SIMC...
by Clifton Crane
Fri Aug 30, 2019 1:58 pm
Forum: SimConnect Interface Questions
Topic: Can I get data related to federates participating in DIS simulation
Replies: 6
Views: 2348

Re: Can I get data related to federates participating in DIS simulation

Hi anand, The SimConnect Data Request Sample sample shows how to get data from the user object. The same SimConnect_RequestDataOnSimObjectType can also be used to get data on other objects in the world. Unfortunately, through SimConnect there is not a way to determine whether or not the entity is a ...
by Clifton Crane
Fri Aug 30, 2019 1:24 pm
Forum: Other Support Questions
Topic: HLA
Replies: 6
Views: 1343

Re: HLA

Hello,

RTINode.exe is the only one you need to run. Did you pass in the command line arguments to RTINode.exe?

Also, do you have the IP/port set correctly for LocalParameters?

Go to advanced search