Jump to content

Recommended Posts

Posted

Duh! :doh:

 

It IS a standard delta time, except its in SECONDS and not milliseconds as I was expecting. I was confused because it was so freaking stable. Did two timing-runs where I tested first stable 60FPS and then one run where the FPS varied widely and it seemed to have no effect. The timing was accurate down to tenth of a picosecond: impressive!

DCS AJS37 HACKERMAN

 

There will always be bugs. If everything is a priority nothing is.

  • 1 month later...
  • ED Team
Posted (edited)

Anyone messing with custom planes, and having an issue with running two or more crashing your game remove this code that was similar to what is found in Wunderluft.lua:

 

 

       {
           name  = "fighter-1-crush";
           file  = "fighter-1-crush";
           fire  = { 240, 2};
       },

 

If you have the AI Bf-109, you will need to remove it as well if you are messing with custom planes. I think a fix might be coming along, but that should solve any crashing till then. I will probably explain this wrong, but "fighter-1-crush" is the default, declaring it again makes things go boom.

Edited by NineLine

64Sig.png
Forum RulesMy YouTube • My Discord - NineLine#0440• **How to Report a Bug**

1146563203_makefg(6).png.82dab0a01be3a361522f3fff75916ba4.png  80141746_makefg(1).png.6fa028f2fe35222644e87c786da1fabb.png  28661714_makefg(2).png.b3816386a8f83b0cceab6cb43ae2477e.png  389390805_makefg(3).png.bca83a238dd2aaf235ea3ce2873b55bc.png  216757889_makefg(4).png.35cb826069cdae5c1a164a94deaff377.png  1359338181_makefg(5).png.e6135dea01fa097e5d841ee5fb3c2dc5.png

Posted
Anyone messing with custom planes, and having an issue with running two or more crashing your game remove this code that was similar to what is found in Wunderluft.lua:

 

 

Code:

{ name = "fighter-1-crush"; file = "fighter-1-crush"; fire = { 240, 2}; },

Today i upadte my DCS.....but game crash....
Posted

DCS crashes for us as well after the last update and I haven't been able to get an answer as to why. I figured it was some change in the SDK that broke our connection to the core code, but if others are seeing it as well, maybe it is a more general problem with 3rd party aircraft.

Posted

I spoke to Alex yesterday as we were also having the issue with our development models, he's informed me they've found the issue on their end and it should be fixed with the next update.

  • 1 month later...
Posted

Why all the new modules doesn't have files like A-10c.lua, p-51d.lua, they all have only entry.lua and comm.lua files, where does the plane_name.lua information is now stored?

Intel Core i5-2500K@4.7GHz | Noctua NH-D14 (NF-P12 + NF-P14) | MSI Z77 MPOWER | Kingston HyperX Fury Black 1866MHz HX318C10FBK2/16 2x8GB |



MSI N580GTX Lightning Extreme Edition (3GB, 910MHz/1195MHz) | AOC e2236Swa | Win10 64bit | Old Good Saitek X52 Pro

 

Virtute Duce, Comite Fortuna!

:pilotfly:[sIGPIC][/sIGPIC]:pilotfly:

  • ED Team
Posted
Why all the new modules doesn't have files like A-10c.lua, p-51d.lua, they all have only entry.lua and comm.lua files, where does the plane_name.lua information is now stored?

 

 

I may be wrong, but most is moved into a dll, or into the main file structure...

64Sig.png
Forum RulesMy YouTube • My Discord - NineLine#0440• **How to Report a Bug**

1146563203_makefg(6).png.82dab0a01be3a361522f3fff75916ba4.png  80141746_makefg(1).png.6fa028f2fe35222644e87c786da1fabb.png  28661714_makefg(2).png.b3816386a8f83b0cceab6cb43ae2477e.png  389390805_makefg(3).png.bca83a238dd2aaf235ea3ce2873b55bc.png  216757889_makefg(4).png.35cb826069cdae5c1a164a94deaff377.png  1359338181_makefg(5).png.e6135dea01fa097e5d841ee5fb3c2dc5.png

Posted

SFM_Data.lua or PlaneConst.lua.

 

 

Each aircraft has a ws_type assigned to it, and it loads it from there, or in A-10C's case, the AFM Data is loaded from the Flight Model Files in the A-10C Folder.

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Posted

Ok, thank you all for reply, so other 2 questions, I have in my entry.lua file this line:

 

make_flyable('Il-76MD',current_mod_path..'/Cockpit/',{self_ID,'Il-76md'}, nil)

 

But in the game the plane is not flyable. What am I doing wrong and also how can I assign a plane to be available only in selected countries?

Intel Core i5-2500K@4.7GHz | Noctua NH-D14 (NF-P12 + NF-P14) | MSI Z77 MPOWER | Kingston HyperX Fury Black 1866MHz HX318C10FBK2/16 2x8GB |



MSI N580GTX Lightning Extreme Edition (3GB, 910MHz/1195MHz) | AOC e2236Swa | Win10 64bit | Old Good Saitek X52 Pro

 

Virtute Duce, Comite Fortuna!

:pilotfly:[sIGPIC][/sIGPIC]:pilotfly:

Posted
it requires serious engineering and mathematical knowledge to produce a complete simulation of DCS standards

 

And that's why I support ED and so admire their accomplishments. Every product is the realization of flight sim fantasies I had as a child playing FS II on the Apple II. At my friend's house in the 80s we'd speculate that by the time we were X age, flight sims would look like Y. And now here we are with DCS, ROF, and even FSX still chugging along. Once the bugs are worked out of the Oculus Rift, the dreams of childhood will be ever closer to reality. It's a great time to be a flight sim fanatic.

 

What a fanboy I am.

Posted
Ok, thank you all for reply, so other 2 questions, I have in my entry.lua file this line:

 

make_flyable('Il-76MD',current_mod_path..'/Cockpit/',{self_ID,'Il-76md'}, nil)

 

But in the game the plane is not flyable. What am I doing wrong and also how can I assign a plane to be available only in selected countries?

 

 

I believe the syntax has changed.

 

make_flyable( '<Display Name', '<path to cockpit>', {self_ID,'ws_type',old = R}, current_mod_path..'/comm.lua')

 

 

Display Name = Il-76MD

ws_type = IL_76MD

R= Aircraft ID (I Believe, will have to double check)

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Posted

Do you have an external flight model DLL called Il-76md? If not, this won't work. For SFM, you need:

 

make_flyable('Il-76MD',current_mod_path..'/Cockpit/',nil, nil)

Posted
Do you have an external flight model DLL called Il-76md? If not, this won't work. For SFM, you need:

 

make_flyable('Il-76MD',current_mod_path..'/Cockpit/',nil, nil)

 

Yes, I have compiled the dll from API directory files, I put it into the bin folder, called it il-76md.dll

Intel Core i5-2500K@4.7GHz | Noctua NH-D14 (NF-P12 + NF-P14) | MSI Z77 MPOWER | Kingston HyperX Fury Black 1866MHz HX318C10FBK2/16 2x8GB |



MSI N580GTX Lightning Extreme Edition (3GB, 910MHz/1195MHz) | AOC e2236Swa | Win10 64bit | Old Good Saitek X52 Pro

 

Virtute Duce, Comite Fortuna!

:pilotfly:[sIGPIC][/sIGPIC]:pilotfly:

Posted (edited)

OK. Your syntax should not be the problem. Skate, what you're suggesting is wrong, as far as I know.

 

This:

 

{self_ID,'ws_type',old = R}

 

is self_ID, DLL name, and then some other setup things. No idea what this old = R thing is.

Edited by aaron886
  • ED Team
Posted
OK. Your syntax should not be the problem. Skate, what you're suggesting is wrong, as far as I know.

 

This:

 

{self_ID,'ws_type',old = R}

 

is self_ID, DLL name, and then some other setup things. No idea what this old = R thing is.

 

 

for enabling SFM aircraft without EFM table should looks like

 

{old = true} , old means that you will use SFM , also with same parameter you can specify FC aircraft which will be donor for weapon system

 

{old = 16} will mark that weapon system be from Su-25

{old = 6} F-15 as source for weapon system

 

first two parameters only need when you have DLL with flight model ,

sigpic2354_5.gif
Posted
OK. Your syntax should not be the problem. Skate, what you're suggesting is wrong, as far as I know.

 

This:

 

{self_ID,'ws_type',old = R}

 

is self_ID, DLL name, and then some other setup things. No idea what this old = R thing is.

 

oops yeah, my mistake, I have ws_types on the brain right now.. lol..

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

  • 1 month later...
Posted

I think he wanted it with the L-39 and cockpit. The zip you posted is the original wunderluft without those.

 

My recommendation, assuming you don't get what you want, is to follow my Dummies Guide to aircraft mods thread at http://forums.eagle.ru/showthread.php?t=112245. That thread is intended to take example Wunderluft zip file and take it through the full process of making an aircraft mod.

 

I'm currently having the SFM tuning chapter reviewed and will post an update when that is ready.

Posted

I doubt the Wunderluft Template w/ Cockpit would work 100%correctly in the newer versions of DCSW, since a lot has changed on that front.

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Posted

Hi,

I have a model In game all animated textured etc. I was wondering if someone could, in simple terms, explain the steps to get a working cockpit.

Say I was to use the P-51 cockpit. If I was to copy the "Cockpit_P-51D.edm" to my "cockpit/resources/model/shape" folder. What lua files do I need to edit and what do I need to enter into the lua files?

I've been through the forums backwards and forwards for the past week scratching my sore head. Somebody please help me.

Thanks in advance

Kind regards

Good Grief

Posted

Look in the P-51D's Cockpit/Scripts folder for the mainpanel_init.lua, that's the backbone of the cockpit. Determines most of the arguments and animations, gauges etc to make a basic, working cockpit with simple instruments.

i7 7700K | 32GB RAM | GTX 1080Ti | Rift CV1 | TM Warthog | Win 10

 

"There will always be people with a false sense of entitlement.

You can want it, you can ask for it, but you don't automatically deserve it. "

  • Recently Browsing   0 members

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