Window damage
I cannot register damage on windows. Help.

create an entity group named windows and then add the prefabs for each window in the entity group. use the /tpve_prod command on the window to get the prefab name. then make a rule to allow the damage.

    {
      "name": "windows",
      "members": "shutter.wood.a, wall.window.glass.reinforced, shutter.metal.embrasure, wall.window.bars, wall.window, window_frame_decoration",
      "exclusions": ""
    },  ​

then add rule

players can hurt windows
How to completely disable helicopter damage to buildings?
These parameters don't help. What needs to be fixed here? Thank you.
**********
{
"Config Version": "2.0.6",
"Default RuleSet": "default",
"Configuration Options": {
"handleDamage": true,
"useZones": true,
"Trace To Player Console": false,
"Trace To Server Console": false,
"Maximum Distance From Player To Trace": 0.0
},
"Mappings": {
"default": "default"
},
"Schedule": {
"enabled": false,
"useRealtime": false,
"broadcast": false,
"entries": []
},
"RuleSets": [
{
"name": "default",
"enabled": true,
"defaultAllowDamage": true,
"flags": "HumanNPCDamage, SamSitesIgnorePlayers, TwigDamage, HeliDamageLocked, SelfDamage, TwigDamage",
"rules": [
"anything can hurt dispensers",
"anything can hurt resources",
"anything can hurt barricades",
"anything can hurt traps",
"anything can hurt heli",
"anything can hurt npcs",
"anything can hurt players",
"nothing can hurt ch47",
"nothing can hurt cars",
"nothing can hurt mini",
"nothing can hurt ridablehorses",
"cars cannot hurt anything",
"mini cannot hurt anything",
"ch47 cannot hurt anything",
"scrapheli cannot hurt anything",
"heli cannot hurt anything",
"nothing can hurt buildings",
"players cannot hurt players",
"players can hurt traps",
"guards can hurt players",
"players can hurt guards",
"fire cannot hurt players",
"players cannot hurt buildings",
"traps can hurt players",
"highwalls cannot hurt players",
"barricades can hurt players",
"mini cannot hurt mini",
"npcs can hurt players",
"junkyard can hurt anything",
"junkyard can hurt cars"
]
}
],
"Entity Groups": [
{
"name": "barricades",
"members": "Barricade, icewall, GraveYardFence, barricade.concrete, barricade.sandbags, barricade.metal, barricade.stone, barricade.wood, barricade.woodwire",
"exclusions": ""
},
{
"name": "dispensers",
"members": "BaseCorpse, HelicopterDebris, PlayerCorpse, NPCPlayerCorpse, HorseCorpse",
"exclusions": ""
},
{
"name": "fire",
"members": "FireBall, FlameExplosive, FlameThrower, BaseOven, FlameTurret, rocket_heli_napalm, napalm, oilfireball2",
"exclusions": ""
},
{
"name": "guards",
"members": "bandit_guard, scientistpeacekeeper, sentry.scientist.static",
"exclusions": ""
},
{
"name": "heli",
"members": "BaseHelicopter",
"exclusions": ""
},
{
"name": "highwalls",
"members": "SimpleBuildingBlock, wall.external.high.ice, gates.external.high.stone, gates.external.high.wood",
"exclusions": ""
},
{
"name": "buildings",
"members": "wall, wall.frame, wall.half, wall.doorway, wall.window, roof, roof.triangle, foundation, foundation.steps, a.ramp, foundation.triangle, staircases, u.shaped.stairs, stairs.l.shape stairs.spiral, stairs.spiral.triangle, floor.frame, floor.triangle.frame, floor, floor.triangle",
"exclusions": ""
},
{
"name": "ridablehorses",
"members": "RidableHorse",
"exclusions": ""
},
{
"name": "cars",
"members": "BasicCar, ModularCar, BaseModularVehicle, BaseVehicleModule, VehicleModuleEngine, VehicleModuleSeating, VehicleModuleStorage, VehicleModuleTaxi, ModularCarSeat",
"exclusions": ""
},
{
"name": "mini",
"members": "minicopter.entity",
"exclusions": ""
},
{
"name": "scrapheli",
"members": "ScrapTransportHelicopter",
"exclusions": ""
},
{
"name": "ch47",
"members": "ch47.entity",
"exclusions": ""
},
{
"name": "npcs",
"members": "ch47scientists.entity, BradleyAPC, HumanNPC, NPCPlayer, ScientistNPC, TunnelDweller, SimpleShark, UnderwaterDweller, Zombie, ZombieNPC",
"exclusions": ""
},
{
"name": "players",
"members": "BasePlayer, FrankensteinPet",
"exclusions": ""
},
{
"name": "resources",
"members": "ResourceEntity, TreeEntity, OreResourceEntity, LootContainer",
"exclusions": "hobobarrel.deployed"
},
{
"name": "samsites",
"members": "sam_site_turret_deployed",
"exclusions": "sam_static"
},
{
"name": "traps",
"members": "AutoTurret, BearTrap, FlameTurret, Landmine, GunTrap, ReactiveTarget, TeslaCoil, spikes.floor",
"exclusions": ""
},
{
"name": "junkyard",
"members": "magnetcrane.entity, carshredder.entity",
"exclusions": ""
}
],
"Allow Killing Sleepers": false
}

use the default config. this should never be set true on a pve server:

"defaultAllowDamage": true,
Hello. Found a problem with MLRS. Plugin version 2.5. her damage doesn't go away.
 with the plugin version 2.6, no matter how I prescribe. damage to the building 
and other objects from MLRS will still be. How to fix it. Thank you. By script. 
It doesn't matter which mode I set to ("defaultAllowDamage") true or false.
 the damage still goes through. I am attaching the config.

 

 

{
"Config Version": "2.0.6",
"Default RuleSet": "default",
"Configuration Options": {
"handleDamage": true,
"useZones": true,
"Trace To Player Console": false,
"Trace To Server Console": false,
"Maximum Distance From Player To Trace": 0.0
},
"Mappings": {
"default": "default"
},
"Schedule": {
"enabled": false,
"useRealtime": false,
"broadcast": false,
"entries": []
},
"RuleSets": [
{
"name": "default",
"enabled": true,
"defaultAllowDamage": true,
"flags": "HumanNPCDamage, TwigDamage, HeliDamageLocked, SelfDamage, TwigDamage, AnimalsIgnoreSleepers",
"rules": [
"mlrs cannot hurt buildings",
"nothing can hurt buildings",
"nothing can hurt construction",
"nothing can hurt highwalls",
"nothing can hurt window",
"nothing can hurt electrical",
"nothing can hurt cars",
"nothing can hurt scrapheli",
"nothing can hurt mini",
"anything can hurt door",
"anything can hurt barricades",
"anything can hurt traps",
"anything can hurt guards",
"anything can hurt heli",
"anything can hurt samsites",
"anything can hurt players",
"players can hurt players",
"samsites can hurt scrapheli"
]
}
],
"Entity Groups": [
{
"name": "mlrs",
"members": "MLRSRocket, rocket_mlrs",
"exclusions": ""
},
{
"name": "buildings",
"members": "wall, wall.frame, wall.half, wall.doorway, wall.window, roof, roof.triangle, ramp, foundation, foundation.triangle, block.stair.lshape, block.stair.ushape, block.stair.spiral, block.stair.spiral.triangle, floor.frame, floor.triangle.frame, floor, floor.triangle, wall.low",
"exclusions": "wall.low"
},
{
"name": "window",
"members": "wall.window.bars.wood, wall.window.bars.metal, wall.window.bars.toptier, wall.window.glass.reinforced, shutter.wood.a, shutter.metal.embrasure.a, shutter.metal.embrasure.b",
"exclusions": "wall.window.bars.wood, wall.window.bars.metal, shutter.wood.a, shutter.metal.embrasure.a, shutter.metal.embrasure.b"
},
{
"name": "construction",
"members": "mining.quarry, mining.pumpjack, wall.frame.shopfront.metal, wall.frame.cell, wall.frame.fence, wall.frame.netting, floor.triangle.grill, floor.grill, cupboard.tool.deployed, dropbox.deployed, vendingmachine.deployed, sign.pictureframe.xl, sign.pictureframe.xxl, sign.pictureframe.tall, sign.pictureframe.portrait, sign.pictureframe.landscape, photoframe.large, photoframe.landscape, photoframe.portrait, pookie.bear, reactivetarget_deployed, water_catcher_large, water_catcher_small",
"exclusions": "cupboard.tool.deployed"
},
{
"name": "highwalls",
"members": "wall.external.high.wood, wall.external.high.stone, wall.external.high.ice, icewall, graveyardfence",
"exclusions": ""
},
{
"name": "electrical",
"members": "hbhfsensor.deployed, electric.blocker.deployed, electric.windmill.small, fluidsplitter, electrical.combiner.deployed, elevator, pressurepad.deployed, xorswitch.entity, splitter, medium.rechargable.battery.deployed, timer, fluidswitch, poweredwaterpurifier.deloyed, electrical.random.switch.deployed, sign.neon.xl.animated, water.pump.deployed, audioalarm, smallrechargablebattery.deployed, computerstation.deployed, sign.neon.xl, switch, electrical.modularcarlift.deployed, industrial.wall.lamp.deployed, rfbroadcaster, xmas.advanced.lights.deployed, sign.neon.125x215.animated, electrical.memorycell.deployed, generator.small, solarpanel.large.deployed, igniter.deployed, doorcontroller.deployed, small_fuel_generator.deployed, sign.neon.125x125, andswitch.entity, searchlight.deployed, industrial.wall.lamp.green.deployed, rfreceiver, electric.sirenlight.deployed, counter, smartalarm, electrical.heater, large.rechargable.battery.deployed, button, laserdetector, electric.flasherlight.deployed, sign.neon.125x215, orswitch.entity, ceilinglight.deployed, industrial.wall.lamp.red.deployed, electric.sprinkler.deployed, fluid.combiner.deployed, storagemonitor.deployed, smartswitch, electrical.branch.deployed, wiretool, hosetool",
"exclusions": "elevator, computerstation.deployed"
},
{
"name": "mini",
"members": "minicopter.entity",
"exclusions": ""
},
{
"name": "players",
"members": "BasePlayer, FrankensteinPet",
"exclusions": ""
},
{
"name": "ammunition",
"members": "ammo.grenadelauncher.smoke, ammo.nailgun.nails, ammo.rocket.sam, ammo.rifle.incendiary, ammo.pistol.fire, ammo.rocket.smoke, ammo.handmade.shell, ammo.grenadelauncher.buckshot, arrow.wooden, arrow.bone, ammo.rifle.explosive, ammo.pistol.hv, ammo.rocket.fire, arrow.hv, ammo.grenadelauncher.he, ammo.shotgun, arrow.fire, ammo.rifle.hv, ammo.shotgun.slug, ammo.rocket.hv, submarine.torpedo.straight, speargun.spear, ammo.shotgun.fire, ammo.rifle, ammo.pistol, ammo.rocket.basic, ammo.rocket.mlrs, grenade.f1, snowball, grenade.beancan, explosive.satchel, explosive.timed",
"exclusions": ""
},
{
"name": "cars",
"members": "1module_engine, 1module_cockpit_with_engine, 1module_rear_seats, 1module_taxi, electrical.modularcarlift.deployed, 1module_cockpit, 1module_cockpit_armored, 1module_passengers_armored, 2module_passengers, 2module_fuel_tank, 2module_camper, 1module_flatbed, 2module_flatbed",
"exclusions": ""
},
{
"name": "door",
"members": "gates.external.high.wood, gates.external.high.stone, door.hinged.eood, door.hinged.metal, door.hinged.industrial.d, door.hinged.toptier, door.double.hinged.wood, door.double.hinged.metal, door.double.hinged.toptier, wall.frame.garagedoor, wall.frame.shopfront, wall.frame.fence.gate, wall.frame.cell.gate, floor.triangle.ladder.hatch, floor.ladder.hatch",
"exclusions": ""
},
{
"name": "barricades",
"members": "barricade.woodwire, barricade.wood, barricade.metal, barricade.sandbags, barricade.stone, barricade.concrete",
"exclusions": ""
},
{
"name": "traps",
"members": "autoturret, trap.bear, flameturret, trap.landmine, guntrap, electric.teslacoil, spikes.floor",
"exclusions": ""
},
{
"name": "fire",
"members": "Fire",
"exclusions": ""
},
{
"name": "guards",
"members": "bandit_guard, scientistpeacekeeper, sentry.scientist.static",
"exclusions": ""
},
{
"name": "heli",
"members": "BaseHelicopter",
"exclusions": ""
},
{
"name": "scrapheli",
"members": "ScrapTransportHelicopter",
"exclusions": ""
},
{
"name": "samsites",
"members": "samsite",
"exclusions": ""
}
],
"Allow Killing Sleepers": false
}

 
Значок "Проверено сообществом"
 
 
 
 
 
Locked