武装突袭3

武装突袭3

评价数不足
Vehicle_Customizer
   
奖励
收藏
已收藏
取消收藏
Data Type: Mod, Server
Mod Type: Mechanics
文件大小
发表于
69.645 KB
2016 年 2 月 19 日 上午 9:28
1 项改动说明 ( 查看 )

订阅以下载
Vehicle_Customizer

描述
Vehicle Customizer

To be customized the vehicle must be within 5 meters of the following class :

Air Vehicles

"Land_TentHangar_V1_F"
"Land_Hangar_F"

Other Vehicles

"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 CustomizeVehicle",nil,0,false,true,"","(_target distance _this < 5) && (_target call CustomizeCondition)"];

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)
12 条留言
juanjosemoreno199014 2021 年 11 月 29 日 下午 3:39 
What a shame, I imagined being able to customize the weapons for the EFT style missions, being able to change grips, butts, slanted sights, well anyway thank you very much for answering
Patrix  [作者] 2021 年 11 月 29 日 下午 3:29 
@juanjosemoreno199014 ... This plugin was posted 5 years ago. I'm not going to make anything related to that anymore ...
juanjosemoreno199014 2021 年 11 月 29 日 下午 3:12 
Hello, Very good, I would like to ask a question a little from ignorance, could you make a menu similar to this but to customize weapons? An Escape From Tarkov style?
Karistus 2017 年 7 月 26 日 下午 2:41 
i did but thanks for the heads up, it's sad that this no longer works
Patrix  [作者] 2017 年 7 月 25 日 下午 8:51 
Well it did work at some point.

And you also need to read the instructions.
Karistus 2017 年 7 月 25 日 下午 7:24 
won't work, i have tried many times
Sven 2016 年 6 月 30 日 上午 8:28 
ou okay thank u
Patrix  [作者] 2016 年 6 月 30 日 上午 8:19 
@svenhappenhofer you need to initialize the menu with the instructions above. Once the init code is in place if you're parked in a garage it should be part of the scroll wheel menu.
Sven 2016 年 6 月 30 日 上午 5:37 
i dont understand how i can open that menü
Two-Snecc 2016 年 6 月 20 日 上午 11:25 
thx