Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vanilla gate does not get destroyed, only damaged #2

Open
FlorianSW opened this issue Feb 7, 2022 · 0 comments
Open

Vanilla gate does not get destroyed, only damaged #2

FlorianSW opened this issue Feb 7, 2022 · 0 comments

Comments

@FlorianSW
Copy link

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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant