mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 04:23:13 +03:00
Add Object A2 sensor with light and sound SFX
Added sensor to mission.sqm to trigger Sumrak's custom lighting and sound effects when entering Object A2. The config position in mission.sqm doesn't want to work correctly with the distance command so I used the original position from Sumrak's file. The trigger activates when you get down the ladder about 2 meters.
This commit is contained in:
@@ -551,6 +551,9 @@ if (!isDedicated) then {
|
||||
DZE_EVRBloodLoss = [4000,8000]; // Random number of blood loss if a player does not have an APSI and/or is not inside a building [min, max]. Player will not die, there is a minimum of 1000 after the calculation
|
||||
DZE_EVRSafezoneExempt = true; // Players in safe zones are exempt from the effects of the EVR storms.
|
||||
};
|
||||
|
||||
// Namalsk Object AII Light Intensity
|
||||
DZE_ObjectA2lightIntensity = .10; // (RECOMMENDED VALUE = 0.10, 0 = off (dark), 1 = fully on (not recommended))
|
||||
|
||||
// Garage Door Opener
|
||||
DZE_GarageDoor_Opener = false; // Enables the option to open Garage Doors from the inside of a vehicle.
|
||||
|
||||
@@ -319,7 +319,7 @@ class Mission
|
||||
|
||||
class Sensors
|
||||
{
|
||||
items=4;
|
||||
items=5;
|
||||
#define TRGDEF a=100;b=100;activationBy="WEST";repeating=1;interruptable=1;age="UNKNOWN";class Effects{};
|
||||
class Item0
|
||||
{
|
||||
@@ -356,7 +356,16 @@ class Mission
|
||||
expCond="(player distance zonedock) < 100;";
|
||||
expActiv="[""Dock Trader"",true,""enter""] call player_traderCity;";
|
||||
expDesactiv="[""Dock Trader"",true,""leave""] call player_traderCity;";
|
||||
};
|
||||
};
|
||||
class Item4
|
||||
{
|
||||
position[]={4977.15,4.74,6624.89};
|
||||
TRGDEF
|
||||
name="zoneAII";
|
||||
expCond="(player distance [4977.15,6624.89,0.74293]) < 41;";
|
||||
expActiv="[true,""enter""] call player_objectAII;";
|
||||
expDesactiv="[true,""leave""] call player_objectAII;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class Intro
|
||||
|
||||
Reference in New Issue
Block a user