Jump to content

Where can I find Export.lua?????


Recommended Posts

Before posting.. I'm not good at English..please understand..

 

I'm trying to get physical movement data by C++ program. such as speed,AngularVelocity,roll,pitch,yaw etc..

 

So me and my friend searched forums for week!!

Common point was most of people used Export.lua.

 

But we have one big problem.

We can't find proper 'export.lua' !!

 

 

●Eagle Dynamics\DCS World\Config\Export\Eport.lua

 

In many posts (including official DCS site..) say

"There is 'Export.lua' file in ' Eagle Dynamics\DCS World\Config\Export ' "

but we can't find it. There is no such file named 'Export'

 

●$HOME\Saved Games\DCS\Scripts\Export.lua

 

In my game installed directory I could find only

'Eagle Dynamics\DCS World\Scripts\Export.lua '

This 'Export.lua' file had comment.↓

===================================

--- DO NOT EDIT.

--- This file is for reference purposes only

--- All user modifications should go to

$HOME\Saved Games\DCS\Scripts\Export.lua

===================================

 

So we searched

'C:\Users\Administrator\Saved Games\DCS' .

But there was no such folder named 'Scripts' or Eport.lua file. :mad:

 

 

///////////////////////////////////////////////////////////////////////////////

 

I feels like 'Export.lua' as Legendary pokemon or something..:cry:

 

Please Help!!

Link to comment
Share on other sites

make a copy of the one you found. DO NOT edit the original. make any changes/additions to the COPY. then save a copy of this COPY to your savegames/ scripts folder.

One thing if you use the F86 Sabre module having an Export in savegames/scripts crashes the module or at least mine does..

 

I have attached a copy of my lua, it has exports for A10C, KA50. you will see it has the name of instruments changed from the original to avoid conflict between modules.

 

these names also need to be changed in the init.lua's for each instrument in the same way making a copy of the original then changing the copy and saving it to DCSW/Mods folder not scripts.

 

you should end up with a Mods folder with aircrafts /A10C/Cockpit/ scripts/"name of intrument" ie MFCD/ indicator/MFCD_init.lua.

the first 9 instrument attachments are for A10C, the last 3 of these all go in UHF_radio.

 

With the KA50 it is slightly different in that they all go in aircrafts/ KA50/ cockpit/ scripts/ Name of instrument.

the only one that has an Indicator folder is the Ekran .

 

I don't know what you are trying to do but hope this helps.

Export.lua

AN_ALR69V_init.lua

CDU_init.lua

CMSC_init.lua

CMSP_init.lua

DIGIT_CLK_init.lua

MFCD_init.lua

freq_status_init.lua

preset_channel_init.lua

repeater_init.lua

ABRIS_init.lua

CautionLights_panel.lua

Ekran_init.lua

PVI_init.lua

SHKVAL_init.lua

UV_26_init.lua

AMD A8-5600K @ 4GHz, Radeon 7970 6Gig, 16 Gig Ram, Win 10 , 250 gig SSD, 40" Screen + 22 inch below, Track Ir, TMWH, Saitek combat pedals & a loose nut behind the stick :thumbup:

Link to comment
Share on other sites

OMG, I Love You!!

 

make a copy of the one you found. DO NOT edit the original. make any changes/additions to the COPY. then save a copy of this COPY to your savegames/ scripts folder.

One thing if you use the F86 Sabre module having an Export in savegames/scripts crashes the module or at least mine does..

 

I have attached a copy of my lua, it has exports for A10C, KA50. you will see it has the name of instruments changed from the original to avoid conflict between modules.

 

these names also need to be changed in the init.lua's for each instrument in the same way making a copy of the original then changing the copy and saving it to DCSW/Mods folder not scripts.

 

you should end up with a Mods folder with aircrafts /A10C/Cockpit/ scripts/"name of intrument" ie MFCD/ indicator/MFCD_init.lua.

the first 9 instrument attachments are for A10C, the last 3 of these all go in UHF_radio.

 

With the KA50 it is slightly different in that they all go in aircrafts/ KA50/ cockpit/ scripts/ Name of instrument.

the only one that has an Indicator folder is the Ekran .

 

I don't know what you are trying to do but hope this helps.

 

 

Thank you!! I'm very appreciated!..:thumbup:

But i have question. In my

'Users\Administrator\Saved Games\DCS' , there is no 'Scripts' folder.

Did you mean that make new folder and rename it?

 

and once again. Thanks so much.

Link to comment
Share on other sites

Oh Nice!Thanks! Very Very Nice!

If i can get clear source code, this would be great!

This was exactly what i was finding.

 

I downloaded and expanded There is still problem.

1. I don't know how to apply this in game .

2. There was three files in file. But they had no file type.

So I opened them with Notepad, but it's not good for read..

 

I'm very sorry about keep asking but Do you have any idea of these two problems?

Link to comment
Share on other sites

Hi,

 

It should be notepad++

 

Rename the 3 files to xxx.lua

 

Copy and rename the mission.lua for example to "my mission.lua"

 

In the orginal miz the written code is included in mission(.lua)

 

2nd + 3rd picture

You can change it from "do script" ( included ) to "do script file" ( extern )

for example d:\test\my mission.lua

 

You can edit and test now the code without generating always a new miz with included code

code extern -> d:\....\xxxx.lua

( code included -> generate a zip from the folder, rename the zip to miz )

 

4th picture -> show flight data output

 

 

Yes - it is hard to read

But I have no solution - tried to change Options \ Styles in notepad++

Other lua`s and my old modified User Data.lua are ok - black and not grey

 

 

 

 

:( But my knowledge is not very great about lua / mist - made only some small steps so far


Edited by Blech
Link to comment
Share on other sites

  • Recently Browsing   0 members

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