* *

Translations for our friends around the world.

Click on banner for Tornado website

Click.gif Save

Author Topic: Modding Tornado  (Read 682 times)

0 Members and 1 Guest are viewing this topic.

Offline Frankie

  • Moderator
  • *****
  • Posts: 818
  • From Dogs of War to Pipes Of Peace
    • Frankie's Moodurian
Modding Tornado
« on: August 03, 2017, 03:30:17 AM »
This sticky topic is to present and discuss the latest Tornado modding work by AH...and the odd one or two by me.

AH is a Tornado fan who works in the aviation industry. He was inspired by Tornado when it came out in 1993. Having rediscovered Tornado in 2017 through the Tornado website, he has combined his past 16-bit assembly language knowledge, with his love for flight simulation and his aviation experience to see what he can do to enhance Tornado. He also plays DCS.

Disclaimer: these mods only work on the NON-Operation Desert Storm of Tornado. In addition, we are both busy persons and will only mod when time and real-life permits.

List of mods done so far.

No.   Author  Date                 Title
===================================================================
#15. Frankie 22nd Oct 2017- Flyby view
#14. Frankie 21st Oct 2017 - Wump-Crump-Shake the Tornado
#13. Frankie 19th Oct 2017 - Night Vision Goggle effect
#12. Frankie 17th Oct 2017 - Checksix view
#11. Frankie 14th Oct 2017 - Rotate the Spectator View to catch the action
#10. Frankie 14th Oct 2017 - Rotate the craters after hitting (or missing) the target - with a custom height
#09. Frankie 14th Oct 2017 - Flip the flipping sky and let's give the ground more coverage
#08. Frankie 13th Oct 2017 - Set your own terrain following heights
#07. Frankie 10th Oct 2017 - Changed the default initial viewing position of wingmen (drone) aircraft
#06. Frankie 10th Oct 2017 - Tracking View made more realistic and immersive with responsive horizon
#05. Frankie 26th Sep 2017 - Weapons View is now sound-enabled
#04. Frankie 19th Sep 2017 - Changing the default Tracking mode initial position of the Tornado
#03. AH       14th Aug 2017 - Whole lotta shakin' going on
#02. AH         3rd Aug 2017 - Gear up with shudder; Good Landing tire/rumble sound on good landings
#01. AH         3rd Aug 2017 - Tornado Hello World!
« Last Edit: October 21, 2017, 07:44:22 PM by Frankie »

After the Dogs of War are let slip, let us smoke the Pipes Of Peace.

Offline Frankie

  • Moderator
  • *****
  • Posts: 818
  • From Dogs of War to Pipes Of Peace
    • Frankie's Moodurian
Re: Modding Tornado
« Reply #1 on: August 03, 2017, 03:35:09 AM »
1. Tornado Hello World!

Mod: Hello World
By AH
Link: https://www.dropbox.com/s/zbqp5g6hpvdy09x/FLIGHT.EXE?dl=0
Instructions: Make a backup of your tornado folder and then replace the original FLIGHT.exe in the /FLIGHT/ folder with the modded FLIGHT.exe. Then go to game, start a flight and press F2....and check if you see anything new... ;)
Screenshot:

Notes: See bottom-right corner of the screen. Now that's different!
          A very minor and trivial change to Tornado, but nevertheless, a very good start.
« Last Edit: September 26, 2017, 05:22:09 AM by Frankie »

After the Dogs of War are let slip, let us smoke the Pipes Of Peace.

Offline Frankie

  • Moderator
  • *****
  • Posts: 818
  • From Dogs of War to Pipes Of Peace
    • Frankie's Moodurian
Re: Modding Tornado
« Reply #2 on: August 03, 2017, 03:37:48 AM »
2. Gear up with shudder; Good Landing tire/rumble sound on good landings

Mod: Hello World
By AH
Link: https://www.dropbox.com/s/ox1yonguqzeaxbf/Flight_08_02_2017.zip?dl=0
Instructions: Make a backup of your tornado folder and then replace the original FLIGHT.exe in the /FLIGHT/ folder with the modded FLIGHT.exe.

Notes:
08.02.2017 Added a small cockpit shake when lowering or rising landing gear. A nice touch!
08.02.2017 Added tire touchdown/rumble sound (placeholder) when pilot makes a good landing.
« Last Edit: September 26, 2017, 05:22:21 AM by Frankie »

After the Dogs of War are let slip, let us smoke the Pipes Of Peace.

Offline Frankie

  • Moderator
  • *****
  • Posts: 818
  • From Dogs of War to Pipes Of Peace
    • Frankie's Moodurian
Re: Modding Tornado
« Reply #3 on: August 14, 2017, 09:39:02 AM »
3. Whole lotta shakin' going on

Mod: Pilot and Navigator screens shake throughout flight
By AH
Link: https://cdn.discordapp.com/attachments/342700290493120512/345991172122083334/FLIGHT_12_08_2017.zip
Instructions: Make a backup of your tornado folder and then replace the original FLIGHT.exe in the /FLIGHT/ folder with the modded FLIGHT.exe.

Note: prolonged usage of mod will induce headaches and eye-fatigue. This is again proof-of-concept and exists as work in progress.


New features:
(model.asm)
08.02.2017 Added a small shake when lowering or rising landing gear
02.08.2017 Added tire touchdown sound when pilot makes a good landing
12.08.2017 Added cockpit shake effect for normal flight

Significance and future enhancements:
Shaking of the cockpit at the right time and circumstances will make the simulator more immersive and realistic.
« Last Edit: September 26, 2017, 05:22:36 AM by Frankie »

After the Dogs of War are let slip, let us smoke the Pipes Of Peace.

Offline Speedwagon

  • Tornado
  • *
  • Posts: 20
Re: Modding Tornado
« Reply #4 on: August 15, 2017, 05:13:47 AM »
Hi Frankie,

In the right dose I think this effect would increase the realism, especially for missions flown when visibility is restricted such as night, fog and flying in clouds.  :thumbsup

And using a "horizontal shake" for turbulence helps differentiate the effect from the "vertical shake" DI used for airframe buffet.

Speedwagon


Offline Frankie

  • Moderator
  • *****
  • Posts: 818
  • From Dogs of War to Pipes Of Peace
    • Frankie's Moodurian
Re: Modding Tornado
« Reply #5 on: September 19, 2017, 01:04:41 AM »
4. Changing the default Tracking mode initial position of the Tornado (i.e., camera view-point)

Mod: Camera shift for F1 Tracking mode
By Frankie
Link: coming soon
Instructions: Hit F1 and instead of the Tornado being dead-centre in the external view of the Tracking mode, it is slightly skewed to the right ... for IMHO, a slight more dramatic effect.
Screenshot:

VIEWS.ASM code to modify.

Significance and future enhancements:
The above hack is simple and trivial. What is interesting is that it is possible to implement a cinematic view in Tornado. Similar to the various cinematic views found in Razorback's "Apache Vs Havoc" and "Comanche Vs Hokum". The effort to do this is not trivial, but this minor hack alludes to the real possibility of implementing such complex views in Tornado. Never mind the outdated 3D model graphics - if new and innovative views could be implemented in Tornado (using 16-bit assembly language, mind you!), that would take the Tornado experience to a whole new level.
« Last Edit: September 26, 2017, 05:41:09 AM by Frankie »

After the Dogs of War are let slip, let us smoke the Pipes Of Peace.

Offline Frankie

  • Moderator
  • *****
  • Posts: 818
  • From Dogs of War to Pipes Of Peace
    • Frankie's Moodurian
Re: Modding Tornado
« Reply #6 on: September 26, 2017, 05:26:08 AM »
5. Weapons View is now sound-enabled

Mod: Enabled sound in Weapons View
By Frankie
Link: coming soon
Description:
I managed to enable the sounds in the Weapons View. So when the target hits home, you will NOW hear an explosion! This sound effect is missing in the default code because the moment of impact is considered to be out of earshot range of the Tornado that is traveling at, like what, 600knots, which is a pity really. Imagine working so hard to survive all the way to the target, actually hitting it, only to be greeted by complete .... silence. With my minor hack however, you will now be rewarded with a satisfying explosion sound effect. This will make your blood, tears and sweat all worth it. Here is the simple hack. Just change VIEW_WEAPON from 0 to 1 inside SOUNDFX.ASM!


The drawback of the hack is that you will also hear the Tornado's twin-engine sounds every time you toggle to the Weapons View. I am currently unable to turn off the engine sounds when in Weapons View mode. If I could do this, then the drawback would be eliminated.



With the hack activated, an ALARM hitting a target (AAA) will result in a digitized bang. Something that the stock game would always show in silence.


End
« Last Edit: September 26, 2017, 05:56:33 PM by Frankie »

After the Dogs of War are let slip, let us smoke the Pipes Of Peace.

Offline Frankie

  • Moderator
  • *****
  • Posts: 818
  • From Dogs of War to Pipes Of Peace
    • Frankie's Moodurian
Re: Modding Tornado
« Reply #7 on: October 10, 2017, 11:37:21 PM »
6. Tracking View made more realistic and immersive with responsive horizon

Mod: Responsive horizon
By Frankie
Link: None. Just follow the code hack shown.
Description:
This hack will make the horizon responsive when you turn or bank the jet in F1 (tracking) or F5 (drone) views. Just comment off lines that contain the code "VP_ROLL,0".


Just comment these lines in assembly language with a semicolon ;

The simulation views will be more dramatic, especially when the jet turns left or right. You have to try this. It gives a cinematic feel to the external view when the plane turns to the next waypoints. You feel as though you are a wingman the the Tonka that is being tracked in the Tracking (external) view. You feel right there in the thick of the action.


Here I am in F1 view mode. When I bank the plane, the horizon turns at an angle.
Works the same when in Drone mode (F5). Give it a try and see the dramatic difference.
Hack #6 gives the tracking and drone views  a 3D-effect make-over.


Remember the aerial scenes in Top Gun? Remember Flanker 1.0-1.5 external views where you had that beautiful angled view with the jet at the corner and the horizon tilts but the jet remains relatively still? Same effect here. If you hit Esc to cancel the autopilot, and then use the right or left arrow keys to turn the plane, PLUS the zoom/unzoom "<", "Shift+<", "Shift+>" and ">" keys. You will see a dramatic effect when in F1 or F5 view mode. Trust me on this!
« Last Edit: October 11, 2017, 12:30:48 AM by Frankie »

After the Dogs of War are let slip, let us smoke the Pipes Of Peace.

Offline Frankie

  • Moderator
  • *****
  • Posts: 818
  • From Dogs of War to Pipes Of Peace
    • Frankie's Moodurian
Re: Modding Tornado
« Reply #8 on: October 10, 2017, 11:46:35 PM »
7. Changed the default initial viewing position of wingmen (drone) aircraft

Mod: Wingmen aircraft initial view improvement
By Frankie
Link: just follow the code

Change the angle values to 260. That's all!
Instructions: Open VIEWS.ASM and use the value 260 for DrnCamBrg and DrnCamBrgFine. This hack of changing the zero values to 260 will make all drone aircraft to face AWAY from you. In the default game, the drones always initially face towards you (boring!). Now they will initially be seen from the rear. when the F5 key is hit. During a multi-aircraft coordinated strike mission, it makes more sense to view the wingmen or drone aircraft seen from the back, flying towards the target. This way you don't have to reposition the view with the "z" (pan left) or "x" (pan right) keys. Get it?
Screenshot:

What's so special about this Gov? Well you're in F5 (Drone) view and the drone is in that initial position
« Last Edit: October 11, 2017, 12:38:25 AM by Frankie »

After the Dogs of War are let slip, let us smoke the Pipes Of Peace.

Offline Frankie

  • Moderator
  • *****
  • Posts: 818
  • From Dogs of War to Pipes Of Peace
    • Frankie's Moodurian
Re: Modding Tornado
« Reply #9 on: October 13, 2017, 06:28:07 PM »
8. Set your own terrain following heights

Mod: Terrain Following Altitudes
By Frankie
Link: None. Open the AVIONICS.ASM file. Then follow the code hack shown.
Description: With this hack, you can now change any or ALL of the seven default altititudes. It's very simple. Just change the default altitude vaules to anything you desire. Not necessarily in ascending order. For example, my set of altitudes are 100, 200, 300, 400, 550, 7000 and 1000!
« Last Edit: October 14, 2017, 05:00:57 AM by Frankie »

After the Dogs of War are let slip, let us smoke the Pipes Of Peace.

Offline Frankie

  • Moderator
  • *****
  • Posts: 818
  • From Dogs of War to Pipes Of Peace
    • Frankie's Moodurian
Re: Modding Tornado
« Reply #10 on: October 14, 2017, 04:32:26 AM »
9. Flip the flipping sky and let's give the ground more coverage

Mod: More Ground Than Sky
By Frankie
Link: None. Open the VIEWS.ASM file. Then follow the code hack shown. The magic value of -45 seems to work wonders.
Description: The views now show more of the ground than the sky. That's all it does. The results can be ... dramatic if you're into air-to-ground attacks and all that stuff. Like cratering a runaway and mowing down soft targets with your plane's Mauser cannon.

VIEWS.ASM code to modify


BEFORE the hack. The ratio of sky:ground height is 1:1. The default game's symmetrical proportion.
But this game's strength is on the ground pounding and mud-moving action, no?


AFTER the hack. See the difference now? The hack gives the view an asymmetrical treatment.
The ratio of sky:ground height is now a staggering 1:6! More interesting, perhaps Sparky? Or is it too much?


Now there is more ground view for your eye to absorb the details. What about SAMs?
Well in Tornado you will hear SAMs on your RWR more than see them, so less sky doesn't really matter.


The (in)famous JP-233 run on a runaway. You get more stuff to look around as you whizz by.


Hit F2 (Satellite View) and you get this interesting view as a side-effect of the hack.


Hack combines well with the Responsive Horizon Hack (i.e., hack #6) to
give an interesting new perspective when the airplane banks.


This video will give you an idea what is possible with the hacks.

Hopefully this hack will open up new possibilities and experiences when playing a ground strike mission. Cheers.
« Last Edit: October 14, 2017, 06:04:35 AM by Frankie »

After the Dogs of War are let slip, let us smoke the Pipes Of Peace.

Offline Frankie

  • Moderator
  • *****
  • Posts: 818
  • From Dogs of War to Pipes Of Peace
    • Frankie's Moodurian
Re: Modding Tornado
« Reply #11 on: October 14, 2017, 08:39:32 AM »
10. Rotate the craters after hitting (or missing) the target - with a custom height

Mod: Rotate the craters and view them from a custom height
By Frankie
Link: None. Open the VIEWS.ASM file. Then follow the code hack shown.
Description:

I've managed to adjust the height of the weapon overhead view and to make the overhead view pan left and right. Which view you say? You know after your bomb hits the target, resulting in crater or a series of craters?  That View! Well, now you can pan left and right slowly or fast. Plus slight zoom-in and zoom-out.Now I share the secret of my latest Tornado hack. The Rotatable Overhead View. See the image below! In the standard Tornado game, once your bombs hit home, you were looking straight down at some craters. The view was static.

Now with my hack, I can swivel (rotate) left or right around the centre of smoking craters of what used to be the target. I can also zoom in and out but the zooming actions are very limited. I am also higher up compared to the standard game's Overhead View height, and I am looking not straight down at the craters, but rather at an angle.

It would be very useful to zoom out MORE so that I can see the rest of the enemy airfield, especially if the mission was a multi-plane coordinated attack and various targets were damaged or hit


The default Overhead View height was 500. I changed it to 600. No reason why you can't edit the value and make it 800! That would give you a better bird's eye view of how well the Squadron's strike of the airfield was.



In the screenshot below, I changed the VP_PITCH 384 value to -110. This accounts for the angled look down in my modified Overhead View. Makes this a bit more dramatic, eh Sparky?


See line 2657's "call AdjustWpnTrack"? Ah, that my friend, is the key that allows me to rotate left or right once I am in Overhead View! This is a true Frankie Tornado innovation. So the view of what's left of my target is no longer static, I can rotate the view and enjoy the results of my handiwork.

Next, see that lie 2656 "call AdjustWpnZoom"? That's the zoom-in and zoom-out controlds. Or Shift-key and zoom-in and zoom-out faster. However the zooming is very limited - almost useless. I am trying to find a way to ZOOM OUT MORE! That would be more useful.(edited)

With my hacks so far, when you go to the Overhead Weapons View (key v), you will head the bomb explode as it strikes home. Then you can rotate around the craters and from a higher up height so that you can survey the damage done by your Squadron. Tally ho! I hope you enjoyed this as much as I enjoyed discovering it.

After the Dogs of War are let slip, let us smoke the Pipes Of Peace.

Offline Asid

  • HAVOC
  • *
  • Posts: 11021
Re: Modding Tornado
« Reply #12 on: October 14, 2017, 05:27:03 PM »
Great stuff Frankie. You are very passionate and committed. Your hard work and determination has started to give results like the above.  :sifone

Keep it up  :thumbsup

I stand against Racism, Bigotry and Bullying

Offline Frankie

  • Moderator
  • *****
  • Posts: 818
  • From Dogs of War to Pipes Of Peace
    • Frankie's Moodurian
Re: Modding Tornado
« Reply #13 on: October 14, 2017, 05:44:29 PM »
Hi Asid

Many thanks for the encouragement. It wouldn't have been possible without your generous and selfless support, and the Dogs Of War Virtual Unit website and forums.

Regards
Frankie Kam

After the Dogs of War are let slip, let us smoke the Pipes Of Peace.

Offline Frankie

  • Moderator
  • *****
  • Posts: 818
  • From Dogs of War to Pipes Of Peace
    • Frankie's Moodurian
Re: Modding Tornado
« Reply #14 on: October 14, 2017, 06:09:18 PM »
11. Rotate the Spectator View to catch the action

Mod: Spectator View Rotate for cinematic effect
By Frankie
Link: None. Open the VIEWS.ASM file. Then follow the code hack shown.
Description:

With this hack, the Spectator View comes to life. In the default game, when you hit the F4 key, all you have is a view of the rear of your Tornado, rapidly retreating away from you until it becomes an indistinguisable pixel. You can't do anything else. NOW HOWEVER, with this hack, after hitting the F4 key, you can rotate the view along the horizontal axis (using the z, x, Shift-z and Shift-x keys)!

How can this View become useful? Most probably in a multi-plane mission where after bombing a target, you can continue to view your wingman hitting their assigned targets over the same area. So for example,  hit the F4 key. As your jet flies out of view into infinity, you rotate the view left or right to catch the action of the wingmen bombing their targets. So this hack makes the Spectator View more useful.

How does it work? At around line 1716 of VIEWS.ASM, add "call AdjustTrack" at the end of the UpdateGameView procedure. Like so:


Just add the line "call AdjustTrack" to the end of the UpdateGameView procedure


Here's the hack in action on Youtube for you to see the difference it now makes to the Tornado experience.

The last 20 seconds of this video show you how useful the hack is.

Here's my  take on this. Suppose a flight of six tornado, led, ahem, by me, were to strike a target with mine being the first to ingress. A few seconds later the others hit various installations of the vicinity. So after I pass over the target and release my ordinance, I hit the F4 key and then hold down Shift-z to rotate the camera counter-clockwise. The target ground area rotates into view, just in time to catch the rest of the squadron lay waste the target area.

Now can you imagine the cinematic possibilities?

After the Dogs of War are let slip, let us smoke the Pipes Of Peace.