Warsheep

[GUIDE]Mount Supplybox on Helis (tempest/van fix)

9 posts in this topic

Posted (edited)

this enabled Huron mohawk taru for mount a supplybox and fix the tempest/van bug 
in your exile.altis/config.cpp overwrite the class CfgVehicleTransport with my content

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_Taru_Transport_Abstract","Exile_Chopper_Mohawk_FIA","Exile_Chopper_Huron_Abstract"};

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

        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, -4, 0.4};
            cargoIndizes[] = {1, 6, 7, 9}; 
            detachPosition[] = {0, -6, -1.4};
        };
        class Exile_Chopper_Taru_Transport_Abstract
        {
            attachPosition[] = {0, 0.5, -1.5};
            cargoIndizes[] = {1, 6, 7, 9}; 
            detachPosition[] = {0, 0.5, -2};
        };
        class Exile_Chopper_Mohawk_FIA
        {
            attachPosition[] = {0, -0.85, -1.4};
            cargoIndizes[] = {1, 6, 7, 9}; 
            detachPosition[] = {0, -6, -2.7};
        };
        class Exile_Chopper_Huron_Abstract
        {
            attachPosition[] = {0, -4.4, -1};
            cargoIndizes[] = {1, 6, 7, 9}; 
            detachPosition[] = {0, -8, -2.3};
        };
    };
};

have fun

 

Download GUIDE

20160518211243_1.jpg

20160518211252_1.jpg

20160518211259_1.jpg

20160518211308_1.jpg

Edited by Warsheep
4 people like this

Share this post


Link to post
Share on other sites

Any chance to have them drop from the heli's and attach a parachute? Like an airdrop?

Share this post


Link to post
Share on other sites
Advertisement

no i just added the helis to the main mount code from exile devs and fixed the tempest position

 

Share this post


Link to post
Share on other sites

what would be a good method of getting the position on the vehicle? I set them for urals but I just copied over one of the other trucks then kept adjusting the coords until it was right, has to be a better way lol

Share this post


Link to post
Share on other sites
On 9/11/2016 at 8:50 AM, Crazy Mike said:

what would be a good method of getting the position on the vehicle? I set them for urals but I just copied over one of the other trucks then kept adjusting the coords until it was right, has to be a better way lol

@Crazy Mike

Would you be willing to share what you came up with for the Urals? I'm not looking forward to the hard way.

1 person likes this

Share this post


Link to post
Share on other sites
Spoiler

class Exile_Car_Ural_Covered_Worker
        {
            attachPosition[] = {0.05, -2.2, 0.1};
            cargoIndizes[] = {1, 6, 7, 9}; 
            detachPosition[] = {0.08, -6};
        };
        
        class Exile_Car_Ural_Covered_Blue
        {
            attachPosition[] = {0.05, -2.2, 0.1};
            cargoIndizes[] = {1, 6, 7, 9}; 
            detachPosition[] = {0.08, -6};
        };
        
        class Exile_Car_Ural_Covered_Yellow
        {
            attachPosition[] = {0.05, -2.2, 0.1};
            cargoIndizes[] = {1, 6, 7, 9}; 
            detachPosition[] = {0.08, -6};
        };
        
        class Exile_Car_Ural_Covered_Military
        {
            attachPosition[] = {0.05, -2.2, 0.1};
            cargoIndizes[] = {1, 6, 7, 9}; 
            detachPosition[] = {0.08, -6};
        };
        
        class Exile_Car_Ural_Open_Blue
        {
            attachPosition[] = {0.05, -2.2, 2.3};
            cargoIndizes[] = {1, 6, 7, 9}; 
            detachPosition[] = {0.08, -6};
        };
        
        class Exile_Car_Ural_Open_Yellow
        {
            attachPosition[] = {0.05, -2.2, 2.3};
            cargoIndizes[] = {1, 6, 7, 9}; 
            detachPosition[] = {0.08, -6};
        };
        
        class Exile_Car_Ural_Open_Worker
        {
            attachPosition[] = {0.05, -2.2, 2.3};
            cargoIndizes[] = {1, 6, 7, 9}; 
            detachPosition[] = {0.08, -6};
        };
        
        class Exile_Car_Ural_Open_Military
        {                                 
            attachPosition[] = {0.05, -2.2, 2.3};
            cargoIndizes[] = {1, 6, 7, 9}; 
            detachPosition[] = {0.08, -6};
        };

 

2 people like this

Share this post


Link to post
Share on other sites
On 11.9.2016 at 3:50 PM, Crazy Mike said:

what would be a good method of getting the position on the vehicle? I set them for urals but I just copied over one of the other trucks then kept adjusting the coords until it was right, has to be a better way lol

i do it the selm way but i do it in vr with the debugconsole, and changed the coords onfly 

1 person likes this

Share this post


Link to post
Share on other sites

For anyone wondering how to test out attach positions.

Fire up the editor. jump into the VR map. and try this.  i just threw it together for this purpose. i'm trying to jury-rig a quick and dirty cfg for all the cup vehicles that i use.

just change _vehicleType to whatever car/truck you're testing.
change _testAttPos to whatever co-ords you're trying. the 3rd element is height.

player setDir 270;
_vehicleType = "Exile_Car_Golf_Red";
_testAttPos = [0,-1.4,0.9];
_pos = getPosATL player; 
_newPos = [(_pos select 0) - 10, (_pos select 1), 0];

_testVehicle = createVehicle [_vehicleType, _newPos, [], 0, "NONE"];
_testVehicle setDir 0;
_testVehicle setPosATL _newPos;
_testCrate = createVehicle ["Exile_Container_SupplyBox", [0,0,0], [], 0, "NONE"];
_testCrate attachTo [_testVehicle, _testAttPos];

copy/paste the code into the debug console. if it looks good. then use those coords in your cfgvehiclestransport section of config.cpp like so...

wt1OYWB.png

have fun testing.

UcORzyC.png

3 people like this

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.