Author Topic: Adding a TACAN to IL-78M  (Read 1519 times)

0 Members and 1 Guest are viewing this topic.

Offline AG-51_Thud

  • Administrator
  • Active
  • **********
  • Posts: 4426
    • Awards
Adding a TACAN to IL-78M
« on: January 27, 2021, 10:32:57 AM »
 
I tried it and it works. I used Ukraine as the country.  :thumbsup:

I am assuming anyone who wants to tank off the IL-78M will need to make this change.  Or, save yours as backup and drop the attached in place of it.

Go to Scripts\Database\planes in your game folder.
Example: D:\Program Files\Eagle Dynamics\DCS World OpenBeta\Scripts\Database\planes

open il-78M.lua with notepad ++ or notepad

find "CanopyGeometry = makeAirplaneCanopyGeometry(LOOK_AVERAGE, LOOK_BAD, LOOK_BAD),"

below above line add

TACAN = true,

It will now look like this:

      CanopyGeometry = makeAirplaneCanopyGeometry(LOOK_AVERAGE, LOOK_BAD, LOOK_BAD),
      TACAN = true,
        mapclasskey = "P0091000064",

« Last Edit: January 27, 2021, 10:37:57 AM by AG-51_Thud »

Offline AG-51_Lahsoldier

  • Administrator
  • Active
  • **********
  • Posts: 451
  • Awards AG-51 IP and Smart Dude
    • Awards
Re: Adding a TACAN to IL-78M
« Reply #1 on: January 27, 2021, 10:57:10 AM »
Nice.  I wonder if it will get set back to default on a DCS update.  I assume it make a spot in the ME now to set a tacan for the plane like the others?
Best laid plans of mice and men are in vain if an angel pisses in the flintlock of your musket.

Offline AG-51_Thud

  • Administrator
  • Active
  • **********
  • Posts: 4426
    • Awards
Re: Adding a TACAN to IL-78M
« Reply #2 on: January 27, 2021, 11:03:49 AM »
I believe it probably will get set back after an update.  Its a small and simple file so easy to re-apply.

Yes, set up is exactly the same as the other tankers.  I changed a KC-135MPRS to IL-78M and change the county to Ukraine.  The settings from the MPRS carried over.

Offline AG-51_Razor

  • Administrator
  • Active
  • **********
  • Posts: 7601
  • Awards Mission Builder CO of AG-51
    • Awards
Re: Adding a TACAN to IL-78M
« Reply #3 on: January 27, 2021, 11:12:41 AM »
Thud, you said that you used Ukrain as the country. What other choices did you have? There is a big update coming out today so it would be easy enough to see if this is changed by an update.
« Last Edit: January 27, 2021, 11:13:45 AM by AG-51_Razor »


Any pilot that tells you he's never been lost is either lying or he's never been anywhere.

Offline AG-51_Razor

  • Administrator
  • Active
  • **********
  • Posts: 7601
  • Awards Mission Builder CO of AG-51
    • Awards
Re: Adding a TACAN to IL-78M
« Reply #4 on: January 27, 2021, 11:27:11 AM »
Worked like a charm  :thumbsup: However I did not change anything to do with the country within the script file. I just chose "USAF Agressors" as the country when putting it into the mission, as I usually do. This allows the tanker to reply to you in English  :thumbsup:


Any pilot that tells you he's never been lost is either lying or he's never been anywhere.

Offline AG-51_Thud

  • Administrator
  • Active
  • **********
  • Posts: 4426
    • Awards
Re: Adding a TACAN to IL-78M
« Reply #5 on: January 27, 2021, 11:28:55 AM »
I just checked (based on Allied Countries) and the IL-78M is also available for USAF Aggressors.

Offline AG-51_Thud

  • Administrator
  • Active
  • **********
  • Posts: 4426
    • Awards
Re: Adding a TACAN to IL-78M
« Reply #6 on: January 27, 2021, 11:31:32 AM »
Also, just to clarify, I selected Ukraine and USAF Aggressor from the ME, not the script.   :thumbsup: :thumbsup:


Offline AG-51_Razor

  • Administrator
  • Active
  • **********
  • Posts: 7601
  • Awards Mission Builder CO of AG-51
    • Awards
Re: Adding a TACAN to IL-78M
« Reply #7 on: January 27, 2021, 01:44:46 PM »
OK then. Thanks to Thud, we now have a viable fix for the lack of a Tacan in the IL-78M. There are a couple of downsides to this. First off, it corrupts your install of the game i.e. you cannot join a public server that requires a "pure" version of the game. Secondly, it requires the person doing the modification to a) have Notepad++ and b) the ability/knowledge/skill/whatever you want to call it to make this change to their game. I suppose that as long as someone in the flight has this mod, they would be able to lead others to the milk of the teat!  :Rofl

The alternative to this was Fireball's Tanker script that did not require anything of the participants. This script was embedded in the .miz file and provided for Tacan to be added to the IL-78M. A couple of the draw backs of this solution were the fact that, the tanker had to be an air start and could not be given simply an orbit command. It always had to be in a racetrack pattern. Although you could determine how long the legs were, there would always be a turn at each end of the leg.

With the mod that Thud has discovered, mission builders that have applied this mod would free to continue on as before and just add the Tacan to the IL-78M. Users would be required to add the change to the script file if they wished to take advantage of this mod. Anyone that has this mod would also be required to remove it if they ever wished to join another server that required a pure version to join. I'd really be interested in hearing your thoughts on this.


Any pilot that tells you he's never been lost is either lying or he's never been anywhere.

Offline AG-51_Thud

  • Administrator
  • Active
  • **********
  • Posts: 4426
    • Awards
Re: Adding a TACAN to IL-78M
« Reply #8 on: January 27, 2021, 02:07:29 PM »
I have no opinion. The lack of a tacan on the Il-78 is a nuisance but not a show stopper. Its a night OPS pita.

On the flip side, its an easy mod and i only fly with the squad.

Offline AG-51_Razor

  • Administrator
  • Active
  • **********
  • Posts: 7601
  • Awards Mission Builder CO of AG-51
    • Awards
Re: Adding a TACAN to IL-78M
« Reply #9 on: January 27, 2021, 02:25:53 PM »
I have just updated my game and it did wipe the mod clean.


Any pilot that tells you he's never been lost is either lying or he's never been anywhere.

Offline AG-51_Ajax

  • AG-51 Active Roster
  • Active
  • ******
  • Posts: 504
    • Awards
Re: Adding a TACAN to IL-78M
« Reply #10 on: January 27, 2021, 04:59:18 PM »
Those that use OVGME or something similar can add that one lua to a new mod and then activate/deactivate based on what server you feel like flying on.  Purty simple.
In the absence of orders, attack!

Offline AG-51_Razor

  • Administrator
  • Active
  • **********
  • Posts: 7601
  • Awards Mission Builder CO of AG-51
    • Awards
Re: Adding a TACAN to IL-78M
« Reply #11 on: January 27, 2021, 06:53:16 PM »
That is so true. Unfortunately for some folks, installing OVGME and figuring out how to use it is about as simple as opening up the database file in Notepad++ and adding TACAN = true   :Popcorn:


Any pilot that tells you he's never been lost is either lying or he's never been anywhere.

Offline AG-51_TwoLate

  • AG-51 Active Roster
  • Active
  • ******
  • Posts: 1710
  • Never late for dinner
    • Awards
Re: Adding a TACAN to IL-78M
« Reply #12 on: January 27, 2021, 08:38:51 PM »
"We don't leave our brothers behind."