casing drop sound, moved to bluefor, fixed not showing "load" text
This commit is contained in:
@@ -28,6 +28,7 @@ params ["_arty"];
|
|||||||
|
|
||||||
// tbd_mortars_105mm_casing_spent
|
// tbd_mortars_105mm_casing_spent
|
||||||
private _spawnPoint = _arty modelToWorldVisual (_arty selectionPosition ["casing_spawn", "Memory"]);
|
private _spawnPoint = _arty modelToWorldVisual (_arty selectionPosition ["casing_spawn", "Memory"]);
|
||||||
|
private _soundPos = _arty modelToWorldVisual (_arty selectionPosition ["casing_hit", "Memory"]);
|
||||||
private _dirAndUp = _arty selectionVectorDirAndUp ["casing_spawn", "Memory"];
|
private _dirAndUp = _arty selectionVectorDirAndUp ["casing_spawn", "Memory"];
|
||||||
|
|
||||||
_dirAndUp set [0, _arty vectorModelToWorld _dirAndUp#0];
|
_dirAndUp set [0, _arty vectorModelToWorld _dirAndUp#0];
|
||||||
@@ -41,3 +42,4 @@ _casing allowDamage false;
|
|||||||
|
|
||||||
// Add vertical force to the magazine
|
// Add vertical force to the magazine
|
||||||
[{params ["_casing"]; _casing addForce [_casing vectorModelToWorld [0, -100, 0], [0, 0, 0]];}, [_casing]] call CBA_fnc_execNextFrame;
|
[{params ["_casing"]; _casing addForce [_casing vectorModelToWorld [0, -100, 0], [0, 0, 0]];}, [_casing]] call CBA_fnc_execNextFrame;
|
||||||
|
playsound3D [QPATHTOF(TBD_M119\sounds\casing_drop.ogg), _casing, false, _soundPos , 5, 1, 30, 0.5];
|
||||||
|
|||||||
@@ -27,8 +27,8 @@ class CfgVehicles {
|
|||||||
model = QPATHTOF(TBD_M119\TBD_M119);
|
model = QPATHTOF(TBD_M119\TBD_M119);
|
||||||
editorPreview = QPATHTOF(TBD_M119\data\preview.jpg);
|
editorPreview = QPATHTOF(TBD_M119\data\preview.jpg);
|
||||||
picture = QPATHTOF(TBD_M119\data\M119_icon.paa);
|
picture = QPATHTOF(TBD_M119\data\M119_icon.paa);
|
||||||
side = 0;
|
side = 1;
|
||||||
faction = "BLU_G_F";
|
faction = "BLU_T_F";
|
||||||
crew = "B_Soldier_F";
|
crew = "B_Soldier_F";
|
||||||
|
|
||||||
slingLoadCargoMemoryPoints[] = {"sling_point_1", "sling_point_2", "towing_point"};
|
slingLoadCargoMemoryPoints[] = {"sling_point_1", "sling_point_2", "towing_point"};
|
||||||
@@ -295,7 +295,7 @@ class CfgVehicles {
|
|||||||
};
|
};
|
||||||
|
|
||||||
class TBD_Load {
|
class TBD_Load {
|
||||||
isplayName = CSTRING(load);
|
displayName = CSTRING(load);
|
||||||
distance = 1.5;
|
distance = 1.5;
|
||||||
showDisabled=0;
|
showDisabled=0;
|
||||||
exceptions[]={};
|
exceptions[]={};
|
||||||
|
|||||||
Reference in New Issue
Block a user