Instant HALO

If you wanted to add “instant” HALO to your mission you can do so with just one line of code!

Just use this code to initiate the jump, either say as an addAction from a flagpole or in the init of a unit to start the mission freefalling. this is the unit to HALO and 1000 is the height to start falling from.

[this, 1000] exec "ca\air2\halo\data\Scripts\HALO_init.sqs"

To add a HALO Jump option to a vehicle add this code to the vehicle’s init field:

this addAction ["HALO JUMP","jump.sqf",[],1,false,true,"","_this in _target"];

The contents of jump.sqf would be as follows. You’ll need the Functions Module as well.

player action [ "eject", vehicle player];
player spawn bis_fnc_halo;
player setvelocity [0,120*0.8,0];
player setdir 0;

To enable MapClick HALO from a flag pole, place your flag pole with this in it’s init field:

this addAction["HALO","flagpoleHALO.sqf"];

The contents of flagpoleHALO.sqf is:

haloed = true;
hintSilent "Click on the map where you'd like to HALO.";
onMapSingleClick "player setPos _pos; [player, 2000] exec 'ca\air2\halo\data\Scripts\HALO_init.sqs';haloed = false;hint 'Close the map and don''t forget to open your chute!'";
onMapSingleClick "";
  1. #1 by Katdog5 on September 17, 2010 - 5:48 PM

    Thanks for this..oldie but goodie. Works like a charm

  2. #2 by Lucky on November 9, 2010 - 11:59 AM

    Wow! I’ve been looking all over the web for weeks for the way to make a vehicle HALO-able. Thanks SO much for putting this up. Your site is invaluable.

  3. #3 by Rabble-ROuser/DeadWalking on December 19, 2010 - 8:13 PM

    For an Altimeter add to jump.sqf

    while {((getposATL player)select 2) > 1} do
    hintsilent format [“Altimeter: %1”, round (getPosATL player select 2)];
    if (((getposATL player)select 2) < 1) then
    hintsilent "";

  4. #4 by mia389 on March 4, 2011 - 8:20 PM

    Here is one for ACE Halo

    0 = [this] execVM “halo.sqf”;

    if (_this select 0==player) then {
    waitUntil {alive player};
    _unit = player;
    _unit addweapon “ACE_ParachutePack”;
    _unit setPos [(position _unit select 0), (position _unit select 1), 3000];
    _unit execVM “x\ace\addons\sys_eject\jumpout_cord.sqf”;

Comments are closed.