Home   Help Search Login Register  

Author Topic: OFPEC ILS (ACCEPTED)  (Read 9460 times)

0 Members and 1 Guest are viewing this topic.

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
OFPEC ILS (ACCEPTED)
« on: 04 Oct 2007, 00:10:38 »
OFPEC scripted Instrument Landing System for planes and helicopters.

Select any available airfield from the airfield selector and the ILS will guide you through the landing path until final touch-down.

YouTube clip

OFPEC ILS
« Last Edit: 19 Aug 2009, 22:18:16 by hoz »

Re: OFPEC ILS (ACCEPTED)
« Reply #1 on: 04 Oct 2007, 15:17:01 »
Looks great!
Does it read the available airports from the config - so it's usable with any user island?

Offline hoz

  • OFPEC Site
  • Administrator
  • *****
Re: OFPEC ILS (ACCEPTED)
« Reply #2 on: 04 Oct 2007, 15:30:29 »
Yes it will work on any island.
Xbox Rocks

Offline MattiusRochelle

  • Members
  • *
Re: OFPEC ILS (ACCEPTED)
« Reply #3 on: 04 Oct 2007, 16:20:39 »
is it usable in MP?  >:(  :D

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: OFPEC ILS (ACCEPTED)
« Reply #4 on: 04 Oct 2007, 16:35:19 »
Of course.

Everything is handled through an action menu added to the desired units (planes, choppers). So you only need to make sure that action is available for every player connected.

The easiest way to do that is just to add the action in the init field of each ILS capable vehicle (just like the one present in the demo mission):

Code: [Select]
this addAction ["Call ILS", "ofpec_ils\ofpec_open_airfieldselector.sqf"]
But if you are using dynamically spawned units, then you need to add the action in a different way:
Code: [Select]
// Your spawn unit code here
_spawnedunit SetVehicleInit "this addAction [""Call ILS"", ""ofpec_ils\ofpec_open_airfieldselector.sqf""]";
processInitCommands;
This has the same effect of adding code to the init field of a unit placed from the editor on the map.

Note that you might have, for example, pilot and co-pilot of a Su34 both with the ILS action enabled, so even the gunner might activate it and follow the final landing aproach (while he cannot drive the plane).

If needed, you may add the action only when a pilot-soldier type player is in th driver seat of a plane or chopper, all that is up to the mission designer.

Offline [seven]

  • Members
  • *
Re: OFPEC ILS (ACCEPTED)
« Reply #5 on: 04 Oct 2007, 17:07:09 »
Pretty sweet since there is no VOR in ARMA, only the PAPI.

How is the correct speed and altitude calculated for the glidepath of different vehicles?

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: OFPEC ILS (ACCEPTED)
« Reply #6 on: 04 Oct 2007, 17:09:16 »
The landing speed is read from config of each vehicle, the glide path is also read from config of each airport.

Offline popcorn

  • Members
  • *
Re: OFPEC ILS (ACCEPTED)
« Reply #7 on: 13 Oct 2007, 01:57:39 »
Hey im trying to get OFPEC ILS to work with this http://www.armaholic.com/page.php?id=1378 respawn script.  It works at the start but when the aircraft respawns the OFPEC ILS doesnt load up.  Is it to possible to load the OFPEC ILS with a trigger then in the init line of the aircraft?

Something on the line of  this alive (name of aircraft) then this addAction ["Call ILS", "ofpec_ils\ofpec_open_airfieldselector.sqf"]  somewhere on the trigger is it possible?

or can i add something in the init of my mission to load it?

Offline Cheetah

  • Former Staff
  • ****
Re: OFPEC ILS (ACCEPTED)
« Reply #8 on: 13 Oct 2007, 03:03:18 »
In a post about three before yours, mandoble gives the answer to that.
Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions!

Offline popcorn

  • Members
  • *
Re: OFPEC ILS (ACCEPTED)
« Reply #9 on: 13 Oct 2007, 04:23:01 »
I put
// UH60MG
_spawnedunit SetVehicleInit "this addAction [""Call ILS"", ""ofpec_ils\ofpec_open_airfieldselector.sqf""]";
processInitCommands;

in the init.sqf and it didnt work, what am i doing wrong?  Sorry about this, help whould be much aprechiated.

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: OFPEC ILS (ACCEPTED)
« Reply #10 on: 13 Oct 2007, 09:19:10 »
That is not for the init.sqs, but for the spawn script, there where the vehicle is "created" again after destruction.

Offline rocko

  • Members
  • *
Re: OFPEC ILS (ACCEPTED)
« Reply #11 on: 13 Oct 2007, 17:41:14 »

Offline hoz

  • OFPEC Site
  • Administrator
  • *****
Re: OFPEC ILS (ACCEPTED)
« Reply #12 on: 13 Oct 2007, 18:15:46 »
I see no reason why you can't use it part of an addon. Just be sure to credit OFPEC.
We have no plans at this time to make it as part of an addon.
Xbox Rocks

Offline popcorn

  • Members
  • *
Re: OFPEC ILS (ACCEPTED)
« Reply #13 on: 14 Oct 2007, 02:27:15 »
I still dont get how to get it to work without having it in the init of the aircraft.  Im half retarded  :clap: so... is there anyway i can load it with a trigger? Or put something in my init.sqf? sorry about this you most get this alot  :D

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: OFPEC ILS (ACCEPTED)
« Reply #14 on: 14 Oct 2007, 08:38:30 »
Note that all you need is to add an action for spawned vehicles, if this is your problem, then it is not a particuar issue related to OFPEC ILS but it should be a general question about MP spawning you should place in the MP forum.

Offline rocko

  • Members
  • *
Re: OFPEC ILS (ACCEPTED)
« Reply #15 on: 14 Oct 2007, 19:45:53 »
Hi,

is there a way to get the needed speed shown for each WP ?

It always says: Too slow or Too fast - What is then the correct speed ?

regards
rocko

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: OFPEC ILS (ACCEPTED)
« Reply #16 on: 14 Oct 2007, 19:55:42 »
It always says: Too slow or Too fast

Oh, Really? Well, not mine  :whistle:

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: OFPEC ILS (ACCEPTED)
« Reply #17 on: 22 Dec 2007, 21:02:09 »
Please note:
I'm NOT going to release what I have done nor am I asking for permission. Just did for practice, and wanted to ask if there will be more to come, even an addon'ed version. So this one is for my private use only.

If the creators are interested I can hand you my version out.

Kind regards
rocko

It seems the community might be interested into an addon version of the ILS and as you already started it we may continue here a collaboration project to output an addon version fully tested as well as compatible with missions already using ILS scripts.

Offline maxsword

  • Members
  • *
Re: OFPEC ILS (ACCEPTED)
« Reply #18 on: 09 Feb 2009, 21:32:37 »
Mandoble,

here are some results of my trials  I made following your suggestions:

I tried with ACE (ACE planes and others from different addons) and without it with one single plane, without putting anything in the mision folders or scripts in init field of the plane while in the editor.

The risult was that with the ACE the action in the menu was shown;  as far as I picked the desired airport the green panel correctly had the white line of bearing to the airport but the circle, the square or the cross on the HUD was stuck in the middle of it without moving.

Any idea?  ??? 

Ho BTW, I didn't find the demo mission.

Offline Manzilla

  • Members
  • *
Re: OFPEC ILS (ACCEPTED)
« Reply #19 on: 09 Feb 2009, 21:43:17 »
I'm not sure if you should use this with ACE. Doesn't ACE already include it? I haven't used this in a while and I have ILS in the action menu.

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: OFPEC ILS (ACCEPTED)
« Reply #20 on: 09 Feb 2009, 21:44:05 »
The demo mission is here, just click download button.

So it seems that ACE already incorporates that automatically too? Try the demo above to make sure it works outside ACE.

Offline maxsword

  • Members
  • *
Re: OFPEC ILS (ACCEPTED)
« Reply #21 on: 09 Feb 2009, 23:33:34 »
Mandoble,

i tried the demo mision and it works pretty good.

the same mission whith the ace causes a second action menu "ILS" added whih the good one ("Call ILS") but non of them worked properly.

 :weeping: :weeping: :weeping:  

Offline Manzilla

  • Members
  • *
Re: OFPEC ILS (ACCEPTED)
« Reply #22 on: 10 Feb 2009, 00:27:10 »
Don't use this ILS with ACE. That will cause conflicts since it's already integrated by the ACE team. It's OFPEC ILS but tweaked a little bit. Check the ACE/AddOns folder and you'll see the .pbo is already there.

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: OFPEC ILS (ACCEPTED)
« Reply #23 on: 10 Feb 2009, 00:44:27 »
If you are using a plane with mando missile hud, do the following, use the action menu Toggle MMA HUD to deactivate the targeting hud, then activate the ILS, when done with the ILS activate the MMA HUD again. If this works, I will update OFPEC ILS sooner or later to do that automatically.

Offline maxsword

  • Members
  • *
Re: OFPEC ILS (ACCEPTED)
« Reply #24 on: 10 Feb 2009, 22:35:32 »
Mandoble.....


IT WORKED.  Finnally....

I followed your instructions and it worked.

Thanx for everything.