mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Explosives - SOG Compat - Fix Spiked ammo box placing wrong ammo type (#8914)
* Explosives - SOG Compat - Fix Spiked ammo box placing wrong ammo type * Add vn_pavn_ammo pDrive dummy file
This commit is contained in:
parent
ef651091fe
commit
c66304daf9
@ -171,6 +171,18 @@ class vn_mine_m112_remote_mag: vn_mine_m18_mag {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Spiked ammo box
|
||||||
|
class vn_mine_ammobox_range_mag: vn_mine_m18_mag {
|
||||||
|
EGVAR(explosives,SetupObject) = QEXPLOSIVES_PLACE(ammobox_range);
|
||||||
|
|
||||||
|
class ACE_Triggers {
|
||||||
|
SupportedTriggers[] = {"PressurePlate"};
|
||||||
|
class PressurePlate {
|
||||||
|
digDistance = 0.01;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
// Punji large
|
// Punji large
|
||||||
class vn_mine_punji_01_mag: vn_mine_m18_mag {
|
class vn_mine_punji_01_mag: vn_mine_m18_mag {
|
||||||
EGVAR(explosives,SetupObject) = QEXPLOSIVES_PLACE(punji_01);
|
EGVAR(explosives,SetupObject) = QEXPLOSIVES_PLACE(punji_01);
|
||||||
|
@ -111,6 +111,18 @@ class EXPLOSIVES_PLACE(m112): EGVAR(explosives,Place) {
|
|||||||
model = "\vn\weapons_f_vietnam\mines\m112\vn_mine_m112_mag";
|
model = "\vn\weapons_f_vietnam\mines\m112\vn_mine_m112_mag";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Spiked ammo box
|
||||||
|
class EXPLOSIVES_PLACE(ammobox_range): EGVAR(explosives,Place) {
|
||||||
|
displayName = "$STR_VN_MINE_AMMOBOX_RANGE_MAG_DN";
|
||||||
|
model = "\vn\objects_f_vietnam\supply\a2_ammo\pavn\vn_pavn_ammo";
|
||||||
|
|
||||||
|
class ACE_Actions: ACE_Actions {
|
||||||
|
class ACE_MainActions: ACE_MainActions {
|
||||||
|
position = "[0, 0, 0.3]";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
// Punji large
|
// Punji large
|
||||||
class EXPLOSIVES_PLACE(punji_01): EGVAR(explosives,Place) {
|
class EXPLOSIVES_PLACE(punji_01): EGVAR(explosives,Place) {
|
||||||
displayName = "$STR_VN_MINE_PUNJI_01_MAG_DN";
|
displayName = "$STR_VN_MINE_PUNJI_01_MAG_DN";
|
||||||
|
Loading…
Reference in New Issue
Block a user