Build 26527636

build

Scourge Of War - Gettysburg · beta, public · first seen

PICS live
2
Branches
1
Depots changed
—
Download delta
23:38 UTC
Time · UTC
Patch notes · published by the developer

Quality of Life Update

On Steam

## Engine Version 1.022

### Display
- **Fixed a shifted, cropped or blurry picture on high-resolution screens.**
- On a screen where Windows display scaling was set above 100% (Settings >
Display > Scale, often 125% or 150% on laptops and 4K monitors), the game
could appear shifted or cropped, with part of the battlefield or the
toolbar off the screen. In windowed mode the game could look blurry and
run past the edge of the screen.
- The game now tells Windows it draws at the screen's real resolution, so the
picture fits the screen and stays sharp at any scaling setting.
- **If you play in windowed mode with display scaling above 100%,** the
window may now look smaller than before, because the resolution you picked
is now measured in real screen pixels. Choose a higher resolution in the
Options screen to fill the screen again.
- **Fullscreen always uses your screen's own resolution.**
- Fullscreen used the resolution chosen in Options, so a resolution
smaller than the screen was stretched to fill it. On widescreen and
ultrawide monitors this squashed the whole picture out of shape.
- Fullscreen now always runs at the screen's own resolution, so it is sharp
and correctly proportioned. The resolution in Options now sets the size of
the window in windowed mode. For a smaller, faster picture, play in
windowed mode.
- Turning fullscreen on or off in Options takes effect the next time you
start the game. Before, turning it off during a session could leave menus
and screens stretched until the game was restarted.
- **Menus, splash and loading screens are no longer stretched on ultrawide
monitors.** On screens wider than 16:9 (21:9, 32:9), menu screens, the
splash and loading pictures, and the toolbar are now shown in a 16:9 area in
the middle of the screen, instead of being stretched across its full width.
The battlefield still fills the whole screen. On 16:9 and narrower screens
nothing changes.
- **Windowed mode is now a real window you can move.**
- In windowed mode, if the resolution you choose is smaller than your
screen, the game opens in a normal window with a title bar. Drag the title
bar to move it anywhere, including onto another monitor. The game
remembers where you left it.
- The first time, the window opens in the middle of the screen instead of
the top-left corner.
- If the resolution matches your screen, the game fills the screen without
a border, as before.
- The window can't be resized or maximized yet. Change its size by choosing
a resolution in the Options screen.
- **Mouse fixes for windowed mode.**
- Turning the camera with the middle mouse button no longer makes the view
spin or drift.
- Releasing the middle button outside the window no longer leaves the
camera stuck turning.
- The normal Windows pointer shows over the title bar.
- Scrolling the map by moving the mouse to the edge of the screen now works
at the edges of the window, and stops when the pointer leaves the window.

- **New Post Processing tab in Options.** The post-processing look added in
1.020 can now be set in the game instead of by editing the INI file.
- Enable it, then adjust Sharpen, Saturation, Contrast, Brightness,
Warmth and Vignette. Changes show as soon as you apply them.
- Terrain Bump works whether post-processing is on or off. It takes effect
in the next battle you start.
- The settings are still saved in the `` section of the INI, as
before. Slider values are those numbers x100: Sharpen 50 is
`Sharpen=0.50`. Terrain Bump is the number itself.

### Controls
- **New Keyboard tab in Options: change any key from inside the game.**
- The Keyboard tab lists every action with its current key. Select an
action, click Assign Keys, then press the new key. It works straight
away, with no restart. To cancel, press Esc or click the mouse anywhere.
- If the key is already used by another action, the two actions swap
keys, so no key ends up doing two things.
- Default Keys puts back the keys the game shipped with.
- During a battle, open the menu, then Options, then **Controls** to change
keys without leaving the battle. The camera stays still while the game
waits for your new key. The same screen lists every mouse control, and
you can switch mouse scheme there too.
- The Assign Key, Default Keys and Controls buttons are larger and easier
to read, and light up when the mouse is over them.
- Your keys are saved in `keyboard.csv` in your `Documents` game folder,
as before. Only the key you changed is rewritten, so any notes or edits
you made to that file by hand are kept.
- F4 (screenshot) and the console key can't be assigned to other actions.
- **New Mouse tab in Options: choose your mouse controls.**
- **Waterloo** is the mouse controls the game has today, and stays the
default.
- **Classic GB** brings back the older Gettysburg style:
- Drag with the right button to turn the camera.
- A right click without dragging still gives a move order.
- Double-click the ground with the left button to move the selected
unit there.
- Alt + right drag moves and sets facing; Alt + right click still adds
a waypoint.
- The tab lists every mouse control for the scheme you pick.
- A left click straight after a right click is no longer mistaken for the
second half of a double-click.
- **Smoother camera, and each camera speed setting now does only its own
job.**
- The camera moved in small steps, most noticeably on fast computers. It
now moves smoothly at any frame rate.
- Turning with Q and E was faster the higher your frame rate. It now turns
at the same speed on every computer, the speed it had at 60 frames per
second.
- The up/down speed setting also changed how fast the camera moved forward
and sideways. Each speed setting now controls only its own direction.
With the default settings the speeds are unchanged. If you raised the
up/down speed to make the camera faster overall, raise the forward and
sideways speeds instead.
- **Moving the camera now ends follow mode.** It was easy to get stuck
following a unit: the camera ignored the movement keys, and pressing F
again switched to the other follow view instead of turning follow off.
- F still cycles as before: follow from behind the unit, follow from your
own view, then off.
- In the view behind the unit, any camera control ends follow: moving,
turning, raising or lowering the camera, or turning it with the middle
mouse button.
- In the view that follows from your own angle, you can still turn and
raise or lower the camera while it follows. Moving the camera with the
movement keys or the screen edge ends follow.

### AI
- **Gettysburg: AI cavalry no longer gives orders to enemy units.** When AI
cavalry was under fire with no target of its own, it could order the nearest
enemy regiment or battery to charge, including one of the player's. It now
only ever orders itself.
- **Waterloo: AI cavalry under fire picks targets as intended.** A cavalry
regiment under fire with no target of its own now only takes on enemy
cavalry or artillery within 100 yards. A wrong check had made it take on
enemy infantry as well.

### Modding & Data Files
- **Two new commands in the AI headers.** `SowMod\xunitdef.h` adds
`eComCaptureKey` and `eComResetKeys`, used by the new Keyboard tab, at the
end of the command list just before `eComMax`. All existing command numbers
are unchanged, but `eComMax` is now 2 higher. The AI code uses `eComMax` to
mean "no command", so rebuild AI mods with the updated `SowMod` headers to
keep that value in step with the engine.
- **AI timer values now match the engine clock.** `TICSPERSEC` in
`SowMod\xunitdef.h` was 60, but the engine (and `CXUtil::GetTime()`) counts
360 ticks per second, so every AI timer built from `TICSPERSEC` or
`TICSPERMIN` ran 6 times faster than written. It is now 360, and the shipped
AI's timers have been rewritten to the times they really used, so the AI
behaves exactly as before: division courier orders at most every 2.5
minutes, help requests every 5 minutes, and brigade wheels every 2.5
minutes. **If your AI mod uses `TICSPERSEC` or `TICSPERMIN`,** its timers
will run 6 times slower once rebuilt with the new header; divide those
values by 6 to keep the old timing.
- **AI tables are now data files.** The AI's orders, stances and division
strategies used to be compiled into the AI DLL. They now load from three new
files in `Logistics`: `orders.csv`, `stance.csv` and `playbook.csv`. The
values are unchanged. To change AI behaviour, edit these files; you no
longer need to rebuild the DLL. A mod can replace single rows, matched by
order name, stance MaxVal or strategy Value, or add new ones. Each file
starts with notes explaining every column. The game will not start if one
of the files is missing. **AI DLL mods:** `SowInit` no longer supplies
these tables and the DLL no longer needs `xtables.inl`. The engine fills
`gTableDivStrat`, `gTableBrigStance` and `gTableTacOrders` before it calls
`SowInit`. Existing AI DLLs still work, but tables compiled into a DLL are
now ignored. If your AI mod changed its own `xtables.inl`, move those
changes into the three CSV files.

---

Per-depot manifest changes

Depot changes

All depots
DepotNew manifestPrevious manifest
314240180851210634507991776551049049762838243
Quality of Life Update · Scourge Of War - Gettysburg build 26527636 · SteamPeaks