Stay & Combat Fixes
What's new in 2.1.0
|
|
| Version |
2.1.0 |
| 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.
- Possession free aim — Crosshair targeting, zoom, and related QoL while possessing units, Adds Mag Based UI, Auto Fire for Fast Ranged Weapons (toggle), Melee Dash Toggle for melee units.
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.
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.
- Units on startup — Fixes custom factions showing 0 units until you add units to a dummy faction (Hopefully).
Unit editor
- Custom stats — Target Priority, Animation Speed, and Step Frequency multiplier rows on the STATS tab.
- Config toggle — Set
UnitEditor > CustomStatsAndScroll to false for vanilla unit editor stats behavior.
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.
- Kill Enemy Count — Win after killing a configured number of enemy units.
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, loaded from teamedge_square.assetbundle (circle fallback if the bundle is missing).
Configuration
After the first run, edit BepInEx/config/pretz.staycombatfix.cfg:
- Water.Still / Water.River — Pond and river movement tuning
- Mirror.Shield.Improved —
true for improved mirror shield, false for vanilla behavior
- Possession.FirstPerson > FreeAim —
true enables possession crosshair aim, zoom, Etc; false restores vanilla possession behavior
- UnitEditor > CustomStatsAndScroll —
true enables custom STATS rows and scroll; false for vanilla unit editor stats
Requirements
Verify installation
In BepInEx/LogOutput.log after launching the game:
[Info : Stay & Combat Fixes] Loaded v2.1.0 by Pretz — Harmony 125/125
[Info : Stay & Combat Fixes] Square team line: loaded TeamEdgeSquare shader from asset bundle (material)
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:
- What happened and what you expected
- The map or unit involved (if relevant)
- Your
BepInEx/LogOutput.log from after the problem occurred
Send reports on the mod's Thunderstore page or wherever you downloaded the mod from.
Credits
Pretz