Jump to content
Sign in to follow this  
Woodstock2133

Domination arma 3 Heli lift

Recommended Posts

Hello everyone, and yes i do realize that in the A2 section there is a great thread on modding and expanding domination, I have searched there first, but was not able to find anything to help me out.

So the question is that i have found a Domination port to Arma 3 which was modded by dirty-haruz or something like that, and the main question that i have is what do i need to change or add to get the lift choppers to work. in Previous Domination it was just in the i_client script to add units to it, but the i_client in the ported version is totally different, I've looked through the Chophud scrips and the heli scripts basically anything that said heli on it, but im still unable to see where or what i need to add in to all the heli to lift other things besides the MHQ which is a Hunter truck. I mainly would just like to have the ability to have it be able to lift boats and the subs, any help in this would be great, thanks in advance.

Share this post


Link to post
Share on other sites

Go to the mission folder in x_init\fn_preinit.sqf and search for: GVAR(helilift1_types)

and take a look on:

__OWN_SIDE_BLUFOR__
case (__A3Ver): {
["B_MRAP_01_F","B_MRAP_01_gmg_F","B_MRAP_01_hmg_F","B_Truck_01_transport_F","B_Truck_01_covered_F","I_MRAP_03_F","I_MRAP_03_hmg_F",
"I_MRAP_03_gmg_F","B_APC_Wheeled_01_cannon_F","B_APC_Tracked_01_rcws_F","B_Boat_Armed_01_minigun_F","B_SDV_01_F"]

Enter there the classnames you want to be liftable.

If you want to lift boats then you have to do a littlebit more.

Go to x_client\x_helilifts.sqf and seach for: _nobjects

and add the class "ship" like that:

_nobjects = nearestObjects [(position _vehicle), ["LandVehicle","Air","Ship"], 40];

Then in the same file search for: _fuelloss

and add this to the code:

case (_nearest isKindOf "Ship"): {0.0006};

like that:

_fuelloss = switch (true) do {
case (_nearest isKindOf "Wheeled_APC"): {0.0003};
case (_nearest isKindOf "Car" || {_nearest isKindOf "Car_F"}): {0.0002};
case (_nearest isKindOf "Air"): {0.0004};
case (_nearest isKindOf "TANK"): {0.0006};
case (_nearest isKindOf "Ship"): {0.0006};
default {0.0001};
};

After that we have to modify another file in

x_client\x_f\fn_chop_hudsp.sqf

seach for: _nobjects

and add the class "ship" like that:

_nobjects = nearestObjects [_vec, ["LandVehicle","Air","Ship"], _search_height];

Hope that helps

Regards

anjan

Share this post


Link to post
Share on other sites

Awesome thanks a bunch man when i get home from work i shall take a look into what you mentioned, and hopefully i can get it all going, seems like you gave great directions there, so thanks for being thorough

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  

×