diff --git a/CharacterCollisionDamageDisabler/metadata.mod b/CharacterCollisionDamageDisabler/metadata.mod new file mode 100644 index 00000000..0a020fdf --- /dev/null +++ b/CharacterCollisionDamageDisabler/metadata.mod @@ -0,0 +1,4 @@ + + + 1.0 + \ No newline at end of file diff --git a/CharacterCollisionDamageDisabler/modinfo.sbmi b/CharacterCollisionDamageDisabler/modinfo.sbmi new file mode 100644 index 00000000..e4b87543 --- /dev/null +++ b/CharacterCollisionDamageDisabler/modinfo.sbmi @@ -0,0 +1,11 @@ + + + 76561198071098415 + 0 + + + 3280195552 + Steam + + + \ No newline at end of file diff --git a/CharacterCollisionDamageDisabler/thumb.jpg b/CharacterCollisionDamageDisabler/thumb.jpg new file mode 100644 index 00000000..bb1f8ff9 Binary files /dev/null and b/CharacterCollisionDamageDisabler/thumb.jpg differ diff --git a/Layman's SafeZone/Data/Scripts/bob/bobzone_activemeasures.cs b/Layman's SafeZone/Data/Scripts/bob/bobzone_activemeasures.cs index 7266c10f..6ef62b76 100644 --- a/Layman's SafeZone/Data/Scripts/bob/bobzone_activemeasures.cs +++ b/Layman's SafeZone/Data/Scripts/bob/bobzone_activemeasures.cs @@ -101,7 +101,7 @@ public override void UpdateBeforeSimulation() playerInZone[player.Identity.IdentityId] = true; var color = GetFactionColor(zoneblock.OwnerId); var colorVector = color.ToVector4(); - MyVisualScriptLogicProvider.SendChatMessageColored("You have entered the zone.", colorVector, zoneblock.CubeGrid.CustomName); + //MyVisualScriptLogicProvider.SendChatMessageColored("You have entered the zone.", colorVector, zoneblock.CubeGrid.CustomName); } } } @@ -112,7 +112,7 @@ public override void UpdateBeforeSimulation() if (playerInZone.ContainsKey(player.Identity.IdentityId) && playerInZone[player.Identity.IdentityId]) { playerInZone[player.Identity.IdentityId] = false; - MyAPIGateway.Utilities.ShowNotification("You have left the zone.", 2000, MyFontEnum.Red); + //MyAPIGateway.Utilities.ShowNotification("You have left the zone.", 2000, MyFontEnum.Red); } } }); @@ -122,6 +122,7 @@ protected override void UnloadData() { // No direct way to unregister damage handlers in current SE API // Ensure no references to prevent memory leaks or unintended behavior + // uhh yeah sure buddy MyAPIGateway.Session.DamageSystem.RegisterBeforeDamageHandler(9, null); players?.Clear(); dirties?.Clear();