Vehicle_Customizer_Jonzie_Edition
Vehicle Customizer Jonzie Edition
This mod will only work with Jonzie Car Pack Vehicles
To be customized the vehicle must be within 5 meters of the following class :
"Land_i_Garage_V1_F"
"Land_i_Garage_V2_F"
"Land_CarService_F"
"Land_i_Shed_Ind_F"
If you to add the Customize action to a vehicle when creating it from a script use this line :
init="this addAction [""Customize"",""_this call mjqc_fnc_VCCustomize"",nil,0,false,true,"""",""(_target distance _this < 5) && (_target call mjqc_fnc_VCCondition)""];";
If you to add the Customize action to a vehicle when creating it in the Editor use this line :
Vehicle INIT field :
this addAction ["Customize","_this call mjqc_fnc_VCCustomize",nil,0,false,true,"","(_target distance _this < 5) && (_target call mjqc_fnc_VCCondition)"];
If you want to add the feature to an Exile server use these instructions :
– Add the following block at the end of the "class Car >> class Actions" of the mission config.cpp file
class Customize: ExileAbstractAction
{
title = "Customize";
condition = "(call ExileClient_object_vehicle_interaction_show) && (call mjqc_fnc_VCCondition)";
action = "_this call mjqc_fnc_VCCustomize";
};
– Also place the same block in the "Class Tank" and "Class Air" if you want those type to be customizable.
If you want to call the command directly use this line :
_this call mjqc_fnc_VCCustomize
*_this being the vehicle object.
// Created By Patrix87
// Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)