Sign in to follow this  
DivineHoliness

Blackfish unable to repair with tape

13 posts in this topic

Advertisement
54 minutes ago, John Lemon said:

there must be a way to repair this vehicle!!!

 

Any Ideas???? someone??

Does the repair option show up and it doesn't work, or does it not show up at all?

 

*Edited because I'm illiterate and just had to read the OP*

Edited by brawnkoh

Share this post


Link to post
Share on other sites
38 minutes ago, brawnkoh said:

Does the repair option show up and it doesn't work, or does it not show up at all?

Just investigated it a bit further. It's telling you it's too far away. My guess is the radius for the repair range is too small. This is located in ExileClient_Action_repairVehicle_condition.sqf (In the client files).

Quick fix solution

To change this extract the exile_client PBO copy all the code from ExileClient_action_repairVehicle_condition.sqf  add it to your mission file under fixes/repairFix.sqf (or wherever you want to put it for that matter).

Then edit this section of your new file:

if ((_vehicle distance player) > 5) then 
    {
        throw "You are too far away!";
    };

You'd want to increase 5 as this is the distance allowed.

Next you'll want to edit your config.cpp in your mission file to overwrite the client file.

class CfgExileCustomCode 
{
     ExileClient_action_repairVehicle_condition = "fixes\repairFix.sqf";
};

Hypothetically increasing the distance should stop the issue until it's fixed by the big dogs. I don't have blackfish on my server, so I'm not going to test it. However, this is going to increase the repair distance on all of your vehicles, not just the blackfish. Ideally you'd want to create a specific exception for the blackfish since that's the only vehicle it's for.

Edited by brawnkoh

Share this post


Link to post
Share on other sites

I'd add a step in there to determine if the cursorTarget is a blackfish, then extend the range.  That way you're not repairing smaller vehicles from really far away.

Share this post


Link to post
Share on other sites
7 minutes ago, Apoc said:

I'd add a step in there to determine if the cursorTarget is a blackfish, then extend the range.  That way you're not repairing smaller vehicles from really far away.

^this

Share this post


Link to post
Share on other sites

Hi everyone ,thanks brawnkoh and Apoc for the tips but we have the same probleme

and i dont know how write it .

can you post the step to add in the ExileClient_action_repairVehicle_condition.SQF ?

 

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  

  • Recently Browsing   0 members

    No registered users viewing this page.