DirtySanchez

[DPXMU]Mount/Unmount for DMS/VEMF/ZCP Crates + More Vehicles to use it

28 posts in this topic

Posted (edited)

DonkeyPunch eXpanded Mount and Unmount v0.1

I have added all DMS, VEMF, and ZCP crates to the list of Mount and Unmountable crates.
I have also added 2 choppers to the list of vehicles able to utilize this feature :) 
This was added to the DonkeyPunched Addon for Exile as well, but its too good to keep to just that. ENJOY!

If you have any new crates or new vehicles with all positions tested working and want to add to this, let us know!

Installation

In the mission pbo, edit your config.cpp and Make this your new cfgVehicleTransport:

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};
		};
	};
};

 

Edited by DirtySanchez
10 people like this

Share this post


Link to post
Share on other sites
Advertisement
5 minutes ago, ka0s said:

Yet another godlike release @DirtySanchez :rock:

Thanks bud, appreciate your compliments :) 

BTW, if anyone has done any work like this for other crates and/or vehicles and you are willing to share and split credits in the OP. Please PM me with the information to include or post it here with a notification to me so I see it.

Share this post


Link to post
Share on other sites

Love it ! Can't wait to have more vehicles / crate :D I'm not good enough to work on others myself, so I will only hope people who have knowledge will share :D In the mean time, thanks a LOT :D

Share this post


Link to post
Share on other sites

Posted (edited)

Ah, very nice DS, thank you for this.

Edited by Heavy
1 person likes this

Share this post


Link to post
Share on other sites
23 minutes ago, Heavy said:

Ah, very nice DS, thank you for this...

"Dirty, Dirty, Dirty can't you see, sometimes your shiz just hypnotize me, and I just love your HEE HAW ways, I guess that's why other servers sux and yours gets the praise."

well I was only going to include it with my addon but I felt it was too good to keep quiet :)

however those that use my addon will get also the install capability with all these Crates on the next version update

Share this post


Link to post
Share on other sites

Can I use this as a replacement for Igiload?
I'll be honest. I still don't know what exactly Igiload does and if some of the tow/lift functions I've seen is Igi or Exile :P

Share this post


Link to post
Share on other sites

tow and Lift are not a part of exile. hook is built into arma 3. igiload allows configuring of loading and unloading of various things. 

exile has included a mount and unmount system. this in essence is the same type of system as igiload but it is already a part of the mod, whenever you remove mission side scripting it can add performance to the client and/or server. 

I just figure it's a part of exile and let's as a community make it grow, who knows maybe with all of us owners helping out we can get a full list of vehicles and Crates going for all to enjoy and eventually maybe exile will even place all these into the mod itself...

1 person likes this

Share this post


Link to post
Share on other sites

Any way to get it to load more than one crate into a hemtt and other such vehicles? I still have places for crates but can only mount one,

also can we add quad bike being able to be mounted? so can tow one and mount say two ;)

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.