Einzelnen Beitrag anzeigen
Alt 05.08.2013, 00:10   #362 (permalink)
Anjan-Riot
Newbie
 
Registriert seit: 03.08.2013
Ort: Düsseldorf-London
Alter: 43
Beiträge: 34
Anjan-Riot eine Nachricht über Skype™ schicken
Standard

@Walt71

Go to the mission folder in x_init\fn_preinit.sqf and search for: GVAR(helilift1_types)
and take a look on:
PHP-Code:
__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:
PHP-Code:
_nobjects nearestObjects [(position _vehicle), ["LandVehicle","Air","Ship"], 40]; 
Then in the same file search for: _fuelloss
and add this to the code:
PHP-Code:
case (_nearest isKindOf "Ship"): {0.0006}; 
like that:
PHP-Code:
_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:
PHP-Code:
_nobjects nearestObjects [_vec, ["LandVehicle","Air","Ship"], _search_height]; 
Hope that helps
Regards
anjan

Geändert von Anjan-Riot (05.08.2013 um 00:12 Uhr).
Anjan-Riot ist offline