|
Mandoble
|
 |
« on: 03 Oct 2007, 23: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 clipOFPEC ILS
|
|
|
|
« Last Edit: 19 Aug 2009, 21:18:16 by hoz »
|
Logged
|
|
|
|
|
|
|
hoz
|
 |
« Reply #2 on: 04 Oct 2007, 14:30:29 » |
|
Yes it will work on any island.
|
|
|
|
|
Logged
|
Xbox Rocks
|
|
|
|
|
|
Mandoble
|
 |
« Reply #4 on: 04 Oct 2007, 15: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): 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: // 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.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Mandoble
|
 |
« Reply #6 on: 04 Oct 2007, 16:09:16 » |
|
The landing speed is read from config of each vehicle, the glide path is also read from config of each airport.
|
|
|
|
|
Logged
|
|
|
|
popcorn
Offline
|
 |
« Reply #7 on: 13 Oct 2007, 00: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?
|
|
|
|
|
Logged
|
|
|
|
|
Cheetah
|
 |
« Reply #8 on: 13 Oct 2007, 02:03:18 » |
|
In a post about three before yours, mandoble gives the answer to that.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Mandoble
|
 |
« Reply #10 on: 13 Oct 2007, 08:19:10 » |
|
That is not for the init.sqs, but for the spawn script, there where the vehicle is "created" again after destruction.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
hoz
|
 |
« Reply #12 on: 13 Oct 2007, 17: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.
|
|
|
|
|
Logged
|
Xbox Rocks
|
|
|
|
|
|
Mandoble
|
 |
« Reply #14 on: 14 Oct 2007, 07: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.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Mandoble
|
 |
« Reply #16 on: 14 Oct 2007, 18:55:42 » |
|
It always says: Too slow or Too fast
Oh, Really? Well, not mine 
|
|
|
|
|
Logged
|
|
|
|
|
Mandoble
|
 |
« 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.
|
|
|
|
|
Logged
|
|
|
|
maxsword
Offline
|
 |
« 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.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Mandoble
|
 |
« 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.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
|
|
Mandoble
|
 |
« 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.
|
|
|
|
|
Logged
|
|
|
|
|
|
|