Hello ,iam kinda new with all of this ... I need help with this.. Autoturrets dont attack scientist (npcraiders) andy any kind scientist ... What i need to do ?
AutoTurrets Dont attack scientist
hi, remove the TurretsIgnoreScientist flag
{
var obj = ruleSet.HasFlag(RuleFlags.TurretsIgnoreScientist) && entity.OwnerID.IsSteamId() ? false : (object)null;
if (trace) Trace($"CanBeTargeted {target.ShortPrefabName} targetted by {entity.ShortPrefabName} was {(obj is bool ? "blocked" : "allowed")}", 1);
return obj;
} ...
so i just delete this ? or this:
// flags for RuleSets
[Flags]
private enum RuleFlags
{
None = 0,
SuicideBlocked = 1,
AuthorizedDamage = 1 << 1,
NoHeliDamage = 1 << 2,
HeliDamageLocked = 1 << 3,
NoHeliDamagePlayer = 1 << 4,
HumanNPCDamage = 1 << 5,
LockedBoxesImmortal = 1 << 6,
LockedDoorsImmortal = 1 << 7,
AdminsHurtSleepers = 1 << 8,
ProtectedSleepers = 1 << 9,
CupboardOwnership = 1 << 10,
SelfDamage = 1 << 11,
TwigDamage = 1 << 12,
NoHeliDamageQuarry = 1 << 13,
TrapsIgnorePlayers = 1 << 14,
TurretsIgnorePlayers = 1 << 15,
TurretsIgnoreScientist = 1 << 16,
TrapsIgnoreScientist = 1 << 17,
SamSitesIgnorePlayers = 1 << 18,
TwigDamageRequiresOwnership = 1 << 19,
AuthorizedDamageRequiresOwnership = 1 << 20,
VehiclesTakeCollisionDamageWithoutDriver = 1 << 21,
FriendlyFire = 1 << 22,
AnimalsIgnoreSleepers = 1 << 23,
NoHeliDamageRidableHorses = 1 << 24,
NoHeliDamageSleepers = 1 << 25,
SamSitesIgnoreMLRS = 1 << 26
tnx for respond
hi, no, remove it from your config file =)
nivexhi, no, remove it from your config file =)
Hello ... Unfortunately i still dont get it ,i rly dont know what to delete ... On my last post ,thats only where i found TurretsIgnoreScientist ...In config i dont have that.. Can you pls copy me what shoud i delete ? I would be very grateful ! And tnx again for your time!
if it's not in your config file then another plugin is causing this to happen