• 0
Sign in to follow this  
Followers 0
Alipuh

tracked vehicles

Question

In patch 0.9.4 "Lime" has been corrected -  Added action menus to vehicles of type "Tank" so you can use lock, flip, drain fuel etc

The patch 0.9.41 "Clementine" it does not work (

Can I do something wrong? :(

1 person likes this

Share this post


Link to post
Share on other sites

5 answers to this question

  • 1

I took a piece of code Mr. Skreamer (thanks to him) and placed in a config.cpp

config.cpp open and look for these lines

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

in front of them put this code

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

            class Actions {

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

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

              class Repair: ExileAbstractAction {
              title = "Repair";
              condition = "call ExileClient_object_vehicle_interaction_show";
              action = "_this call ExileClient_object_vehicle_Repair";
            };

              class Flip: ExileAbstractAction {
              title = "Flip";
              condition = "call ExileClient_object_vehicle_interaction_show";
              action = "_this call Exileclient_object_vehicle_flip";
            };

              class Refuel: ExileAbstractAction {
              title = "Refuel";
              condition = "call ExileClient_object_vehicle_interaction_show";
              action = "_this call ExileClient_object_vehicle_refuel";
            };

              class DrainFuel: ExileAbstractAction {
              title = "Drain Fuel";
              condition = "call ExileClient_object_vehicle_interaction_show";
              action = "_this call ExileClient_object_vehicle_drain";
            };
        };
    };

pack your  Exile.Altis.pbo

All is ready!:monkey:

Share this post


Link to post
Share on other sites
Advertisement
  • 0
2 minutes ago, Alipuh said:

I fixed! Thank God!:monkey:

How ?

would you mind sharing?

Thanks

Share this post


Link to post
Share on other sites
  • 0
24 minutes ago, Patrix87 said:

How ?

would you mind sharing?

Thanks

That's what you asked

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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.