You are viewing a potentially older version of this package. View all versions.
Pretz-StayCombatFix-2.0.4 icon

StayCombatFix

Stay aura, lay-down combat, water physics, mirror shield, possession free aim, win conditions (Kill All Selected Units, Kill Enemy Count), team line square, and faction creator QoL for TABS.

By Pretz
Date uploaded 3 weeks ago
Version 2.0.4
Download link Pretz-StayCombatFix-2.0.4.zip
Downloads 360
Dependency string Pretz-StayCombatFix-2.0.4

This mod requires the following mods to function

BepInEx-BepInExPack_TABS-5.4.16 icon
BepInEx-BepInExPack_TABS

BepInEx pack for TABS. Preconfigured and ready to use.

Preferred version: 5.4.16
Fhpslime-SLMACore-1.1.3 icon
Fhpslime-SLMACore

SLMACore

Preferred version: 1.1.3

README

Stay & Combat Fixes

What's new in 2.0.0

  • Possession free aim — Crosshair targeting, ballistic correction, predictive lead, scroll-wheel zoom, and smoother first-person camera while possessing
  • Out-of-range UI — Visual feedback when your possessed unit cannot reach the crosshair target
  • Aim exclusions menu — Main-menu toggle list for units/weapons excluded from possession free aim
  • Kill Enemy Count — New win condition: win after killing a set number of enemy units
  • Kill All Selected Units — Faster editor UI and battle evaluation (v1.8.30 perf fixes included)
  • Battle/custom-content fixes — Possession and win-condition features work reliably after entering battle from custom content
Version 2.0.4
Author Pretz
GUID pretz.staycombatfix

What this mod does

Combat and abilities

  • Stay aura — Stops units from sliding and leaning forward under Stay (Banner Bearer and similar). Keeps weapons from drifting and improves ranged aim without breaking charge abilities.
  • Lay down — Improves lay-down combat: range checks, attack targeting, and firing while prone. MG-42 and M2 Browning keep vanilla unit combat moves (lay-down stays on the weapon only).
  • Mirror shield — Improved projectile reflection and block behavior. Toggle with Mirror.Shield.Improved in the config file.

Environment and projectiles

  • Water physics — Replaces vanilla mud-like water slowdown with separate tuning for still ponds and rivers. Fixes dynasty-style river forks pulling units toward the junction.
  • Barrel death explosion — Units with the barrel ability reliably explode on death, not just the Barrel Roller blueprint.
  • Gas grenade — Fixes the gas grenade falling through the floor on ground hits while still bouncing off walls normally.

Faction creator

  • Drag reorder — Drag units in the custom faction list to change order. Order is saved with the faction.
  • Custom unit cost on hover — Shows cost when you hover custom units in the faction editor (faction list and unit browser). Vanilla faction units are unchanged.

Win conditions

  • Kill All Selected Units — Victory condition in the map editor: pick multiple enemy units (click each one on the battlefield), then Apply. You win when every selected unit has been killed. Shows in the win-condition list as Kill All Selected Units (alongside Last Team Standing, Time Limit, Defeat Unit, etc.).

Team line (square)

  • Square team boundary in placement (third type after Line and Circle).
  • True square red/blue map tint uses shader Hidden/StayCombatFix/TeamEdgeSquare embedded in the DLL and injected into globalgamemanagers.assets on first run.
  • Build the bundle once with Unity 2019.4.33f1 — see tools/UNITY-SQUARE-SHADER.md.

Configuration

After the first run, edit BepInEx/config/pretz.staycombatfix.cfg:

  • Water.Still / Water.River — Pond and river movement tuning
  • Mirror.Shield.Improvedtrue for improved mirror shield, false for vanilla behavior

Requirements

Verify installation

In BepInEx/LogOutput.log after launching the game:

[Info   : Stay & Combat Fixes] Loaded v1.1.0 by Pretz — Harmony 49/49

If the patch count is lower, check the log for warnings about skipped patches (usually a game update changed types).

Reporting errors

If something is not working, include:

  1. What happened and what you expected
  2. The map or unit involved (if relevant)
  3. Your BepInEx/LogOutput.log from after the problem occurred

Send reports on the mod's Thunderstore page or wherever you downloaded the mod from.

Configuration (2.0.0 additions)

After the first run, edit BepInEx/config/pretz.staycombatfix.cfg:

  • Possession.FirstPerson > FreeAimtrue enables possession crosshair aim, ballistic correction, range gate, and zoom; false restores vanilla possession behavior

Most possession tuning (torque, zoom, predictive aim, range multipliers) is compile-time constants in the mod source (FirstPersonFreeAimConfig.cs).

Verify 2.0.4

In BepInEx/LogOutput.log after launching the game:

[Info   : Stay & Combat Fixes] Loaded v2.0.4 by Pretz — Harmony 109/109

If the patch count is lower, check the log for warnings about skipped patches (usually a game update changed types).

Credits

Pretz

CHANGELOG

Changelog

[3.0.0] - Initial Public Re-release

Previous Versions of the mod included several things that were split into other mods such as Free Aim and Tabs Unlimited.