DCS A10 Support?  Topic is solved solved with post #24909

Re: DCS A10 Support?

Postby sirnoname » Tue 17. Mar 2015, 00:14

Isn't the export file here: C:\Program Files (x86)\Steam\SteamApps\common\DCSWorld\Scripts ?
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: DCS A10 Support?

Postby laurivs » Tue 17. Mar 2015, 00:18

Is that the only location that you found it in?
laurivs
 
Posts: 46
Joined: Sat 10. May 2014, 18:47
Has thanked: 0 time
Been thanked: 0 time

Re: DCS A10 Support?

Postby laurivs » Tue 17. Mar 2015, 00:19

What does the export.lua say in the beginning?

I have in two locations. One is in game directory like the one you just found, this is NOT the place to mod the export.lua.
Mine says"
--- DO NOT EDIT.
--- This file is for reference purposes only
--- All user modifications should go to $HOME\Saved Games\DCS\Scripts\Export.lua
"
laurivs
 
Posts: 46
Joined: Sat 10. May 2014, 18:47
Has thanked: 0 time
Been thanked: 0 time

Re: DCS A10 Support?

Postby sirnoname » Tue 17. Mar 2015, 00:25

I do not own that saved games folder. There is only one export.lua
Please, set EnableExportScript = true in the Config/Export/Config.lua file

This is also not available.

Yes my original file begins with that lines.

No export working here.
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: DCS A10 Support?

Postby laurivs » Tue 17. Mar 2015, 00:29

http://deadfrogstudios.com/warthogpit/i ... g_DCS_Data

Check this out, someone else with DCS from Steam.

Edit:

Seems like you might want to try to create the needed folder structure to savegames. Then place export.lua there.
laurivs
 
Posts: 46
Joined: Sat 10. May 2014, 18:47
Has thanked: 0 time
Been thanked: 0 time

Re: DCS A10 Support?

Postby sirnoname » Tue 17. Mar 2015, 00:50

Working * The folder is with german names "Gespeicherte Spiele". This should be a $ name as $home in some way.
I will continue tomorrow with the plugin.
For now I see that yaw is not degree 0 to 360. I am not sure this is a fail of the export script. I do not like to make it incompatible with original lockon.

Now your change wishes list:
- remove spike if going 0 to 360 and 360 to 0
- remove delay (for now a middle value of 15 last values)
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: DCS A10 Support?

Postby laurivs » Tue 17. Mar 2015, 01:08

Good to hear that it's working *

Why not make a separate DCS dedicated plugin? Just copy paste everything and call it DCS plug and do whatever modifications are needed. I don't seriously think that anybody plays the original lockon anymore..? Anyway, I understand you don't want to ruin it, but the way I see it, we need progress and not sticking to the old.

Wishlist:
1) all acceleration data must be synchronized with other data (see my youtube video, this explains it very clearly)
2) bank acceleration spike
3) yaw acceleration spike
4) absolutely minimal lag

The yaw value is 2xPi !
=2x3.14 =6.28
6.28 x 1000= the max yaw value you see in lockon plug. These are radians.

The bank value is half and half , same principle. +3140 and -3140

Edit: here's the video again
https://www.youtube.com/watch?v=x3n0Zz1pn1k

check out at 2:20 . The acceleration values blink, they're mostly 0. And rarely an actual value. Plugin needs to calculate difference of bank values and yaw values. It now compares the difference between 0 and 0, which results in a value of 0. This is wrong. It needs to do the calculation only then when the simulation gives a new value. The bank acceleration and Yaw acceleration values need to be rock solid all the time, they can't blink.

Edit2: use left alt + z to slow time down in DCS and left shift + z for normal speed. This is how you can see the problems with acceleration data in lockon plug!
laurivs
 
Posts: 46
Joined: Sat 10. May 2014, 18:47
Has thanked: 0 time
Been thanked: 0 time

Re: DCS A10 Support?

Postby sirnoname » Wed 18. Mar 2015, 00:13

There is a strange technical problem.
Alt bar, slip ball and time do very often some updates (0,3s). Stabble all the time with a accurate value of the game.
Yaw do only big steps and not in realtime. Sometimes this happens also to pitch and roll.
While altbar is smooth the yaw values seems not to be realtime or smooth and get only sometimes an update which is not smooth. The time difference is very different between this updates. This makes speed calculations only possible if I store the last update time for each value, which makes the speed value more laggy than all others.
Maybe this yaw pitch bank are not designed for simulators but for gauges, maybe there are other values which are realtime? Maybe you must set them to be realtime anywhere?

LoGetADIPitchBankYaw

What may this name be? ADI?
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: DCS A10 Support?

Postby laurivs » Wed 18. Mar 2015, 01:23

Hello,

ADI=Attitude direction indicator (=artificial horizon). It is one of the primary flight instruments for the pilot for orientation and situational awareness.

I believe that the easiest way to get this working, is to store the value as you and me suggest. The lag is very small and evident only when slowing the simulation time. There is no other way of getting good, stable, non-spiking bank acceleration value than to use the bank value and calculate from there as far as I *

I don't agree about what you say about pitch bank and yaw values, I think they are updated very fast and are accurate. Are you talking about pitch bank and yaw acceleration values perhaps? Because they are indeed awful. We need to be accurate about terminology!

Could you confirm that your plugin does the calculation for pitch-, bank- and yaw acceleration values based on pitch, bank and yaw or does it receive them or some of them from the simulator directly?

It gets pretty complicated with vectors, and I am not sure if you can use those via export.lua. They have been mentioned somewhere anyway but I can't help you with that as I have no experience using vectors in lua script language or extracting vector values out of DCS.
Last edited by laurivs on Thu 19. Mar 2015, 00:35, edited 1 time in total.
laurivs
 
Posts: 46
Joined: Sat 10. May 2014, 18:47
Has thanked: 0 time
Been thanked: 0 time

Re: DCS A10 Support?

Postby laurivs » Wed 18. Mar 2015, 01:42

Oh by the way! There are sometimes huge differences depending on the aircraft you use for testing. What are you using? I mainly use A10C and F15 for testing, they provide smooth data all the time( except the bank acceleration and yaw acceleration problems of course). Maybe you could try them out and see what you think of the data? Heck, I'll buy you the aircrafts if necessary. I'm once again working, will be back home in about 20 hours, I'll test with the same aircraft you're using and see if the results are the same regardless of aircraft selection.

Edit: Some (better, payware) aircraft have what is called an AFM= Advanced flight model, that is very different and more accurate than compared to SFM=Standard flight model.

AFM=high quality, realistic feeling simulation and handling of the aircraft, always good data
SFM=more arcade kind of quality, maybe jumpy/spiky data? I'll need to check and confirm this. When you look at the different products that you can buy for DCS, they tell you in the description what kind of flight model it has.

I never used SU33(SFM) with my motion sim as the data was unusable, too spiky all the time, where as F15 and A10(AFM) didn't cause any problems!
laurivs
 
Posts: 46
Joined: Sat 10. May 2014, 18:47
Has thanked: 0 time
Been thanked: 0 time

PreviousNext

Return to Digital Combat Simulator Series

Who is online

Users browsing this forum: No registered users and 1 guest

cron