SaarGaming-Match_Stats icon

Match Stats

Match statistics with a roast: who died to whose traps, deadliest trap, coin goblin and more, shown at the end of every match. Early state.

Last updated a day ago
Total downloads 8
Total rating 0 
Categories Mods
Dependency string SaarGaming-Match_Stats-0.2.2
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305

README

Match Stats

Match statistics for Ultimate Chicken Horse, with a roast on top.

Early state. This mod is in early development. Expect bugs, missing features and changes between versions. Feedback and bug reports are welcome.

Who keeps dying to whose traps? Who placed ten blocks and hurt nobody? Who never reached the goal? At the end of every match a panel shows the numbers and a few lines about what happened.

What you get

A table with one row per player:

Column Meaning
Deaths All deaths in this match
Kills Other players who died to this player's traps
Own trap Deaths to a trap the player placed themselves
Falls Falling, drowning, lava
Goals Times the player reached the goal
Coins Coin points scored
Blocks Blocks placed

And below it the highlights, for example:

  • Horse was owned by Chicken. Died 10 times to their traps.
  • Sheep played themselves: died 3 times to their own traps.
  • Raccoon lost 6 fights against gravity.
  • Deadliest trap: Crossbow with 9 victims.
  • Fox placed 8 blocks and hurt nobody. Interior designer.
  • Chicken and Horse have beef: 4 to 3 in kills.

The mod picks the most remarkable facts of the match, and each kind of line has several wordings.

How to use

  • The panel opens by itself a moment after a match ends.
  • Press F9 at any time to open or close it, also in the middle of a match.
  • The full report is also written to BepInEx/LogOutput.log.

Online

Works online and locally. The mod only reads what the game already tells every player (deaths with their cause, points, placed blocks), so it sends nothing over the network. Only you need the mod; players without it are not affected, they just do not see the panel.

Configuration

File: BepInEx/config/mpb27.uch.matchstats.cfg

Setting Default Meaning
General.Enabled true Turns the whole mod on or off
Display.ShowAtMatchEnd true Open the panel automatically when a match ends
Display.ToggleKey F9 Opens and closes the panel
Display.HighlightCount 8 How many highlight lines are shown
Display.EndDelay 2 Seconds after the match ends before the panel opens
Display.AnimalNamesForLocalPlayers true Several players on one machine are shown by their animal instead of the shared account name
Display.Font auto auto = the game's own font, default = plain system font, or the name of a game font
Debug.VerboseLog true Log every recorded death, point and placed block

Known limitations

  • Statistics cover one match and are reset when the next level loads. Nothing is saved between sessions.
  • If you join a match that is already running, earlier rounds are missing.
  • Deaths caused by the level itself count as deaths, but not as anyone's kill.
  • The panel picture is fairly low resolution and can look soft on large screens.

Custom panel

The background is panel.png next to the DLL and can be replaced. The panel changes its height with the number of players and lines, so the picture is drawn in nine pieces: corners keep their shape, edges stretch in one direction, the middle in both. panel.txt sets the border width, the text padding and the text colours.