What I'm trying to achieve is,
-MLRS can be used on raid bases
-MLRS cannot damage anything else(including players/mounts)
I'm currently using https://pastebin.com/shZvWQya pastebin I found posted on another thread
These are some of the config and the main return I got via tpve.trace
"RuleSets": [
{
"name": "default",
"enabled": true,
"defaultAllowDamage": false,
"flags": "AuthorizedDamage, SelfDamage, CupboardOwnership, TwigDamage, HumanNPCDamage, PlayerSamSitesIgnorePlayers, TrapsIgnorePlayers",
"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",
"anything can hurt ch47",
"anything can hurt cars",
"anything can hurt mini",
"anything can hurt ridablehorses",
"cars cannot hurt anything",
"cars can hurt cars",
"mini cannot hurt anything",
"ch47 cannot hurt anything",
"scrapheli cannot hurt anything",
"scrapheli can hurt scrapheli",
"players cannot hurt players",
"players cannot hurt traps",
"guards cannot hurt players",
"fire can hurt players",
"traps can hurt players",
"highwalls can hurt players",
"barricades can hurt players",
"mini can hurt mini",
"npcs can hurt players",
"junkyard cannot hurt anything",
"junkyard can hurt cars",
"samsites cannot hurt mini",
"samsites cannot hurt heli",
"samsites cannot hurt scrapheli",
"samsites cannot hurt ch47",
"mlrs cannot hurt anything"
]
}
],
"Entity Groups": [
{
"name": "ridablehorses",
"members": "RidableHorse, testridablehorse",
"exclusions": ""
},
{
"name": "cars",
"members": "BasicCar, ModularCar, BaseModularVehicle, BaseVehicleModule, VehicleModuleEngine, VehicleModuleSeating, VehicleModuleStorage, VehicleModuleTaxi, ModularCarSeat, 2module_car, 3module_car, 4module_car",
"exclusions": ""
},
{
"name": "mini",
"members": "minicopter.entity, minicopter",
"exclusions": ""
},
{
"name": "scrapheli",
"members": "ScrapTransportHelicopter, scraptransporthelicopter",
"exclusions": ""
},
{
"name": "ch47",
"members": "ch47.entity",
"exclusions": ""
},
{
"name": "resources",
"members": "ResourceEntity, TreeEntity, OreResourceEntity, LootContainer",
"exclusions": "hobobarrel.deployed"
},
{
"name": "samsites",
"members": "sam_site_turret_deployed",
"exclusions": "sam_static"
},
{
"name": "traps",
"members": "LandMine, BearTrap",
"exclusions": "AutoTurret, FlameTurret, GunTrap, ReactiveTarget, TeslaCoil, spikes.floor"
},
{
"name": "mlrs",
"members": "MLRSRocket, rocket_mlrs",
"exclusions": ""
},
{
"name": "mounts",
"members": "BaseMountable",
"exclusions": ""
}
],
======================
== STARTING TRACE ==
== 18:12:36.68112 ==
======================
From: BasePlayer, player
To: RidableHorse, testridablehorse
Checking exclusions between [empty] and [empty]
Shared locations: none
No shared locations, or no matching exclusion mapping - no exclusions
No exclusion found - looking up RuleSet...
Using RuleSet "default"
No match in pre-checks; evaluating RuleSet rules...
Initator EntityGroup matches: players
Target EntityGroup matches: ridablehorses
Evaluating Rules...
Checking direct initiator->target rules...
Evaluating "players->ridablehorses"...
No match found
No direct match rules found; continuing...
Evaluating "players->any"...
No match found
No matching initiator->any rules found; continuing...
Evaluating "any->ridablehorses"...
Match found; allow damage? True
I am unsure if it's possible to get any of my desired results but as of now, all mounts and resources(trees etc..) are getting destroyed.
Struggles with MLRS
raid bases tells truepve what to do so you won't need to do anything special for that. as for the issues lets keep this condensed in the primary thread instead of making multiple threads about the same topic. it is much easier this way. locking this!
https://umod.org/community/true-pve/41340-mrls-and-pve
Locked