Jump to content

Custom kneeboard pages are not shown


grunf

Recommended Posts

It's actually possible to get it working by using LNs procedure (works like a mod) as a temporary fix.

 

Go to:

DCS\Mods\aircraft\AJS37\Cockpit\scripts\KNEEBOARD\indicator\CONTENT

 

The init.lua file in the folder above scans this directory and executes all those lua-Files.

You can simply add your own lua, let's say z_custom.lua. You may just copy the contents of i_groundsettings.lua for example.

 

Take a look inside your new lua-File (open it with notepad++ for example). The first two lines are important, then there is some documentation.

Next comes the most important command - add_picture(...). Exchange the given image with your own image.

For multiple images, you need to create multiple of those lua-Files. (LNs system only allows one image per LUA, see init.lua for details).

It will display the images in the alphabetical ordering of the lua-Files.

 

You may delete all the remaining lines in the file, they are for adding custom text on that image (like LN does with their custom images).

 

So (without those comments) your file may look like this:

 

IJEwzi9.jpg

 

Works like a charm:

 

l5OR8pC.jpg


Edited by Zabuza
Link to comment
Share on other sites

  • 11 months later...
It's actually possible to get it working by using LNs procedure (works like a mod) as a temporary fix.

 

Go to:

DCS\Mods\aircraft\AJS37\Cockpit\scripts\KNEEBOARD\indicator\CONTENT

 

The init.lua file in the folder above scans this directory and executes all those lua-Files.

You can simply add your own lua, let's say z_custom.lua. You may just copy the contents of i_groundsettings.lua for example.

 

Take a look inside your new lua-File (open it with notepad++ for example). The first two lines are important, then there is some documentation.

Next comes the most important command - add_picture(...). Exchange the given image with your own image.

For multiple images, you need to create multiple of those lua-Files. (LNs system only allows one image per LUA, see init.lua for details).

It will display the images in the alphabetical ordering of the lua-Files.

 

You may delete all the remaining lines in the file, they are for adding custom text on that image (like LN does with their custom images).

 

So (without those comments) your file may look like this:

 

IJEwzi9.jpg

 

Works like a charm:

 

l5OR8pC.jpg

WTF?! Well, that is massively inconvenient!

Why don't they scan and show the pics from the normal virtual path (.../user/saved games/DCS Version/kneeboard/AJS37/ )?

That is how every other module does it...

  • Like 1

Shagrat

 

- Flying Sims since 1984 -:pilotfly:

Win 10 | i5 10600K@4.1GHz | 64GB | GeForce RTX 3090 - Asus VG34VQL1B  | TrackIR5 | Simshaker & Jetseat | VPForce Rhino Base & VIRPIL T50 CM2 Stick on 200mm curved extension | VIRPIL T50 CM2 Throttle | VPC Rotor TCS Plus/Apache64 Grip | MFG Crosswind Rudder Pedals | WW Top Gun MIP | a hand made AHCP | 2x Elgato StreamDeck (Buttons galore)

Link to comment
Share on other sites

It's actually possible to get it working by using LNs procedure (works like a mod) as a temporary fix.

 

Go to:

DCS\Mods\aircraft\AJS37\Cockpit\scripts\KNEEBOARD\indicator\CONTENT

 

The init.lua file in the folder above scans this directory and executes all those lua-Files.

You can simply add your own lua, let's say z_custom.lua. You may just copy the contents of i_groundsettings.lua for example.

 

Take a look inside your new lua-File (open it with notepad++ for example). The first two lines are important, then there is some documentation.

Next comes the most important command - add_picture(...). Exchange the given image with your own image.

For multiple images, you need to create multiple of those lua-Files. (LNs system only allows one image per LUA, see init.lua for details).

It will display the images in the alphabetical ordering of the lua-Files.

 

You may delete all the remaining lines in the file, they are for adding custom text on that image (like LN does with their custom images).

 

So (without those comments) your file may look like this:

 

IJEwzi9.jpg

 

Works like a charm:

 

l5OR8pC.jpg

 

Thanks! :thumbup:

Gigabyte Z390 Gaming X | i7 9700K@5.0GHz | Asus TUF OC RTX 4090 | 32GB DDR4@3200MHz | HP Reverb G2 | TrackIR 5 | TM Warthog HOTAS | MFG Croswinds

Link to comment
Share on other sites

WTF?! Well, that is massively inconvenient!

Why don't they scan and show the pics from the normal virtual path (.../user/saved games/DCS Version/kneeboard/AJS37/ )?

That is how every other module does it...

+1. Hopefully it's on Heatblur's to-do list... :)

Link to comment
Share on other sites

Thanks Zabuza, really helpful. :thumbup:

 

To save everyone else the hassle, attached are the kneeboards for the Viggen Campaign (which you will need to use them of course).

 

Drop the files into the DCS\Mods\aircraft\AJS37\Cockpit\scripts\KNEEBOARD\ indicator\CONTENT directory.

 

Use at your own risk, may not pass integrity check etc.

 

You can rearrange them by changing the file names, the order is alphabetical.

 

Cheers

Colin

Viggen Kneeboards.zip

  • Like 1
Link to comment
Share on other sites

  • Recently Browsing   0 members

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