Jump to content

Developers question: Problems Operating 412 in HEMS virtual airline


Vita Zenisek

Recommended Posts

Greetings to developers,

We do run small virtual airline which uses cloud-based system for mission definition, and X-Plane plugin and client application for evaluating mission progress.
Our system is capable of attaching sling load and setting rope length manipulating following datarefs:

gDR_JettisonSize = XPLMFindDataRef("sim/flightmodel/misc/ett_size");
gDR_JettWeight = XPLMFindDataRef("sim/flightmodel/weight/m_jettison");
gDR_Jett_CableLen = XPLMFindDataRef("sim/flightmodel/misc/jett_len");
 
With Bell 412 and Bell 429 too (it uses your plugin), this does not work as it seems you are manipulating the same datarefs and you basically reset immediately anything which I set by my plugin.
I would like to fix this somehow, as Bell 412 operates HEMS in Czech republic and we would like to operate it in our VA as well.
My question is - is there any way how to disable rewriting those datarefs by your plugin or would you please recommend me what to do to achieve similar effect (having a sling load with some weight and cable length hanging below the helicopter) by manipulating some of your custom datarefs (if there are any) upon detection of Bell 412 or Bell 429 is used for the mission?
 
Thank you very much,
Vita
Link to comment
Share on other sites

Thank you for test plugin, but 412 does not load with it. I got this in x-plane log.
 

Fetching plugins for F:\Sims/X-Plane 11/Aircraft/XPL11/AB412 v2.1 fox x-plane 11.10+/plugins

plugin version: Harrier 1.0.1

XPLMGetPluginInfo: PluginPath
F:\Sims/X-Plane 11/Aircraft/XPL11/AB412 v2.1 fox x-plane 11.10+/plugins/Bell412/64/win.xpl

XPLMExtractFileAndPath: PluginName
win.xpl

open: LogFileName
F:\Sims/X-Plane 11/Aircraft/XPL11/AB412 v2.1 fox x-plane 11.10+/plugins/Bell412/64/../debug.log

Log file not found
F:\Sims/X-Plane 11/Aircraft/XPL11/AB412 v2.1 fox x-plane 11.10+/plugins/Bell412/64/../debug.log

 

Link to comment
Share on other sites

  • 3 months later...

@Vita Zenisek: Do you know per chance what the .acf modification would be for the freeware Bell 429, which uses the same plugin? It would use the hoist with extended boom as attachment point.

Edited by Daikan
Forgot this is the Bell 412 forum
Link to comment
Share on other sites

14 hours ago, Daikan said:

@Vita Zenisek: Do you know per chance what the .acf modification would be for the freeware Bell 429, which uses the same plugin? It would use the hoist with extended boom as attachment point.

Hi @Daikan,
I set sling load position of 412 and 429 acf files to match the sling load hook, not the hoist. I can send you picture with 429 setting if you wish, but you have to experiment with the hoist anyway.
Vita

Link to comment
Share on other sites

22 hours ago, Daikan said:

@Vita Zenisek: Do you know per chance what the .acf modification would be for the freeware Bell 429, which uses the same plugin? It would use the hoist with extended boom as attachment point.

For the 429 the winch hook point is set in SASL, winch.lua

Link to comment
Share on other sites

7 hours ago, timber61 said:

For the 429 the winch hook point is set in SASL, winch.lua

Thanks a lot!

Just to make sure the coordinates are transferred correctly to planemaker, can you confirm this would be the correct mapping:

winx -> lat
winy -> vert
winz -> lon

Link to comment
Share on other sites

After a lot of digging and testing I found the following settings would be appropriate for attaching a slung load to the extended hoist boom on the 429:

image.png.adda4e22522289cf416691cb44e7a91b.png

Note: I found the xyz coordinates in winch.lua were in meters relative to the 3d object's origin (Kit1.obj) while planemaker expects them in feet and relative to the aircraft's reference point which in this case was different than the origin - complicating matters a bit...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...