Jump to content
Sign in to follow this  
RomanLord

Adding (not substituing EJECT) HALO jump option

Recommended Posts

Hello

I know there are many threads on how to use HALO Jump, but what I found until now is just to "change" the behaviour of the "Eject" action.

I just want that every player get in a plane or heli, will have the "normal" eject and also the HALO option.

How this is possible?

Thanks

Share this post


Link to post
Share on other sites
addAction that runs a script which adds the halo_init to the player and ejects him

I tried adding this code in the player init

this addaction ["HALO","halojump.sqf"];

and add this file halojump.sqf in the mission folder with the following code:

player action [ "eject", VEHICLENAME];
player setvelocity [0,0,0];
[player] exec "ca\air2\halo\data\Scripts\HALO_getout.sqs";

But it not works.

Where I'm wrong?

Share this post


Link to post
Share on other sites

I created this script for a dom mod I was playing with. Though it doesn't have anything to prevent you from jumping out at to low or on the ground. You die if you choose this while on the ground.

// HALO action By [ZSU]Blake
//www.zspecialunit.org
// Place this in the aircraft to add a seperate HALO menu item.
//null = this addaction ["HALO","Halo.sqf","",0,False,True];

_pln = _this select 0;
_plyer = _this select 1;

_plyer setPos (_pln modelToWorld [0, -12, 0 ]);

[_plyer, (getpos _plyer select 2)] exec "ca\air2\halo\data\Scripts\HALO_init.sqs";

Share this post


Link to post
Share on other sites
I created this script for a dom mod I was playing with. Though it doesn't have anything to prevent you from jumping out at to low or on the ground. You die if you choose this while on the ground.

// HALO action By [ZSU]Blake
//www.zspecialunit.org
// Place this in the aircraft to add a seperate HALO menu item.
//null = this addaction ["HALO","Halo.sqf","",0,False,True];

_pln = _this select 0;
_plyer = _this select 1;

_plyer setPos (_pln modelToWorld [0, -12, 0 ]);

[_plyer, (getpos _plyer select 2)] exec "ca\air2\halo\data\Scripts\HALO_init.sqs";

I tried this but it says im missing Halo.sqf. Where should i get this file?

Share this post


Link to post
Share on other sites

You would create it manually and add it to your mission folder.

Share this post


Link to post
Share on other sites
You would create it manually and add it to your mission folder.

But what should I put inside?

Share this post


Link to post
Share on other sites

The text that blakeace quoted above in this post.

Then in the aircraft's init you'd put this:

null = this addaction ["HALO","Halo.sqf","",0,False,True];

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
Sign in to follow this  

×