promotional bannermobile promotional banner

Berserk Mode

Dynamic AI battle engine enabling Free-For-All and friendly-fire combat for NPCs
1x1/10x10/100x100/etc

1x1/10x10/100x100/etc

Who is stronger?

Who is stronger?

(really i hope)

(really i hope)

Now it works!

Now it works!

Description

Berserk is a dynamic battle and AI combat control engine for Hytale. It lets you create chaotic battle royales between NPCs, turn every creature against players, or unleash full-scale faction warfare.

Disclaimer and Note:
I am not a professional developer. I create mods purely as a hobby and for fun. Because this mod hooks into early internal AI routines and combat systems, you might encounter quirks, glitches, or unexpected NPC behavior. Feel free to experiment, test it out, and leave feedback.

Modes:
Free-For-All (/berserk mode ffa): Removes all friendly-fire barriers. Every NPC considers every other living creature an enemy, resulting in massive all-out battle royales.
Player Hunt (/berserk mode player): Forces all hostile entities to prioritize and swarm players.
Classic (/berserk mode classic): Restores standard vanilla behavior and faction relations.

Features:
Damage-Gate Neutralizer: Uses safe runtime reflection to disable friendly-fire gates without corrupting world files or role definitions.
Smart Retaliation and Anti-Stuck: Fixes internal target deadlocks (such as self-targeting loops in Converge state) so damaged NPCs actively fight back instead of standing idle.
Background Auto-Sync: Automatically applies combat rules to newly spawned mobs every few seconds.

Commands:
You can use /berserk:

/berserk mode ffa - Enables Free-For-All mode (all mobs fight each other)
/berserk mode player - Enables Player-Hunt mode (mobs focus on hunting players)
/berserk mode classic - Restores default vanilla AI behavior
/berserk off - Instantly resets all combat overrides back to default
/berserk sync - Manually forces a refresh on all loaded NPCs
/berserk dumproles - Prints a list of all active NPC roles in the server console
/berserk debug on - Enables detailed diagnostic logging in the console
/berserk debug off - Disables debug logging

The Berserk Mode Team

profile avatar
  • 1
    Projects
  • 10
    Downloads