Jump to content
Torndeco

=BTC=_Logistic (DayZ Epoch Version)

Recommended Posts

Great work. I forgot how much I missed using btc lift from when I used to play missions in OA. This lift system beats r3f big time.

I am looking forward to when you get the tow modifications working. I tried but cant get it working. Followed all instructions for the mirror tow where it changes everything from lift to tow, pilot to driver, chopper/helicopter to landvehicle etc.

Share this post


Link to post
Share on other sites

I get this error in my rpt

 

11:54:41 Error in expression <g.sqf", "", 7, true, true];};} foreach (nearestObjects [player, BTC_Draggable, 5>
11:54:41 Error position: <nearestObjects [player, BTC_Draggable, 5>
11:54:41 Error 0 elements provided, 3 expected
11:54:41 File mpmissions\__cur_mp.chernarus\=BTC=_Logistic\=BTC=_Logistic_Init.sqf, line 27

//Cargo System
BTC_Obj_Dragged      = objNull;
BTC_Veh_Selected     = objNull;
BTC_Dragging         = false;
BTC_Draggable        = ["ReammoBox"];
BTC_Load_In_Vehicles = ["Tank","Wheeled_APC","Truck","Helicopter","C130J","C130J_US_EP1","MV22"];
{if (format ["%1", _x getVariable "BTC_Cannot_Drag"] != "1") then {_name = getText (configFile >> "cfgVehicles" >> typeof _x >> "displayName");_x addAction [("<t color=""#ED2744"">" + "Drag " + (_name) + "</t>"),"=BTC=_Logistic\=BTC=_Cargo_System\=BTC=_Drag.sqf", "", 7, true, true];};} foreach (nearestObjects [player, BTC_Draggable, 50000]);
//Functions
BTC_get_liftable_array =
{
	_chopper = _this select 0;

Share this post


Link to post
Share on other sites

Hello,

 

I've got a problem with this script. It works fine for not-lockable vehicles, but if I buy a car from the trader and unlock it, I can't lift it up because I get the "lock" icon even if the car is actually unlocked.

 

Any clues?

Share this post


Link to post
Share on other sites

Please dont send bug reports when u  aren't using the correct code

 

The title of the thread is =BTC=_Logistic (DayZ Epoch Version)   not =BTC=_Logistic

There is a link in the first post for my version of the code

 

 

IM SORRY I GOT MIXED UP WITH WHAT I was doing,

 

Sorry for the hassle im back on track now

Share this post


Link to post
Share on other sites

Great work. I forgot how much I missed using btc lift from when I used to play missions in OA. This lift system beats r3f big time.

I am looking forward to when you get the tow modifications working. I tried but cant get it working. Followed all instructions for the mirror tow where it changes everything from lift to tow, pilot to driver, chopper/helicopter to landvehicle etc.

 

 

This script works really well. Thanks!

 

Hoping to see a tow-lift version of this script!

 

 

Hep, i got it working by changing the lifting script to towing, and tbh it was way to buggy, and the length of the car you were towing was just insane.

So imo The R3F tow is better.

 

But if you're interested i got this =BTC= lifting and the R3F towing working at the same time

Share this post


Link to post
Share on other sites

Hello,

 

Does anyone know how to disable lifting when a vehicle towing another one ?

I mean, on my server more people tow 3+ vehicles to sell them...

 

So I would like to make a restriction on the tow and disable the lift when someone towing a car.

Share this post


Link to post
Share on other sites

I have added the MV22 to the chopper list but it cant lift

case "Mi17_DZE"        : {_array = ["LandVehicle"];};
case "MV22"       : {_array = ["LandVehicle"];};
case "MV22_DZ"        : {_array = ["LandVehicle"];};
};

Share this post


Link to post
Share on other sites

Only Helis can lift...

MV22 is classed as a plane in arma

Line to change is @

https://github.com/Torndeco/BTC_Logistic_Modified_Epoch_Version/blob/master/mpmission/%3DBTC%3D_Logistic/%3DBTC%3D_Lift/%3DBTC%3D_LiftInit.sqf#L44

 

Note: Upcoming Epoch will be coming with its own lift code

 

If they are going to have this code incorporated into the base code for Epoch, I sure hope it includes both towing and lifting.  Does not make any sense to just have a lift code without the towing code as well.

Share this post


Link to post
Share on other sites

I would not use "LandVehicle" cause in that class are also ALL "Static" objects

see here:

LandVehicle

    StaticWeapon
        StaticAAWeapon
            Igla_AA_pod_East
            Stinger_Pod_base
                Stinger_Pod 
        StaticATWeapon
            Metis
            SPG9_Base
                SPG9_CDF
                SPG9_GUE
                SPG9_INS 
            TOW_TriPod 
        StaticCannon
            D30_Base
                D30_CDF
                D30_Ins
                D30_RU 
            M119
            ZU23_base
                ZU23_CDF
                ZU23_Gue
                ZU23_Ins 
        StaticGrenadeLauncher
            AGS_base
                AGS_CDF
                AGS_Ins
                AGS_RU 
            MK19_TriPod 
        StaticMGWeapon
            DSHKM_base
                DSHKM_CDF
                DSHKM_Gue
                DSHKM_Ins
                DSHkM_Mini_TriPod
                    DSHkM_Mini_TriPod_CDF 
            KORD
                DSHKM_RU
                KORD_high 
            M2StaticMG_base
                M2HD_mini_TriPod
                M2StaticMG 
            WarfareBMGNest_M240_base
                Fort_Nest_M240
                USMC_WarfareBMGNest_M240 
            WarfareBMGNest_PK_Base
                CDF_WarfareBMGNest_PK
                GUE_WarfareBMGNest_PK
                Ins_WarfareBMGNest_PK
                RU_WarfareBMGNest_PK 
        StaticMortar
            2b14_82mm
                2b14_82mm_CDF
                2b14_82mm_GUE
                2b14_82mm_INS 
            M252 
        StaticSEARCHLight
            SearchLight
                SearchLight_CDF
                SearchLight_Gue
                SearchLight_Ins
                SearchLight_RU 
        UH1Wreck 

All other wrecks (crashlanding and stuff) are also in it, which means the Choppers would be a ble to lift all of these objects too, not good if you ask me :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...