Board index FlightGear Development Aircraft

GNU/GPL MiG-21 development

Questions and discussion about creating aircraft. Flight dynamics, 3d models, cockpits, systems, animation, textures.

Re: GNU/GPL MiG-21 development

Postby pjedvaj » Thu Jan 31, 2019 7:52 pm

You made me install FG again. Great work as usual Skydive. :wink:
Retired
User avatar
pjedvaj
 
Posts: 682
Joined: Thu Mar 18, 2010 8:32 pm

Re: GNU/GPL MiG-21 development

Postby Skydive » Fri Feb 08, 2019 11:01 pm

pjedvaj wrote in Thu Jan 31, 2019 7:52 pm:You made me install FG again. Great work as usual Skydive. :wink:


welcome back. hope you liked it
User avatar
Skydive
 
Posts: 11
Joined: Thu Mar 02, 2017 1:45 am

Re: GNU/GPL MiG-21 development

Postby Skydive » Mon Feb 11, 2019 10:49 pm

I wonder If anybody could help me make radar page work on the mfd?
I am getting lost in the number of files required for that and making the ends meet. Any help would be appreciated.
User avatar
Skydive
 
Posts: 11
Joined: Thu Mar 02, 2017 1:45 am

Re: GNU/GPL MiG-21 development

Postby PINTO » Wed Apr 17, 2019 10:40 pm

Another update. I may be forgetting some stuff, sorry.

- Lots of little bug fixes.
- A new Draken International livery thanks to Gary over at FGUK!
- RWR limits increased from +/-20 degrees to +/-45.
- Almost all weapons have appropriate rails.
- Hydraulic and electric systems have been rewritten to factor in loads applied.
- Radar warmup now required, or the radar will burn out.
- Leaving the gear handle in the up position drains the pneumatic system, resulting in a loss of braking power and inability to deploy the chute.
- Flaps have been tied into the hydraulic system, and will automatically retract based on wind pressure.
- Blown flaps/BLC has been integrated into the FDM. Keep the N1 up (at least 80%) during landing or the blown flaps will not work, and you will lose a lot of lift. Switch is on the left side of the cockpit.
- Ground control intercept is possible with the OPRF GCI asset. It is possible to use the R-27's fire-without-lock feature to combat other aircraft with the radar off using this.
- There is a csv file in the repo for looking up pipper angles to assist in dropping bombs semi-accurately. This data is formatted roughly the same as the real manual that MiG-21 pilots would use, however the data has been pulled out of FG's submodel dropping code.

- Its possible to load radio freqs from a text file. Format for the text file is:
Code: Select all
# this is a comment
nav
108.1
108.2

adf
1234
380

ils
109.9
110.2

comm
123.45
122.5


The parser for these is incredibly simplistic. Any deviation from this format will probably break things.

I'm rewriting how I handle interactions with other aircraft, which will include a rewrite of the radar logic (which will include manual antenna pointing and gimbal limits, weather effects, possibly jamming, targets hiding in ground clutter, sidelobe interference, and other stuff probably in addition to whats already there), better IFF code, better RWR code, and how submodel impact detection works.

In addition, I'm trying to add one new feature a day, however minor that feature is.
Actively developing the MiG-21bis (github repo) (forum thread) (dev discord) (fg wiki)

http://opredflag.com is an active flightgear dogfighting community (using a system that isn’t bombable)
User avatar
PINTO
 
Posts: 943
Joined: Wed Oct 21, 2015 6:28 pm
Callsign: pinto
Version: 2016.3.0
OS: Win10

Re: GNU/GPL MiG-21 development

Postby Octal450 » Wed Apr 17, 2019 10:42 pm

Good work pinto! looking forward to trying.

Kind Regards,
Josh
Free Speech? Hell yeah! Free Software? Hell NO!
User avatar
Octal450
 
Posts: 4381
Joined: Tue Oct 06, 2015 12:51 pm

Re: GNU/GPL MiG-21 development

Postby N-SCOT » Thu May 30, 2019 11:32 am

Seeing that the MiG-21 is an active project, could I ask for a low poly static model to be generated for scenery additions?
Preferably something with a modest texture map (but I'll take what I can get!)

I'd like one for my ongoing KLAL build, as well as having something generally available for those folks developing airfields where this might be used.

thanks much!

G
Gary Brown, aka N-SCOT
Favorite Aircraft: Military
Favorite FG activity: Livery generation
N-SCOT
 
Posts: 171
Joined: Sun Apr 19, 2009 2:17 pm
Location: Gainesville, Florida
Callsign: N-SCOT
Version: 10.2.2
OS: OSX High Sierra

Re: GNU/GPL MiG-21 development

Postby enrogue » Thu May 30, 2019 12:30 pm

There is a lower poly AI model of the MiG-21 in fgdata with a single file texture map - I believe Richard did it - could this be used?
User avatar
enrogue
 
Posts: 166
Joined: Mon May 19, 2014 6:40 pm
Location: London (UK)
Callsign: enrogue
OS: OS X, Ubuntu

Re: GNU/GPL MiG-21 development

Postby PINTO » Sun Sep 08, 2019 2:55 am

Because it’s been a while, here’s an update.

-Headshake is now implemented for various conditions such as compressor stall and takeoff.

-Hydraulics has been rewritten for the final time, and stuff is getting plugged in. Very happy with it.

-Gunsight canvas has been rewritten to be mil-accurate.

-RWR is now MUCH more complex and accurate, with each individual sensor being managed, and beep sound added with volume knob.

-Speedbrake aero effects more complex.

-Many bugfixes and usability tweaks, including ILS autopilot, Kh-66, and more.

Currently working on finishing the hydraulic simulation and fixing the broken parts of the attitude indicator.
Actively developing the MiG-21bis (github repo) (forum thread) (dev discord) (fg wiki)

http://opredflag.com is an active flightgear dogfighting community (using a system that isn’t bombable)
User avatar
PINTO
 
Posts: 943
Joined: Wed Oct 21, 2015 6:28 pm
Callsign: pinto
Version: 2016.3.0
OS: Win10

Re: GNU/GPL MiG-21 development

Postby PINTO » Tue Sep 24, 2019 6:40 pm

vanosten has taken it upon himself to update the wiki page! It is now much more complete and reflects the current state of the MiG-21bis. Link is at http://wiki.flightgear.org/Mikoyan-Gurevich_MiG-21

Due to the increasing complexity, I've begun making some tutorial videos. You can find them at: https://www.youtube.com/playlist?list=PL6h2ElIuID9wdPo3XBk2h1evG0xYTabHy

There is also a development chat server on Discord at http://discord.gg/QtSakhW

As a development update, hydraulics are nearing feature completeness.

EDIT: to add that if N1 is greater than N2 by a certain amount, it will now cause an engine surge. Be mindful of your throttle control.
Actively developing the MiG-21bis (github repo) (forum thread) (dev discord) (fg wiki)

http://opredflag.com is an active flightgear dogfighting community (using a system that isn’t bombable)
User avatar
PINTO
 
Posts: 943
Joined: Wed Oct 21, 2015 6:28 pm
Callsign: pinto
Version: 2016.3.0
OS: Win10

Re: GNU/GPL MiG-21 development

Postby Octal450 » Wed Sep 25, 2019 12:50 am

Great work Pinto!

Kind Regards,
Josh
Free Speech? Hell yeah! Free Software? Hell NO!
User avatar
Octal450
 
Posts: 4381
Joined: Tue Oct 06, 2015 12:51 pm

Re: GNU/GPL MiG-21 development

Postby PINTO » Sun Oct 13, 2019 8:43 am

Another update:

Hydraulics is done, except for the antisurge doors:
- Jet nozzle position relies on hydraulics.
- Flaps, gear, aileron, stabilizer boosters, and speedbrakes as well.

Navigation has been nearly completed:
- Gyros are now fully simulated.
- The flight director now works (ish).
- The radios now must be powered on/off.

Taxiing is now more realistic:
- Brakes now respect the pneumatic situation always.
- The rudder no longer turns the front nosewheel, which is now castering. To turn, apply rudder and brakes at the same time. (thanks to Rudolf for some code and inspiration here!)
- You can enable/disable the front nosewheel brake with the lever to the left of the gunsight.

Payloads:
- To handle more stores than the regular equipment dialog can sanely display, a new store selection dialog has been created.
Image

- P-100 practice bombs have been added.
Image


A gif of Rudolf during some bombing practice:
Image
Actively developing the MiG-21bis (github repo) (forum thread) (dev discord) (fg wiki)

http://opredflag.com is an active flightgear dogfighting community (using a system that isn’t bombable)
User avatar
PINTO
 
Posts: 943
Joined: Wed Oct 21, 2015 6:28 pm
Callsign: pinto
Version: 2016.3.0
OS: Win10

Previous

Return to Aircraft

Who is online

Users browsing this forum: No registered users and 18 guests