• 0
Vegalyp

Repair Option Not showing Up

Question

So, in the context menu (Middle mouse button) my server cannot get the repair option to show up. (Each time we have made 100% sure the vehicle is damaged and that we have plenty of duct tape. Unfortunately, I just cannot figure out how to get it to show up? I have went through all logs of course, and no errors are being reported.

Share this post


Link to post
Share on other sites

6 answers to this question

  • 1

did you make sure your config.cpp (inside your mission.pbo - for example altis.pbo) has the following classes:

class CfgInteractionMenus
class Car {
        targetType = 2;
        target = "Car";

        class Actions 
        {

            // Repairs a vehicle to 100%. Requires Duckttape
            class Repair: ExileAbstractAction
            {
                title = "Repair";
                condition = "call ExileClient_object_vehicle_interaction_show";
                action = "_this call ExileClient_object_vehicle_Repair";
            };

.........

this classes hold the interaction (mousewheel) menue

Share this post


Link to post
Share on other sites
  • 0
51 minutes ago, Vegalyp said:

So, in the context menu (Middle mouse button) my server cannot get the repair option to show up. (Each time we have made 100% sure the vehicle is damaged and that we have plenty of duct tape. Unfortunately, I just cannot figure out how to get it to show up? I have went through all logs of course, and no errors are being reported.

Do you have any custom addactions to the bike?

Share this post


Link to post
Share on other sites
Advertisement
  • 0

R3F is the only custom vehicle script we are running, and I am certain I do not have it apply to the bike.

Share this post


Link to post
Share on other sites
  • 0

Sorry to perhaps ask the obvious.... I think only the most recent driver can repair. Have you jumped in the driver seat and jumped out, then tried the repair?

Share this post


Link to post
Share on other sites
  • 0

That fixed it, somehow I was missing the car subclass under CFGInteractionMenus, but everything else was there. Not sure how that happened, but thank you guys for that. :D

 

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.