• 0
Sign in to follow this  
Boewi91

Can´t repair Tanks with Ducttape

Question

Hello, since the tanks DLC i can´t repair any tank with ducttape, i have the topic "repair" in the dropdown menu, but if i select it nothing happens, no animation, no note or errormessage. when i try to repair a car, jet or chopper it works. can somebody help me please?

Share this post


Link to post
Share on other sites

4 answers to this question

  • 0

Hello @Boewi91,

Without taking my own files apart, there is a config file which list which vehicles can be repaired.

#1 - Get that file name (use search for vehicle name OR duct tape)

#2 - Get class name(s) of the tanks

#3 - Add those class names to that config file

Done!

:)

Share this post


Link to post
Share on other sites
  • 0
19 hours ago, Boewi91 said:

Hello, since the tanks DLC i can´t repair any tank with ducttape, i have the topic "repair" in the dropdown menu, but if i select it nothing happens, no animation, no note or errormessage. when i try to repair a car, jet or chopper it works. can somebody help me please?

in config.cpp in your mission file
In class CfgInteractionMenus you need a tank class. Copy all of class Car and paste it underneath, then change car to tank, i've included it in a spoiler below so you can copy pasta it
 

Spoiler

class Tank 
	{
		targetType = 2;
		target = "Tank";

		class Actions 
		{
			class ScanLock: ExileAbstractAction
			{
				title = "Scan Lock";
				condition = "('Exile_Item_ThermalScannerPro' in (magazines player)) && !ExilePlayerInSafezone && ((locked ExileClientInteractionObject) != 1)";
				action = "_this call ExileClient_object_lock_scan";
			};

			// Locks a vehicle
			class Lock: ExileAbstractAction
			{
				title = "Lock";
				condition = "((locked ExileClientInteractionObject) isEqualTo 0) && ((locked ExileClientInteractionObject) != 1)";
				action = "true spawn ExileClient_object_lock_toggle";
			};

			// Unlocks a vehicle
			class Unlock: ExileAbstractAction
			{
				title = "Unlock";
				condition = "((locked ExileClientInteractionObject) isEqualTo 2) && ((locked ExileClientInteractionObject) != 1)";
				action = "false spawn ExileClient_object_lock_toggle";
			};

			// Repairs a vehicle to 100%. Requires Duckttape
			class Repair: ExileAbstractAction
			{
				title = "Repair";
				condition = "true";
				action = "['RepairVehicle', _this select 0] call ExileClient_action_execute";
			};

			// Hot-wires a vehicle
			class Hotwire: ExileAbstractAction
			{
				title = "Hotwire";
				condition = "((locked ExileClientInteractionObject) isEqualTo 2) && ((locked ExileClientInteractionObject) != 1)";
				action = "['HotwireVehicle', _this select 0] call ExileClient_action_execute";
			};

			// Flips a vehicle so the player doesnt have to call an admin
			// Check if vector up is fucked
			class Flip: ExileAbstractAction
			{
				title = "Flip";
				condition = "call ExileClient_object_vehicle_interaction_show";
				action = "_this call ExileClient_object_vehicle_flip";
			};

			// Fills fuel from a can into a car
			class Refuel: ExileAbstractAction
			{
				title = "Refuel";
				condition = "call ExileClient_object_vehicle_interaction_show";
				action = "_this call ExileClient_object_vehicle_refuel";
			};

			// Drains fuel from a car into an empty jerry can
			class DrainFuel: ExileAbstractAction
			{
				title = "Drain Fuel";
				condition = "call ExileClient_object_vehicle_interaction_show";
				action = "_this call ExileClient_object_vehicle_drain";
			};
		};
	};

 

 

  • Like 1

Share this post


Link to post
Share on other sites
Advertisement
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.