DirtySanchez

Member
  • Content count

    882
  • Donations

    0.00 EUR 
  • Joined

  • Last visited

  • Days Won

    21

DirtySanchez last won the day on January 6 2017

DirtySanchez had the most liked content!

Community Reputation

887 Excellent

About DirtySanchez

  • Rank
    Underboss

Recent Profile Visitors

18247 profile views

Single Status Update

See all updates by DirtySanchez

  1. Hi DirtySanchez:

    I came across this:

    Since I went from R3F to AdvancedTowing, I've been trying to resolve an issue I now have.
    I use second coming's "watercrates.sqf" for under water missions. And was using R3F to enable me to
    "Load" the crate into an SDV (sub), then drive it to shore, "View Contents", and "Unload" the crate on shore.

    But, now that I use only AdvancedTowing,I have no way to pickup the underwater crates and bring to shore.

    A player suggested I look at CfgVehicleTransport in the mission config.cpp file.
    And, I tried adding (to test it) an SDV to the list, like this:

    Spoiler

    class CfgVehicleTransport
    {
        class Exile_Container_SupplyBox
        {
            vehicles[] = {"Exile_Car_Van_Abstract", "Exile_Car_Offroad_Abstract", "Exile_Car_Zamak_Abstract", "Exile_Car_HEMMT_Abstract", "Exile_Car_Tempest_Abstract", "Exile_Boat_SDV_CSAT"};

            class Exile_Car_Van_Abstract
            {
                attachPosition[] = {0, -1.1, 0.2};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0, -4.4};
            };

            class Exile_Car_Offroad_Abstract
            {
                attachPosition[] = {0, -1.6, 0.4};
                cargoIndizes[] = {1, 2, 3, 4};
                detachPosition[] = {0, -4};
            };

            class Exile_Car_Zamak_Abstract
            {
                attachPosition[] = {0.03, 0.3, 0};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0.03, -4.8};
            };

            class Exile_Car_HEMMT_Abstract
            {
                attachPosition[] = {0.05, -0.1, 0.3};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -6.1};
            };

            class Exile_Car_Tempest_Abstract
            {
                attachPosition[] = {0.08, -0.85, 0.4};
                cargoIndizes[] = {1, 6, 7, 9};
                detachPosition[] = {0.08, -6};
            };
            
            class Exile_Boat_SDV_CSAT_Abstract
            {
                attachPosition[] = {0, -1.1, 0.2};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0, -4.4};
            };
        };
    };

    I get the option to Mount, Install, Unmount on the crate under water, but it won't go into the SDV.

    Of course, I know nothing about coding. So, I just copied the numbers for attachPosition, cargoIndizes, and detachPosition from another vehicle.
    What do those numbers mean? Since you came up with a nice list, adding other vehicles and crates, I was wondering about adding the
    "CargoNet_01_box_F" to the list, however, I also need to add the SDV's,

    "B_SDV_01_F",  "O_SDV_01_F",  "I_SDV_01_F",  "Exile_Boat_SDV_CSAT",  "Exile_Boat_SDV_Digital",  "Exile_Boat_SDV_Grey"

    The problem I have is knowing where the attachPosition, cargoIndizes, and detachPosition  come from or are derived.

    How can this be accomplished? If I had to guess, I'd say something like this: (your expanded list, plus my CargoNet_01_box_F  and SDVs.

    Spoiler

    class CfgVehicleTransport
    {
        class Exile_Container_SupplyBox
        {
            vehicles[] = {"Exile_Car_Van_Abstract", "Exile_Car_Offroad_Abstract", "Exile_Car_Zamak_Abstract", "Exile_Car_HEMMT_Abstract", "Exile_Car_Tempest_Abstract","Exile_Chopper_Huron_Abstract","Exile_Chopper_Mohawk_Abstract"};

            class Exile_Car_Van_Abstract
            {
                attachPosition[] = {0, -1.1, 0.2};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0, -4.4};
            };

            class Exile_Car_Offroad_Abstract
            {
                attachPosition[] = {0, -1.6, 0.4};
                cargoIndizes[] = {1, 2, 3, 4};
                detachPosition[] = {0, -4};
            };

            class Exile_Car_Zamak_Abstract
            {
                attachPosition[] = {0.03, 0.3, 0};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0.03, -4.8};
            };

            class Exile_Car_HEMMT_Abstract
            {
                attachPosition[] = {0.05, -0.1, 0.3};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -6.1};
            };

            class Exile_Car_Tempest_Abstract
            {
                attachPosition[] = {0.08, -0.85, 0.4};
                cargoIndizes[] = {1, 6, 7, 9};
                detachPosition[] = {0.08, -6};
            };

            class Exile_Chopper_Huron_Abstract
            {
                attachPosition[] = {0.05, -2.5, 1.1};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -8.1};
            };
            class Exile_Chopper_Mohawk_Abstract
            {
                attachPosition[] = {-0.05, -2.8, -1.2};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -8.1};
            };
        };
        class Box_NATO_Wps_F
        {
            vehicles[] = {"Exile_Car_Van_Abstract", "Exile_Car_Offroad_Abstract", "Exile_Car_Zamak_Abstract", "Exile_Car_HEMMT_Abstract", "Exile_Car_Tempest_Abstract","Exile_Chopper_Huron_Abstract","Exile_Chopper_Mohawk_Abstract"};

            class Exile_Car_Van_Abstract
            {
                attachPosition[] = {-0.05, -2.3, -0.1};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0, -4.4};
            };

            class Exile_Car_Offroad_Abstract
            {
                attachPosition[] = {-0.05, -2.3, -0.1};
                cargoIndizes[] = {1, 2, 3, 4};
                detachPosition[] = {0, -4};
            };

            class Exile_Car_Zamak_Abstract
            {
                attachPosition[] = {0, -3.2, -0.1};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0.03, -4.8};
            };

            class Exile_Car_HEMMT_Abstract
            {
                attachPosition[] = {0, -4.6, 0.1};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -6.1};
            };

            class Exile_Car_Tempest_Abstract
            {
                attachPosition[] = {0, -4.65, 0.2};
                cargoIndizes[] = {1, 6, 7, 9};
                detachPosition[] = {0.08, -6};
            };
            class Exile_Chopper_Huron_Abstract
            {
                attachPosition[] = {-0.05, -2.4, -2.55};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -8.1};
            };
            class Exile_Chopper_Mohawk_Abstract
            {
                attachPosition[] = {-0.05, -2.65, -2.2};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -8.1};
            };
        };
        class I_CargoNet_01_ammo_F
        {
            vehicles[] = {"Exile_Car_Van_Abstract", "Exile_Car_Offroad_Abstract", "Exile_Car_Zamak_Abstract", "Exile_Car_HEMMT_Abstract", "Exile_Car_Tempest_Abstract","Exile_Chopper_Huron_Abstract","Exile_Chopper_Mohawk_Abstract"};

            class Exile_Car_Van_Abstract
            {
                attachPosition[] = {0, -1.1, 0.2};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0, -4.4};
            };

            class Exile_Car_Offroad_Abstract
            {
                attachPosition[] = {0, -1.6, 0.4};
                cargoIndizes[] = {1, 2, 3, 4};
                detachPosition[] = {0, -4};
            };

            class Exile_Car_Zamak_Abstract
            {
                attachPosition[] = {0.03, 0.3, 0};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0.03, -4.8};
            };

            class Exile_Car_HEMMT_Abstract
            {
                attachPosition[] = {0.05, -0.1, 0.3};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -6.1};
            };

            class Exile_Car_Tempest_Abstract
            {
                attachPosition[] = {0.08, -0.85, 0.4};
                cargoIndizes[] = {1, 6, 7, 9};
                detachPosition[] = {0.08, -6};
            };
            
            class Exile_Chopper_Huron_Abstract
            {
                attachPosition[] = {-0.05, -2.55, -1.2};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -8.1};
            };
            class Exile_Chopper_Mohawk_Abstract
            {
                attachPosition[] = {-0.05, -2.8, -1.2};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -8.1};
            };
        };
        class O_CargoNet_01_ammo_F
        {
            vehicles[] = {"Exile_Car_Van_Abstract", "Exile_Car_Offroad_Abstract", "Exile_Car_Zamak_Abstract", "Exile_Car_HEMMT_Abstract", "Exile_Car_Tempest_Abstract","Exile_Chopper_Huron_Abstract","Exile_Chopper_Mohawk_Abstract"};

            class Exile_Car_Van_Abstract
            {
                attachPosition[] = {0, -1.1, 0.2};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0, -4.4};
            };

            class Exile_Car_Offroad_Abstract
            {
                attachPosition[] = {0, -1.6, 0.4};
                cargoIndizes[] = {1, 2, 3, 4};
                detachPosition[] = {0, -4};
            };

            class Exile_Car_Zamak_Abstract
            {
                attachPosition[] = {0.03, 0.3, 0};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0.03, -4.8};
            };

            class Exile_Car_HEMMT_Abstract
            {
                attachPosition[] = {0.05, -0.1, 0.3};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -6.1};
            };

            class Exile_Car_Tempest_Abstract
            {
                attachPosition[] = {0.08, -0.85, 0.4};
                cargoIndizes[] = {1, 6, 7, 9};
                detachPosition[] = {0.08, -6};
            };
            
            class Exile_Chopper_Huron_Abstract
            {
                attachPosition[] = {-0.05, -2.55, -1.2};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -8.1};
            };
            class Exile_Chopper_Mohawk_Abstract
            {
                attachPosition[] = {-0.05, -2.8, -1.2};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -8.1};
            };
        };
        class B_CargoNet_01_ammo_F
        {
            vehicles[] = {"Exile_Car_Van_Abstract", "Exile_Car_Offroad_Abstract", "Exile_Car_Zamak_Abstract", "Exile_Car_HEMMT_Abstract", "Exile_Car_Tempest_Abstract","Exile_Chopper_Huron_Abstract","Exile_Chopper_Mohawk_Abstract"};

            class Exile_Car_Van_Abstract
            {
                attachPosition[] = {0, -1.1, 0.2};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0, -4.4};
            };

            class Exile_Car_Offroad_Abstract
            {
                attachPosition[] = {0, -1.6, 0.4};
                cargoIndizes[] = {1, 2, 3, 4};
                detachPosition[] = {0, -4};
            };

            class Exile_Car_Zamak_Abstract
            {
                attachPosition[] = {0.03, 0.3, 0};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0.03, -4.8};
            };

            class Exile_Car_HEMMT_Abstract
            {
                attachPosition[] = {0.05, -0.1, 0.3};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -6.1};
            };

            class Exile_Car_Tempest_Abstract
            {
                attachPosition[] = {0.08, -0.85, 0.4};
                cargoIndizes[] = {1, 6, 7, 9};
                detachPosition[] = {0.08, -6};
            };
            
            class Exile_Chopper_Huron_Abstract
            {
                attachPosition[] = {-0.05, -2.55, -1.2};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -8.1};
            };
            class Exile_Chopper_Mohawk_Abstract
            {
                attachPosition[] = {-0.05, -2.8, -1.2};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -8.1};
            };
        };
        class I_supplyCrate_F
        {
            vehicles[] = {"Exile_Car_Van_Abstract", "Exile_Car_Offroad_Abstract", "Exile_Car_Zamak_Abstract", "Exile_Car_HEMMT_Abstract", "Exile_Car_Tempest_Abstract","Exile_Chopper_Huron_Abstract","Exile_Chopper_Mohawk_Abstract"};

            class Exile_Car_Van_Abstract
            {
                attachPosition[] = {0, -1.1, 0.2};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0, -4.4};
            };

            class Exile_Car_Offroad_Abstract
            {
                attachPosition[] = {0, -1.6, 0.4};
                cargoIndizes[] = {1, 2, 3, 4};
                detachPosition[] = {0, -4};
            };

            class Exile_Car_Zamak_Abstract
            {
                attachPosition[] = {0.03, 0.3, 0};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0.03, -4.8};
            };

            class Exile_Car_HEMMT_Abstract
            {
                attachPosition[] = {0.05, -0.1, 0.3};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -6.1};
            };

            class Exile_Car_Tempest_Abstract
            {
                attachPosition[] = {0.08, -0.85, 0.4};
                cargoIndizes[] = {1, 6, 7, 9};
                detachPosition[] = {0.08, -6};
            };
            
            class Exile_Chopper_Huron_Abstract
            {
                attachPosition[] = {-0.05, -2.55, -1.2};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -8.1};
            };
            class Exile_Chopper_Mohawk_Abstract
            {
                attachPosition[] = {-0.05, -2.8, -1.2};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -8.1};
            };
        };
        class Box_East_AmmoVeh_F
        {
            vehicles[] = {"Exile_Car_Van_Abstract", "Exile_Car_Offroad_Abstract", "Exile_Car_Zamak_Abstract", "Exile_Car_HEMMT_Abstract", "Exile_Car_Tempest_Abstract","Exile_Chopper_Huron_Abstract","Exile_Chopper_Mohawk_Abstract"};

            class Exile_Car_Van_Abstract
            {
                attachPosition[] = {0, -1.1, 0.2};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0, -4.4};
            };

            class Exile_Car_Offroad_Abstract
            {
                attachPosition[] = {0, -1.6, 0.4};
                cargoIndizes[] = {1, 2, 3, 4};
                detachPosition[] = {0, -4};
            };

            class Exile_Car_Zamak_Abstract
            {
                attachPosition[] = {0.03, 0.3, 0};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0.03, -4.8};
            };

            class Exile_Car_HEMMT_Abstract
            {
                attachPosition[] = {0.05, -0.1, 0.3};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -6.1};
            };

            class Exile_Car_Tempest_Abstract
            {
                attachPosition[] = {0.08, -0.85, 0.4};
                cargoIndizes[] = {1, 6, 7, 9};
                detachPosition[] = {0.08, -6};
            };
            
            class Exile_Chopper_Huron_Abstract
            {
                attachPosition[] = {-0.05, -2.55, -1.2};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -8.1};
            };
            class Exile_Chopper_Mohawk_Abstract
            {
                attachPosition[] = {-0.05, -3, -1.2};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -8.1};
            };
        };
        class Box_NATO_AmmoVeh_F
        {
            vehicles[] = {"Exile_Car_Van_Abstract", "Exile_Car_Offroad_Abstract", "Exile_Car_Zamak_Abstract", "Exile_Car_HEMMT_Abstract", "Exile_Car_Tempest_Abstract","Exile_Chopper_Huron_Abstract","Exile_Chopper_Mohawk_Abstract"};

            class Exile_Car_Van_Abstract
            {
                attachPosition[] = {0, -1.1, 0.2};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0, -4.4};
            };

            class Exile_Car_Offroad_Abstract
            {
                attachPosition[] = {0, -1.6, 0.4};
                cargoIndizes[] = {1, 2, 3, 4};
                detachPosition[] = {0, -4};
            };

            class Exile_Car_Zamak_Abstract
            {
                attachPosition[] = {0.03, 0.3, 0};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0.03, -4.8};
            };

            class Exile_Car_HEMMT_Abstract
            {
                attachPosition[] = {0.05, -0.1, 0.3};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -6.1};
            };

            class Exile_Car_Tempest_Abstract
            {
                attachPosition[] = {0.08, -0.85, 0.4};
                cargoIndizes[] = {1, 6, 7, 9};
                detachPosition[] = {0.08, -6};
            };
            
            class Exile_Chopper_Huron_Abstract
            {
                attachPosition[] = {-0.05, -2.6, -1.2};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -8.1};
            };
            class Exile_Chopper_Mohawk_Abstract
            {
                attachPosition[] = {-0.05, -3, -1.2};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -8.1};
            };
        };
        class O_supplyCrate_F
        {
            vehicles[] = {"Exile_Car_Van_Abstract", "Exile_Car_Offroad_Abstract", "Exile_Car_Zamak_Abstract", "Exile_Car_HEMMT_Abstract", "Exile_Car_Tempest_Abstract","Exile_Chopper_Huron_Abstract","Exile_Chopper_Mohawk_Abstract"};

            class Exile_Car_Van_Abstract
            {
                attachPosition[] = {0, -1.1, 0.2};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0, -4.4};
            };

            class Exile_Car_Offroad_Abstract
            {
                attachPosition[] = {0, -1.6, 0.4};
                cargoIndizes[] = {1, 2, 3, 4};
                detachPosition[] = {0, -4};
            };

            class Exile_Car_Zamak_Abstract
            {
                attachPosition[] = {0.03, 0.3, 0};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0.03, -4.8};
            };

            class Exile_Car_HEMMT_Abstract
            {
                attachPosition[] = {0.05, -0.1, 0.3};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -6.1};
            };

            class Exile_Car_Tempest_Abstract
            {
                attachPosition[] = {0.08, -0.85, 0.4};
                cargoIndizes[] = {1, 6, 7, 9};
                detachPosition[] = {0.08, -6};
            };
            
            class Exile_Chopper_Huron_Abstract
            {
                attachPosition[] = {-0.05, -2.55, -1.2};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -8.1};
            };
            class Exile_Chopper_Mohawk_Abstract
            {
                attachPosition[] = {-0.05, -2.8, -1.2};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -8.1};
            };
        };
        
        ///////Added for CargoNet_01_box_F and SDVs; ideal for underwater missions!
        
        class CargoNet_01_box_F
        {
            vehicles[] = {"B_SDV_01_F", "O_SDV_01_F", "I_SDV_01_F", "Exile_Boat_SDV_CSAT", "Exile_Boat_SDV_Digital", "Exile_Boat_SDV_Grey",};

            class B_SDV_01_F_Abstract
            {
                attachPosition[] = {0, -1.1, 0.2};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0, -4.4};
            };

            class O_SDV_01_F_Abstract
            {
                attachPosition[] = {0, -1.6, 0.4};
                cargoIndizes[] = {1, 2, 3, 4};
                detachPosition[] = {0, -4};
            };

            class I_SDV_01_F_Abstract
            {
                attachPosition[] = {0.03, 0.3, 0};
                cargoIndizes[] = {2, 3, 4, 5, 6, 7};
                detachPosition[] = {0.03, -4.8};
            };

            class Exile_Boat_SDV_CSAT_Abstract
            {
                attachPosition[] = {0.05, -0.1, 0.3};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -6.1};
            };

            class Exile_Boat_SDV_Digital_Abstract
            {
                attachPosition[] = {0.08, -0.85, 0.4};
                cargoIndizes[] = {1, 6, 7, 9};
                detachPosition[] = {0.08, -6};
            };
            
            class Exile_Boat_SDV_Grey_Abstract
            {
                attachPosition[] = {-0.05, -2.55, -1.2};
                cargoIndizes[] = {1, 2, 8, 9};
                detachPosition[] = {0.05, -8.1};
            };
            
        };
    };

    This would greatly help me. :D

     

     

     

    1. Show previous comments  7 more
    2. 5niper

      5niper

      hmmm. maybe that explains why I wasn't getting any menu options. :D

      I'm getting nowhere fast with this. I am contemplating adding back R3F, only for the feature of transporting cargo boxes,
      as it's the most aesthetically pleasing way. Love the way it's "inside" the vehicle (view vehicle contents). And the animation
      to unload it, and move it, and place it down where you want it.

       

       

    3. Bulleit

      Bulleit

      Yeah, that's probably the easiest option.

      I ended up just switching every crate in the game to Exile_Container_SupplyBox (replaced all mission boxes etc), and adding all vehicles (including CUP vehicles) to cfgVehicleTransport, since I didn't want to risk any lag overhead from R3F. So far working pretty well.

    4. 5niper

      5niper

      Maybe someone with the right knowledge of coding will come along and create a stand alone "crate script" that does what the R3F feature does for
      loading and unloading crates.

      I decided to ditch the whole R3F idea altogether. I'm using my underwater map edits, and incorporating them with the DMS underwater_stash mission. The idea of having the loot in an SDV that is inaccessible until the mission is over, works great. Currently, redoing all his coords for that mission, to move it and all the ai from it to the location on Altis where I did the underwater map edits. :D

    5. Show next comments  3 more