M6mal

reset vehicle pin codes

12 posts in this topic

i see the new mod has a feature where you can reset vehicle pin codes at the Vehicle & Air Customs Traders but you must know the current pin code or pay a % of the vehicle sale price (configurable).

I want to configure it as it says it's configurable but which file would i need to alter and how. Has anyone else done it yet even

Share this post


Link to post
Share on other sites

I've yet to only see the percentage option you need to pay to change the code in the config files. Feels like something was left out?

Share this post


Link to post
Share on other sites
Advertisement

Pretty sure it's tied to the sell price factor.

Share this post


Link to post
Share on other sites

To set a new pin code for vehicles without to know the old pin you pay a %-factor of the price for a new vehicle. This could be configurate at       mission.pbo/config.cpp

class CfgTrading 
{
	/*
	* This factor defines the difference between sales/purchase price of
	* items and vehicles. It is used if there is no sales price defined
	* in CfgExileArsenal. 
	*/
	sellPriceFactor = 0.5;
	
	rekeyPriceFactor = 0.1;
};

 

Share this post


Link to post
Share on other sites

so i could set this from

rekeyPriceFactor = 0.1;

 

rekeyPriceFactor = 2.0;    to make it not worth selling

Share this post


Link to post
Share on other sites

i tried altering it with success today and i set it to

rekeyPriceFactor = 3.1;

I took my 48k worth of HEMMT to the custom guy and it would cost without a pin (just like a player finding another players unlocked vehicle)  and it said it would cost 148800 to unlock without entering a pin ....... result , thanks CHILL3R

Share this post


Link to post
Share on other sites

now to find a way of disabling the hot wire function

Share this post


Link to post
Share on other sites

To disable hotwiring you just need to comment out/remove the following from the cfgInteractionsMenus in the mission config.cpp:
            // 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";
            };

Share this post


Link to post
Share on other sites

ok which is the correct way to comment out this please

Share this post


Link to post
Share on other sites

/*

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

*/

1 person likes this

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.