Jump to content
cobra4v320

AI HALO Jump Example Mission

Recommended Posts

Can anyone help me please? I'm confused about how you set your landing point when you use the heliHALO method. Obviously, on the flag pole method you get a map and can click on the map where you want to jump to. In the heli version though, you are just teleported into a hovering helicopter. How do you get the helicopter to move to the general area that you want to jump to?

I'm pretty sure you have to position the heli and sphere where you want the drop to be.

Share this post


Link to post
Share on other sites

Any way to run this from init.sqf instead of the actual initialization box for each unit ?

Share this post


Link to post
Share on other sites
I tried even if it seems cruel, I saw one of my unit pray all the way... But it works!

thanks Cobra, I was looking for the same thing.

Would love to see the code you used for this.

Share this post


Link to post
Share on other sites

Thank you for this script! In test mission trigger works, howewer, is there a way to addaction to driver vehicle?

I tried

addAction ["<t color='#2bf000'>START PARADROP</t><br/><img size='3' image='\a3\ui_f\data\gui\cfg\CommunicationMenu\supplydrop_ca.paa'/>", {[player, vehicle player, true, true] call COB_fnc_paradrop}, [], 1, FALSE, TRUE, "", "_this in _target"];

All plane passenger units eject but parachutes don't open for some reason.

Please help.

Share this post


Link to post
Share on other sites

Trying to get this to work on an MP server with AI teammates. They don't Halo jump with me.

Share this post


Link to post
Share on other sites

Hello, when I use the falgpole halo jump in my custom mission, it just teleports me to where i click on the map, at ground level. I do not think that it is sucessfully calling the halo function. please help!

Share this post


Link to post
Share on other sites

I got it working in editor on my mission, but once it goes up on the server it doesn't work, and just teleports people to the ground without any backpack change.

Share this post


Link to post
Share on other sites

I replace this line in fn_HALO.sqf:

If (!IsServer || IsDedicated) exitWith {};

with this

If (!IsDedicated) then {...the rest from HALO script...};

now it works on dedicated Server with my Teammates.

Edited by Bishop1981
  • Like 1

Share this post


Link to post
Share on other sites

so... i got everythign to work on my mission, the example mission helps alot thanks cobra for this script. however i find the name missleading. i cant seem to make the ai follow me through the jump. i have a mission with 2 playable fireteams. i usually play with a friend, each controlling 1 fireteam. what im looking tor is ....

that when i go to the pole and click in a position, all my team follows me and is automatically doing halo with me ( this could cause problems with JIP, they would auto teleport nomater want or not come at all.

the other way i though it could be done is by activating the script from inside a vehicle, and no matter what player starts the halo (by clicking in the map) all the players in the cargo part of the helo will start the halo in the same position, well close enough not on top of each other.

if it has to be a fixed position i can work with that. the main thing is to make the AI follow you. cause i know that if i put the script in the ai at the begining they will do the halo, but not in mid mission. hope someone reads this i dont know how old post work... thanks anyway

Share this post


Link to post
Share on other sites

Great script. Thanks!

 

just one small observation, when a player occupies one of the already parachuting ai then that player becomes invulnerable even once landing.

Share this post


Link to post
Share on other sites

Hi, i ned some help how to only make the A Team Halo jump script can be us bu grupe pl1 and pl2. So this men that the rest of the players cant us it, in the flag pole.

this addAction["<t color=#ff9900'>HALO jump</t>", "ATM_airdrop\atm_airdrop.sqf]

 

 

 


 

Share this post


Link to post
Share on other sites

Does this script still work? I can't get my AI team mates to  follow me to halo jump from the flag pole.

Share this post


Link to post
Share on other sites

Does this script still work? I can't get my AI team mates to  follow me to halo jump from the flag pole.

As few days ago, my AI teammates did jump with me..just if you had a backpack it will not be replace by a parachute....so you freefall to death..LOL..plus half of AI get to the ground in the "frefall" animation and never get up.... I'll really like for Cobra to update it...was one of my favorite HALO script out there. 

Share this post


Link to post
Share on other sites

Thanks for info zagor64 I was thinking it was me lol.

Does anyone know a halo script that works with AI teammates.

  • Like 1

Share this post


Link to post
Share on other sites

I can't believe there are no AI teammate halo or Para jump scripts that work for ARMA3. Am I the only one who likes to play coop mission with AI.

  • Like 1

Share this post


Link to post
Share on other sites

I can't believe there are no AI teammate halo or Para jump scripts that work for ARMA3. Am I the only one who likes to play coop mission with AI.

I feel for you man!!!

Having the same issue..beside..some mission require multiple units/ teams...and not always you have 8-9 or even more friends ready to COOP on a mission...those are the times when it's nice to have AI kick in...

  • Like 1

Share this post


Link to post
Share on other sites

I did tweak it a little and AI will jump using the flagpole method and alo if you choose the first action in the closest chopper to the player in mission example.

 

for the flagpole method you need to change existing file flagHelo.sqf  to the following

hint "Click on the map where you'd like to HALO jump.";
openMap true;
onMapSingleClick {
    onMapSingleClick {};
    player setpos _pos;
    {
        [_x, 3500, false, true, true] call COB_fnc_HALO;
      } foreach units group player;
    hint '';
    openMap false;
    true
};

and for the second method and fist action change heliHelo.sqf and heliLOAD.sqf to the following

 

heliHelo.sqf

_veh = _this select 0;
_unit = _this select 1;
_alt = (getPos _veh select 2) - 3;
_dir = direction _veh;

{
unassignVehicle _x;
_x action ["EJECT", _veh];
_x setDir _dir + 90;
sleep 0.1;
[_x,_alt,true,true,true] call COB_fnc_HALO;
} foreach units group _unit;

heliLoad.sqf

_unit = _this select 1;
_veh = heli;

_veh hideObject false;
{
_x assignAsCargo _veh;
_x moveInCargo _veh;
} foreach units group _unit;

When I use the heliPara script for the third method it seems to detach the chute and player falls to his death even in the original.

  • Like 1

Share this post


Link to post
Share on other sites

@F2k sel you are the shit. If it works in my project that I am attempting to complete then once again thank you my Arma brother. Will give it a go as soon as I get home from work if my wife lets me have some editor time (:

Share this post


Link to post
Share on other sites

Mr. f2k sel :D  works like it should now. Thank you again. Ok I can move forward now on the ten other things I can't get to work right lol.

Share this post


Link to post
Share on other sites

I replace this line in fn_HALO.sqf:

 

If (!IsServer || IsDedicated) exitWith {};
with this

If (!IsDedicated) then {...the rest from HALO script...};
now it works on dedicated Server with my Teammates.

 

"The rest from HALO Script" ?

Help me, i can't make this work on dedicated.

Share this post


Link to post
Share on other sites

I do what u say, but its work fine on MP Client, em SP, but in dedicated, Nope, don't work.

Share this post


Link to post
Share on other sites

Yeah I cant get this to work in multiplayer, only on local hosting or in editor does it work correctly.  In multiplayer it just teleports me straight to the desired position. 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×