Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Outerra Tech Demo download. Help with graphics driver issues

Author Topic: mig29 combat-ready upgrade (release)  (Read 907 times)

fly77

  • Outerra Master Modder
  • Hero Member
  • *****
  • Posts: 1460
mig29 combat-ready upgrade (release)
« on: April 22, 2021, 04:58:06 am »

It is my pleasure to finally release my "combat-ready" mig29fly77 version.
By combat-ready I mean it has all the features needed for my upcoming fighterjet bombing (mini)game.

So you can start using it already now to bomb some destructible targets or whatever other target you choose
(download destructible targets and marker form here https://drive.google.com/drive/folders/19wnCWk0T7aSh-TBo0dFu5FlBteZ-FcPW?usp=sharing)


The new features included are:
 
- improved target sight, including better stabilization and greater zoom level
- active cockpit HUD
- onscreen info display giving flight and weapon info
- possibility to switch to a simplified combat mode camera system (skipping the formation flight camera)
- pitch hold autopilot useful especially in combat mode when in targeting view
- plane crash if diving into ground, taxing on rough terrain or pulling excessive g's




Download from here:

https://drive.google.com/drive/folders/1hLL1OF3smWaaJXoYmGTlcJsd0M-dntHd?usp=sharing


Installation:
1) click on self-installing mig29fly77-game-ready.otx  file
2) drop fly77_plugin.dll into outerra/Anteworld/plugins folder



Controls:
Commands are as in the previous version (see here https://forum.outerra.com/index.php?topic=4986.0 ) and are all
described in the ingame help menu (press T key)

The upgrade includes these new commands:

- pitch autopilot: ctrl+D
- combat camera mode: comma key
- show/hide onscreen info display: shift+K







« Last Edit: April 22, 2021, 05:04:41 am by fly77 »
Logged

aWac9

  • Hero Member
  • *****
  • Posts: 2164
  • newbie
Re: mig29 combat-ready upgrade (release)
« Reply #1 on: April 22, 2021, 12:35:50 pm »

¡¡ Bravo !!
superb, another great contribution from fly
thank you very much .. and congratulations ...
:)
Logged

fly77

  • Outerra Master Modder
  • Hero Member
  • *****
  • Posts: 1460
Re: mig29 combat-ready upgrade (release)
« Reply #2 on: April 22, 2021, 01:13:51 pm »

thanks aWac9
I hope I can add active flares to the next upgrade that will come together with the SAM launcher.  ;)
Logged

aWac9

  • Hero Member
  • *****
  • Posts: 2164
  • newbie
Re: mig29 combat-ready upgrade (release)
« Reply #3 on: April 23, 2021, 12:21:38 pm »

How can I eliminate the explosion of the mig29?
if you fly level and jerk the lever upwards ,,,, it explodes
Logged

fly77

  • Outerra Master Modder
  • Hero Member
  • *****
  • Posts: 1460
Re: mig29 combat-ready upgrade (release)
« Reply #4 on: April 23, 2021, 01:36:22 pm »

How can I eliminate the explosion of the mig29?
if you fly level and jerk the lever upwards ,,,, it explodes

I thought you are a carefully flying pilot  =D

first of all check if you had by mistake active the pitch autopilot while doing such jerky flying (X shown near to pitch angle in info display, and pitch angle in red on HUD)

if that was not the cause then OK if you like to fly jerky then open mig29.js file and look in lines 1676 and 1677

Code: [Select]
explode(this.snd, this.explosions, this.geom.get_pos(), 3 ,"object bomb");
this.exploded = true;

comment out these lines

Code: [Select]
//explode(this.snd, this.explosions, this.geom.get_pos(), 3 ,"object bomb");
//this.exploded = true;

or in line 1674
increase the gforce limit, substituting the number 30 with some bigger number

Code: [Select]
if ( (this.jsbsim['position/h-agl-ft']*0.3048 > 10  && gforce > 30) || (this.jsbsim['position/h-agl-ft']*0.3048 < 10  && this.parking_break_switch ==0 && gforce > 8)){   
« Last Edit: April 23, 2021, 01:52:29 pm by fly77 »
Logged

aWac9

  • Hero Member
  • *****
  • Posts: 2164
  • newbie
Re: mig29 combat-ready upgrade (release)
« Reply #5 on: April 24, 2021, 07:17:56 am »

 :facepalm:
Ideally, a sudden movement of "g" or angle in pitch or roll, would automatically deactivate the autopilot, ...., not its explosion,
it's like someone pressing ctrl + D automatically and getting it disabled.
 ;)
Logged

fly77

  • Outerra Master Modder
  • Hero Member
  • *****
  • Posts: 1460
Re: mig29 combat-ready upgrade (release)
« Reply #6 on: April 24, 2021, 10:04:58 am »

Quote
Ideally, a sudden movement of "g" or angle in pitch or roll, would automatically deactivate the autopilot, ...., not its explosion,
it's like someone pressing ctrl + D automatically and getting it disabled.
 ;)
Good idea.
to achieve it you can add code two code lines:
Code: [Select]
if (this.spawned && !this.exploded) {

if ( this.jsbsim['position/h-agl-ft']*0.3048 > 10  && gforce > 10){
this.pitch_hold_switch =0;
ap_wing_level_switch==0;
}

  if ( (this.jsbsim['position/h-agl-ft']*0.3048 > 10  && gforce > 30) || (this.jsbsim['position/h-agl-ft']*0.3048 < 10  && this.parking_break_switch ==0 && gforce > 8)){   
    var crashpos = this.geom.get_pos();
    explode(this.snd, this.explosions, this.geom.get_pos(), 3 ,"object bomb");
    this.exploded = true;


« Last Edit: April 24, 2021, 12:33:21 pm by fly77 »
Logged

fly77

  • Outerra Master Modder
  • Hero Member
  • *****
  • Posts: 1460
Re: mig29 combat-ready upgrade (release)
« Reply #7 on: April 26, 2021, 08:38:20 am »

Important bug fix

After several complaints about plane exploding when flying "fast and furious" I decided to disable any plane explosions when airborne and added an "invulnerable mode" that
that you can activate by pressing
CTRL+K in case you want to drive cross-country
(also the pitch-hold autopilot now disables automatically when a g threshold is exceeded)


So please redownload the mig29fly77-game-ready.otx  file from above.. No need to reinstall the plugin.[/size]


« Last Edit: April 26, 2021, 12:02:31 pm by fly77 »
Logged