mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-06-13 13:21:57 +03:00
Fix some issues with traps
Removed two unused files. Vanilla commits: https://github.com/DayZMod/DayZ/commit/42e72463a3f3722ad974d50a093b4f57edbf8c00 https://github.com/DayZMod/DayZ/commit/02726fb1923a7354121796a0e306a8ca92cdc42f https://github.com/DayZMod/DayZ/commit/6a7c53ebcf48f6e552bf4d5bb65be07792a0cd92 https://github.com/DayZMod/DayZ/commit/1fb6308995584472b0494a54d211dc5b216bfd98 https://github.com/DayZMod/DayZ/commit/9543ea057f97ba6f1105f6abecaa04e1fe5d4457
This commit is contained in:
@@ -8,7 +8,7 @@ class BearTrap_DZ : TrapItems {
|
||||
model = "\dayz_equip\models\bear_trap.p3d";
|
||||
|
||||
script = "beartrap"; // compiled script variable name (used by server side loop)
|
||||
initState = 0; // initial armed state
|
||||
initState = 0; // initial armed state (>0 is not currently working)
|
||||
singleUse = 0;
|
||||
nounderground = 0;
|
||||
requireplot = 0;
|
||||
@@ -128,7 +128,7 @@ class TrapBearTrapFlare : TrapItems {
|
||||
constructioncount = 1;
|
||||
|
||||
script = "beartrapflare"; // compiled script variable name (used by server side loop)
|
||||
initState = 1; // initial armed state
|
||||
initState = 0; // initial armed state (>0 is not currently working)
|
||||
singleUse = 1; // gets replaced by BearTrap_DZ due to animation issues
|
||||
|
||||
class Eventhandlers {
|
||||
@@ -180,7 +180,7 @@ class TrapBearTrapSmoke : TrapItems {
|
||||
constructioncount = 1;
|
||||
|
||||
script = "beartrapsmoke"; // compiled script variable name (used by server side loop)
|
||||
initState = 1; // initial armed state
|
||||
initState = 0; // initial armed state (>0 is not currently working)
|
||||
singleUse = 1; // gets replaced by BearTrap_DZ due to animation issues
|
||||
|
||||
class Eventhandlers {
|
||||
@@ -230,7 +230,7 @@ class Trap_Cans : TrapItems {
|
||||
nounderground = 0;
|
||||
|
||||
script = "tripcans"; // compiled script variable name (used by server side loop)
|
||||
initState = 1; // initial armed state
|
||||
initState = 0; // initial armed state (>0 is not currently working)
|
||||
singleUse = 0;
|
||||
requireplot = 0;
|
||||
constructioncount = 1;
|
||||
@@ -282,7 +282,7 @@ class TrapTripwireFlare : TrapItems {
|
||||
nounderground = 0;
|
||||
|
||||
script = "tripflare"; // compiled script variable name (used by server side loop)
|
||||
initState = 1; // initial armed state
|
||||
initState = 0; // initial armed state (>0 is not currently working)
|
||||
singleUse = 0;
|
||||
requireplot = 0;
|
||||
constructioncount = 1;
|
||||
@@ -334,8 +334,8 @@ class TrapTripwireGrenade : TrapItems {
|
||||
nounderground = 0;
|
||||
|
||||
script = "tripgrenade"; // compiled script variable name (used by server side loop)
|
||||
initState = 1; // initial armed state
|
||||
singleUse = 1;
|
||||
initState = 0; // initial armed state (>0 is not currently working)
|
||||
singleUse = 0; //Trap can now be rearmed with another grenade
|
||||
requireplot = 0;
|
||||
constructioncount = 1;
|
||||
|
||||
@@ -386,8 +386,8 @@ class TrapTripwireSmoke : TrapItems {
|
||||
nounderground = 0;
|
||||
|
||||
script = "tripsmoke"; // compiled script variable name (used by server side loop)
|
||||
initState = 1; // initial armed state
|
||||
singleUse = 1;
|
||||
initState = 0; // initial armed state (>0 is not currently working)
|
||||
singleUse = 0; //Trap can now be rearmed with another smoke
|
||||
requireplot = 0;
|
||||
constructioncount = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user