DaemonForge/DayZ-BasicTerritories

Vanilla gate does not get destroyed, only damaged

FlorianSW opened this issue · 0 comments

Regarding raiding a vanilla gate with Basic Territories (it has a CodeLock from the CodeLock mod, if that is important to know :P). I added some raidhandlers for the wall_wood_ part of the fence type. However, When I use my spawned-in M4 and shoot the bottom part, it will go to "damaged", but not further, meaning the part is never getting destroyed (never = I stopped after the 12th or so 60Rnd mag).

The log (adm) shows something like this (see attachment). The last damage line:
14:05:09 | [Territories] Source: M4A1_Green from: 6.15839m held by player: <redacted> Zone: Wall_Wood_Down Damage: 34.5859 Current Health: 61.4861
Is basically repeated whenever a bullet hits the gate :/ I'm a bit lost and don't know where the issue is. If anyone could give me a hint, I assume it's just a simple thing I don't see 🙈

The relevant part of the raidhandlers:

        "TypeName": "fence",
        "FireArms": 0.30000001192092898,
        "Melee": 0.10000000149011612,
        "Explosive": 1.0,
        "Other": 0.0,
        "ToolsFirst": 1,
        "PartModifier": [
            {
                "Part": "wall_wood_",
                "Modifier": 1.2000000476837159,
                "WhiteList": [],
                "RequiredDestroyed": []
            },

And the log in the adm:
message.txt

What mods did I use:
"-mod=@CF;@Community-Online-Tools;@Code Lock;@Basic Territories;"

Steps to reproduce:

  • Install the same mods as mentioned above
  • Build a full vanilla gate
  • attach a codelock from the Code Lock mod to it
  • Initialize the codelock with a PIN
  • Spawn in some M4s and 60 Rnd STANAGs
  • Start shooting at the lower-level planks of the gate

Expected bevahiour:

  • After around 2-4 mags (not sure anymore), the gate should be destroyed (aka "raided")

Current behaviour:

  • The gate get's "badly damaged" after some expected mags, however, it stays there, even given you continue to shoot at it. Even after 12 or so mags, the lower-level gate is still there and "damaged"