1. WolfsDarker submitted a new resource:

    Damage Controller - Controls the damage for player, animals, buildings and barricades.

    Read more about this resource...
     
  2. something to increase the number of animals in the map would be great
     
  3. How do I nerf rockets? what setting from explosion value 1.0 should be on for buildings?
     
  4. Is there a way to make it so the damage is applied to buildings only if the player has building privilege.
     
  5. DamageController is not affecting the new building items (Armored Door, Sheet Metal Door, High External Stone Wall, Metal horizontal embrasure, Metal vertical embrasure, window bars and Wood Shutter).
     
  6. Friends , just in the plug-in type -
    String target = entity is BasePlayer ? "player" : entity is Door ? "Armored Door" : entity is BuildingBlock ? "building" : entity is BaseNPC ? "animal" : entity is Barricade ? "barricade" : "none";

    and write in the config
    Code:
          {
            "name": "Armored Door",
            "list": {
              "Generic": 1.0,
              "Hunger": 1.0,
              "Thirst": 1.0,
              "Cold": 1.0,
              "Drowned": 1.0,
              "Heat": 1.0,
              "Bleeding": 1.0,
              "Poison": 1.0,
              "Suicide": 1.0,
              "Bullet": 1.0,
              "Slash": 1.0,
              "Blunt": 1.0,
              "Fall": 1.0,
              "Radiation": 1.0,
              "Bite": 1.0,
              "Stab": 1.0,
              "Explosion": 0.5,
              "RadiationExposure": 1.0,
              "ColdExposure": 1.0,
              "Decay": 1.0,
              "ElectricShock": 1.0
            }
          },
    and damage on all doors will be what you want
     
    Last edited by a moderator: Feb 26, 2017
  7. Where in file do you put ?
    String target = entity is BasePlayer ? "player" : entity is Door ? "Armored Door" : entity is BuildingBlock ? "building" : entity is BaseNPC ? "animal" : entity is Barricade ? "barricade" : "none";
     
  8. Will the windows are not hurt the code is?