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

StayCombatFix

Various additions and tweaks to the vanilla Tabs gameplay.

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

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.2

  • 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.2
Author Pretz
GUID pretz.staycombatfix

What this mod does

Possession Free Aim!

  • Units will no longer use the default aiming system in which shots are automatically calculated.
  • You will be restricted to shooting in a range of 1.25x the weapon's max range, melee and ranged weapons included. A visualizer for being out of range is displayed below your crosshair.
  • A Exclusion Aim menu where you can configure which units you want to have vanilla aim, or remove the range limiter. This comes with its own config you can share with your friends if you are wanting to share factions, campaigns, etc featuring this mod.

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.
  • Kill Enemy Count — Victory condition in the map editor: Set how many units required to defeat in order to win. You win when you kill the set amount of units on the enemy team. Shows in the win-condition list as Kill Enemy Count.

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 shipped as teamedge_square next to the DLL.
  • Reload the game upon initial restart as it needs to inject the shader, otherwise you will see a circle placeholder.

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
  • Possession.FirstPerson > FreeAimtrue enables possession crosshair aim, ballistic correction, range gate, and zoom; false restores vanilla possession behavior

Requirements

Verify 2.0.0

In BepInEx/LogOutput.log after launching the game:

[Info   : Stay & Combat Fixes] Loaded v2.0.0 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).

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:

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.