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: Bombing, air combat and aerobatics with the Upgraded Heinkel He 51: released  (Read 352 times)

fly77

  • Sr. Member
  • ****
  • Posts: 414

It is my great pleasure to release here the heavily upgraded version of Levi's Heinkel He51 world-war-II plane
It is the result of a long scripting development and I have extensively tested it "in combat" :-)


While the original Heinkel model by Levi is very well done it lacks any functionality beyond the basic flight controls.
So I decided it would be a good model to add lots of new active functionalities and effects so to allow the plane to be used for more than
just carelessly flying around the outerra world as wonderful as it is.

The new model can now be used to actually carry out bombing attacks, air combat and for flying colourful aerobatic shows.
it is sensible to excessive forces and no longer can you take your pilot life for granted with this model !
Pay attention to land correctly, don't mistreat the plane in fligth and keep watching out for anti-aircraft fire coming in that can kill you ! 


Download the model from here

https://www.dropbox.com/sh/j66b74676okxmna/AADeJKl-jol0-G3CNdw9iT8aa?dl=0

I recommend also to download my AI anti-aricraft gun which works in conjunction with this upgraded He51 model...so you can set up some war game level challenge
download FLAK from here https://forum.outerra.com/index.php?topic=3976.0


Installation:

1) click on self-installing Heinkel_He51_bombing.otx file 
This copies the new model into the folder  user/username/outerra/packages/fly77

2) copy the folders Heinkel_He51, bullet and bomb
into the existing Outerra/Anteworld/packages/outerra folder
note: these ammunition models are needed for the Heinkel machine gun and bombing functionalities. They are never seen in the game but you can access the models
in the scenery editor (F7 key) under assets searching for "bomb" and "bullet". The bomb model has been kindly provided by Revolver.
     
Both the damaged plane models as well as the new model will appear in outerra airplane menu with a new icon indicating "fly77"
note that the original Levi's Heinkel will not be overwritten as it is in Levi's package folder so you can still access the old model as well
but I think you won't need it any more.


Here are two videos showing the new functionalities in action.






Important notes:

if you want to fly more than one Heinkel (for instance for "air combat") disable "stop simulation in sandbox mode" in the outerra menu
otherwise spawning o second plane might lead to explode the first because apparently some values are calculated badly when simulation is stopped and resumed


The list of new features includes the following:


- drop bombs + better explosions and fire on impact location
- objects both static and dynamic hit by bombs disappear (and reappear only after outerra is restarted)
- fire with machine gun
- shoot down other Heinkels in flight
- switch on colored smoke for aerobatic shows
- explode and burn if plane crashes into ground or into other objects and show corresponding damaged plane models for each livery.
- plane catches fire and stop motor when aerodynamic or ground forces on it get too strong
- plane explodes if forces are even stronger.
- when motor is damaged the propeller rotates determined by windspeed
- plane catches fire or explode when hit by machine guns (for instance coming from another Heinkel or from AI anti-aircraft gun. download FLAK from here https://forum.outerra.com/index.php?topic=3976.0.)
- when shooting at an AI anti-aircraft gun the you can temporarily damage it or kill it.
- sound of bullets hitting the Hienkel and of metal breaking squeeking when aerodynamic forces are too high.
- motor vibrations are visible
- wind sound
- HUD with information on plane speed, attitude, altitude and armour
- autopilot for altitude and heading hold (useful if you want to spawn more Heinkels for air combat)
- new cameras including also flyby and formation flight cameras
- landing and cockpit lights


These new features allow you for example:
make flying and landing more realistic, take care not to crash or catch fire !
enjoy the new camera views
air-to-ground attacks to destroy any outerra object
try to defeat AI antiaircraft defences
shoot down other Heinkels that you have previously spawned and eventually set into autopilot mode or not (AI planes is one of the next features that I like to addess)
enjoy aerobatic flight with colored smoke trails
etc..




COMMANDS

PLANE FLIGHT CONTROL  (keeps the original default key associations)

E :       switch on engine
B:       wheel brake
pgup :       throttle up
pgdwn:       throttle down
home:      mixture enrich
end:       mixture dilute
ins:      flaps increment
canc:           flaps decrement


AUTOPILOT

CTRL+B :      press once to arm autopilot, press twice to deactivate autopilot
CTRL+W :    autopilot keep current heading
CTRL+A :    autopilot keep altitude


LIGHTS
L :       switch on landing lights
shift+L :    switch on cockpit lights


WEAPONS

F :      shoot with machine gun
K:          drop bomb



SMOKE AND DAMAGE

shift+N :        activate/dactivate damage
R :      activate aerobatic smoke
. :      change color of both HUD and aerobatic smoke


P:       change HUD info
CTRL+S    disable HUD

ZOOM

numpad +   zoom in
numpad -   zoom out

CAMERA VIEWS

v: first person camera views press repeatedly to switch between different views..including also several flyby views
H:         increment flyby range
J:       decrement flyby range

0  : nose view
1  : fly-by
2  : pilot seat gunsight
3  : fly-by
4  : behind pilot   
5  : tail view
6  : fly-by
7  : left wing view
8  : fly-by
9  : formation flight view
« Last Edit: July 27, 2019, 02:46:23 am by fly77 »
Logged

andfly

  • Full Member
  • ***
  • Posts: 246

Before downloading the OTX and "investigating" I can't resist the desire to congratulate you!
A great job and the introduction of many fantastic innovative ideas.
(I am extremely curious to understand how you managed to "make" an aircraft heard when it is hit ... I will study your scripts)

I hope you will continue your work with the same enthusiasm as now!
Congratulations again!    :) :) :)
Logged
I do not know the English language. I use Google Translate. I hope it's all understandable.

fly77

  • Sr. Member
  • ****
  • Posts: 414

Hi andfly. Thank you for the congratulations. Would be wonderful to have you again with us maybe with new ideas...but I know and understand that not allways we are free to do what we wish.
Anyway i still hope that some day you will be back with some of your beautiful creations.

About how to make the plane knowing when it is hit it involves several things. I like to give you just some brief hints so you can find out faster where to look in the scripts

Each tracer shot can be assigned and id so the plane can know which type of bullet hit it...for instance in the FLAK script I set tracers shot from FLAK to value of 22

Code: [Select]
this.explosions.launch_tracer( this.flak_ecef,  {x:bulletspeed*this.flak_direc.x, y:bulletspeed*this.flak_direc.y, z:bulletspeed*this.flak_direc.z}, 2, {x:1.2,y:1.2, z:1.2},      0.2, 0.2, 0,   0, flaktracer[this.flakshot] , entid_flak , 22 );
similarly machine-gun tracer shot by Heinkel i set a id value of 12 ..etc

Any script can access any "landed tracers" shot from whatever plane or vehicle in outerra and retrieve lots of info on the id of tracer shot, impact location, type of object hit etc..

Code: [Select]
this.tvalue = this.explosions.landed_tracers()[0].value;
this.hitid =  this.explosions.landed_tracers()[0].hitid;
hitobject = this.ot_world.get_object(this.hitid);
url= hitobject.get_objurl();
if (!(url.match(/Heinkel_He51_bombing/g)===null)){....// the hit object is a Heinkel ...either my own which I am flying or another one so need to check which

hitpos = hitobject.get_pos();
this.hitdistance = Math.sqrt((hitpos.x - this.planepos.x)*(hitpos.x - this.planepos.x)+(hitpos.y - this.planepos.y)*(hitpos.y - this.planepos.y)+(hitpos.z - this.planepos.z)*(hitpos.z - this.planepos.z));

if (this.hitdistance<30){             // if the shot landed so close to the plane's position probably it is me that was hit.
    this.hitmecount++;
}




« Last Edit: July 16, 2019, 01:59:06 pm by fly77 »
Logged

aWac9

  • Hero Member
  • *****
  • Posts: 1236
  • newbie

Congratulations Fly, a great job .. now he is super fun. thank you very much for this contribution ...
a question .. How can I activate and deactivate the marks (letters) that appear on the plane .. it's fine to locate them, but ... can I deactivate them?
Thank you.

 :) :) :)
Logged

fly77

  • Sr. Member
  • ****
  • Posts: 414

Hi aWac9 ! Thanks. I hope you enjoy the new plane with its new possibilities...especially in conjunction with the FLAK...you can build in the scenery editor a war game challenge.
For the labels... well for the moment the only way to disable them are to leave the plane in flyby camera view, but I will look for a new key assignment to disable the labels.. I guess they are disturbing you for video recording...will have a look into it as soon as possible.. Thanks once more and enjoy !!  ;)
Logged

andfly

  • Full Member
  • ***
  • Posts: 246

Ahhh ...

Each tracer shot can be assigned and id so the plane can know which type of bullet hit it...

I don't think I'd ever get there alone ...
Great job of painstaking research and intuition ...

Thank you !  :)
Logged
I do not know the English language. I use Google Translate. I hope it's all understandable.

fly77

  • Sr. Member
  • ****
  • Posts: 414

well...me too without the kind help from cameni would not have got there....so I take the opportunity to thank cameni a lot for his patience in answering my many questions, helping me to advance in producing this and other models and those that I have in mind for the future.
Logged

fly77

  • Sr. Member
  • ****
  • Posts: 414

Here I am again aWac9.. I have update the otx file with a new command (CTRL+S) to disable the HUD.


Congratulations Fly, a great job .. now he is super fun. thank you very much for this contribution ...
a question .. How can I activate and deactivate the marks (letters) that appear on the plane .. it's fine to locate them, but ... can I deactivate them?
Thank you.

 :) :) :)

« Last Edit: July 16, 2019, 03:51:49 pm by fly77 »
Logged

fly77

  • Sr. Member
  • ****
  • Posts: 414

Sorry guys, I just now discovered a bug affecting air-combat and so have uploaded a new version of the otx file (time  16 july 2019 - 23h55) : If you have downloaded the file before this time, please redownload. Now everything is OK.
« Last Edit: July 16, 2019, 06:04:17 pm by fly77 »
Logged

aWac9

  • Hero Member
  • *****
  • Posts: 1236
  • newbie

fast video while we wait for updates.
:)

go, I'll end up recording songs with my guitar. >:(


« Last Edit: July 17, 2019, 02:42:17 pm by aWac9 »
Logged

fly77

  • Sr. Member
  • ****
  • Posts: 414

sorry aWac9...its says "this video is not available"
Logged

aWac9

  • Hero Member
  • *****
  • Posts: 1236
  • newbie

thanks fly77.
Logged

fly77

  • Sr. Member
  • ****
  • Posts: 414

I'm glad you enjoy !  :)
Logged