ServersideQoL SmartDefense
Ballista don't target players or tames and reload from nearby containers.Serverside QoL
This mod adds some QoL features as a serverside-only mod.
It's designed and tested for dedicated servers with vanilla/console clients (e.g. XBox/PS/Switch users).
If you'd like to support me, subscribe as a test user. You can help by testing the beta versions on hexium.
Features
- Ballistas don't target players or tames
- Ballistas reload from nearby containers
Documentation
The best available documentation is the config file. Read the description of the config options for a better idea of how this mod works.
Feature Requests
If you have an idea you think might fit this mod, you can create a feature request issue in the github project. If a similar request already exist, you can add a 👍 reaction to it.
Known Issues
Known issues are listed in the github project. If you experience an issue, please file a report there or on the hexium mod page.
Configuration
The configuration is loaded from BepInEx/config/ArgusMagnus.ServersideQoL.SmartDefense.cfg. Start the server once to generate the file if it does not exist.
SmartDefense
| Option | Default Value | Acceptable Values | Description |
|---|---|---|---|
| Enabled | true | True/False | Enables/disables the entire mod |
Traps
| Option | Default Value | Acceptable Values | Description |
|---|---|---|---|
| DisableTriggeredByPlayers | true | True/False | True to stop traps from being triggered by players |
| DisableFriendlyFire | true | True/False | True to stop traps from damaging players and tames. Does not work reliably (yet). |
| SelfDamageMultiplier | 1 | From 0 to Infinity | Multiply the damage the trap takes when it is triggered by this factor. 0 to make the trap take no damage |
| AutoRearm | true | True/False | True to automatically rearm traps when they are triggered |
Turrets
| Option | Default Value | Acceptable Values | Description |
|---|---|---|---|
| DontTargetPlayers | true | True/False | True to stop ballistas from targeting players |
| DontTargetTames | true | True/False | True to stop ballistas from targeting tames |
| LoadFromContainers | true | True/False | True to automatically load ballistas from containers |
| LoadFromContainersRange | 4 | Required proximity of a container to a ballista to be used as ammo source | |
| LoadFromContainersMinPlayerDistance | 4 | Min distance all players must have to a ballista | |
| AmmoAddedMessageType | None | None, TopLeftNear, TopLeftFar, CenterNear, CenterFar, InWorld | Type of message to show when ammo is added to a turret |
| NoAmmoMessageType | None | None, TopLeftNear, TopLeftFar, CenterNear, CenterFar, InWorld | Type of message to show when there is no ammo to add to a turret |
