Jump to content

Recommended Posts

Posted

I'm looking for additional knowledge about dynamic kneeboard pages creation. It seems limited to 2 functions : add_text, add_picture. They are detailed in definitions.lua and I think there is some possibility to go deeper because there are fascinating global command like CreateElement but I didn't managed to get information about them (hard coded inside DCS?).

 

The good old purple flight plan seems to rely only on bitmap elements for drawing, but I can't find how to rotate them either for my designs.

 

I'd also like to write unicode characters, but it looks to be not supported whereas the DejaVu font got plenty of interesting symbols.

 

So is it currently a dead end ?

I'll buy :

МиГ-23МЛД & МЛА МиГ-27К МиГ-25 Mirage III F-4E any IJ plane 1950' Korea Dynamic campaign module

Posted
I'm looking for additional knowledge about dynamic kneeboard pages creation. It seems limited to 2 functions : add_text, add_picture. They are detailed in definitions.lua and I think there is some possibility to go deeper because there are fascinating global command like CreateElement but I didn't managed to get information about them (hard coded inside DCS?).

 

The good old purple flight plan seems to rely only on bitmap elements for drawing, but I can't find how to rotate them either for my designs.

 

I'd also like to write unicode characters, but it looks to be not supported whereas the DejaVu font got plenty of interesting symbols.

 

So is it currently a dead end ?

 

It's been over a year since I messed with my dynamic kneeboards for Kneeboard Builder, so I can't quite remember everything I had learned about them. Attached are all the files associated with my dynamic kneeboard pages. I put comments in the mission briefing lua to try to explain how to use some of the functions. Perhaps they can help you if you haven't seen them already.

 

Like you said most of the functions are hard coded into DCS so everything I learned about them came through hours of trial and error.

 

I was unable to figure out a way to dynamically update the kneeboard once in game, although Belsimtek has away to update their dynamic help pages for several of their aircraft. However I believe they have the kneeboard redraw/ update logic hard coded into their aircraft coding.

 

Hopefully you can figure out some new kneeboard ideas or workarounds if you have the patience for it.

KneeboardData.zip

missionbriefing luas.zip

Posted

Thanks a lot AG,

 

I actually already reverse-engineered your amazing scripts, and that really helped me to start.

I'll buy :

МиГ-23МЛД & МЛА МиГ-27К МиГ-25 Mirage III F-4E any IJ plane 1950' Korea Dynamic campaign module

Posted

Good news :happy:

 

I can now rotate text (or anything else), create shapes and lines. Studying lua for aircraft instruments is way to go.

 

However I've not found out yet if the shapes can be anti-aliased.

 

I'll welcome the community to the new dimension of kneeboard content creation by posting snippets somehow, but later, after some checks and progress of the finally realizable graphic flight-plan page of my dreams :v:

I'll buy :

МиГ-23МЛД & МЛА МиГ-27К МиГ-25 Mirage III F-4E any IJ plane 1950' Korea Dynamic campaign module

  • Recently Browsing   0 members

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