Jump to content

Recommended Posts

Posted

Hi All,

 

I am an experienced C++ developer and did some coding for FSX/P3D and XPlane. I developed few glass cockpit gauges with custom drawing in GDI and OpenGL. Now I was asked to do the same thing for DCS platform. I looked at Lua scripting engine and have seen it is possible to have custom DLL module integrated with LUA, however I have not seen how to enable custom drawing of the cockpit elements/gauges.

 

Is it possible to have custom DLL drawing (GDI or DirectX or OpenGL) ? If so could you point me any guidelines where to start, any SDK kind of stuff ?

 

I am not interest in modelling the whole aircraft, just want to know how to build own custom drawn gauge, for example radar gauge based on DLL.

 

many thanks in advance for any advice.

 

br

 

ZS

Posted

Hey, more devs, cool - and a warm welcome to the finest sim in existence! But I think you need to contact ED directly, because only registered developers get access to the SDK (AFAIK).

 

Can anyone help the guy with this? Sith?

The DCS Mi-8MTV2. The best aviational BBW experience you could ever dream of.

Posted
...

Is it possible to have custom DLL drawing (GDI or DirectX or OpenGL) ? If so could you point me any guidelines where to start, any SDK kind of stuff ?

Custom gauge animation makes by lua. No need DirectX routine.

But there are no SDK, no guidelines about here...

 

Here my tests with my own custom HUD and MFD animation.

 

 

How I did this? I`m lazy to describe it :) All info look for at current ED`s modules.

 

...

I am not interest in modelling the whole aircraft, just want to know how to build own custom drawn gauge, for example radar gauge based on DLL.

Radar operation impossible for modders. Current open API not support radar/weapon/GPS systems.

Posted
Custom gauge animation makes by lua. No need DirectX routine.

But there are no SDK, no guidelines about here...

 

Here my tests with my own custom HUD and MFD animation.

 

 

How I did this? I`m lazy to describe it :) All info look for at current ED`s modules.

 

 

Radar operation impossible for modders. Current open API not support radar/weapon/GPS systems.

 

Some beautiful work. Is this mod available to the public?

/Gregory Smiddy

 

Programming

Heatblur Simulations

 

https://www.facebook.com/heatblur/

Posted
Here my tests with my own custom HUD and MFD animation.

 

nice, however I want to have a different approach.

 

Suppose I want to build DLL with DirectX or OpenGL that will render in memory and with each visual frame I will have a pixel buffer that I want to show on 3D cockpit as an instrument. Have LUA any API (plugin) that allows to draw an image on 3D scene based on the pixel buffer that external DLL will expose to LUA script ?

Posted
I think this method not works with DCS.

that's a pity.

 

I heard DCS will have new version 2.0

 

Anyone knows whether it will allow custom draw integration ?

 

I think any serious flight simulator requires it if you want to simulate complex systems like FMS, glass cockpit, SVS etc. and you need low level to accomplish that. Both FSX and X-plane allows it.

  • Recently Browsing   0 members

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