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:
Filip Maciejewski 2022-05-16 01:48:39 +02:00 committed by GitHub
parent ef651091fe
commit c66304daf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 0 deletions

View File

@ -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
class vn_mine_punji_01_mag: vn_mine_m18_mag {
EGVAR(explosives,SetupObject) = QEXPLOSIVES_PLACE(punji_01);

View File

@ -111,6 +111,18 @@ class EXPLOSIVES_PLACE(m112): EGVAR(explosives,Place) {
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
class EXPLOSIVES_PLACE(punji_01): EGVAR(explosives,Place) {
displayName = "$STR_VN_MINE_PUNJI_01_MAG_DN";