武装突袭3

武装突袭3

评价数不足
Opel Blitz with PAK 40 [SPE, Comp]
   
奖励
收藏
已收藏
取消收藏
Data Type: Composition
Composition Type: AntiTank
Meta: Dependency
文件大小
发表于
18.813 KB
7 月 27 日 上午 6:27
1 项改动说明 ( 查看 )
您需要 DLC 才能使用该物品。

订阅以下载
Opel Blitz with PAK 40 [SPE, Comp]

描述
A semi-realistic variant of the Opel Blitz with a PAK 40 mount. I havent found any pictures with a mounted PAK and I also think after a few shots the car would be damaged, but who cares.

Issues: setturretlimits doesnt work with the PAK, so the barrel can clip through the car. Luckily that doesnt affect shooting.

In an MP scenario, I recommend not using the vehicle init to run the script because for every joining player, the script will run on each machine. Id rather recommend using the initServer.sqf. Not MP tested yet!

Delete the vehicle init code of both the PAK and the vehicle and place the following lines in the initServer.sqf
//VEH = Var of the Halftrack, PAK = Var of the PAK

VEH lockTurret [[0], true];
{VEH animate [_x, 1]}forEach ["OtocHlaven_hide","OtocVez_hide"];

For the PAK: (PAK the defined var of the vehicle)
[PAK, VEH] call BIS_fnc_attachToRelative;
{PAK animate [_x, 1]}forEach ["wheel_1_1_Hide","wheel_2_1_Hide","right_stand_Hide","left_stand_Hide"];