Jump to content

Recommended Posts

Posted (edited)

First problem, when i load from runway i can never go above 290 knots throughout the flight but if i spawn from air i can go to easy 2000+.

 

Second problem, what argument number is the interior cockpit canopy? i tried argument 1 and that didn't work. wondering what is the argument number if anyone knows. the animation works in the EDModelviewer.

 

Furthermore, none of the interior animations seem to work. is this to do with my input file maybe? for example most keys i have noted dont actually work in the mod, example. flaps dont work gear does work so does parachute and eject etc,

But none of the interior animations are showing.

 

Edit: Forgot to mention the 3d coordinate system. my cockpit will never go where i tell tell it to in the 3d coordinates defined in the main lua. it will always go center mass or the origin point no matter where i define it in 3d space.

 

Thanks Jack.

Edited by daza7
  • 2 weeks later...
Posted

Second problem, what argument number is the interior cockpit canopy? i tried argument 1 and that didn't work. wondering what is the argument number if anyone knows. the animation works in the EDModelviewer.

 

Have you tried 38 ? I can't remember exactly now, been a while since touching that code.

https://github.com/ipr/F-16Demo/blob/master/FlightModel/F_16Demo.cpp#L780

"I would have written a shorter post, but I did not have the time."

Posted

Furthermore, none of the interior animations seem to work. is this to do with my input file maybe? for example most keys i have noted dont actually work in the mod, example. flaps dont work gear does work so does parachute and eject etc,

But none of the interior animations are showing.

 

Without ASM code, you'll might need to return values to DCS from FM like this:

https://github.com/ipr/F-16Demo/blob/master/FlightModel/F_16Demo.cpp#L834

 

Likely some way to do those in lua too but I could never figure out those properly.

"I would have written a shorter post, but I did not have the time."

Posted
Anyway, this tech demo might have some useful ideas:

http://forums.eagle.ru/showthread.php?t=95985

 

Yea I spoke to skate i think it was and apparently i need to recode the entirety of the electronics as wunderluft is out of date. I would like to continue the SR but Im a busy man. Maybe I will send it off to someone that can actually complete the development of it.

Posted
Without ASM code, you'll might need to return values to DCS from FM like this:

https://github.com/ipr/F-16Demo/blob/master/FlightModel/F_16Demo.cpp#L834

 

Likely some way to do those in lua too but I could never figure out those properly.

 

Yes, that 38 works for both external model and internal model. I've resolved all the animation and key-binding problems of that tech demo BTW. Your code was 100% right. Just something to do with lua and model edm.

EFM / FCS developer, Deka Ironwork Simulations.

  • 2 weeks later...
  • Recently Browsing   0 members

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