You are viewing a potentially older version of this package. View all versions.
FlyingHose-BigHeads-1.0.0 icon

BigHeads

Every time you die, your head gets bigger, and everyone can see it. Deaths are roasted on every screen. Purely visual. The server sets the numbers.

Date uploaded 2 hours ago
Version 1.0.0
Download link FlyingHose-BigHeads-1.0.0.zip
Downloads 7
Dependency string FlyingHose-BigHeads-1.0.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2360 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2360

README

Big Heads

Part of FlyingHose's Modpack. Needs only BepInEx.

Every time you die, your head gets bigger. Everyone can see it. Die a lot and you are a bobblehead with a helmet the size of a cart wheel. Stay alive and the air slowly leaks out. Kill a boss together and the whole group lets some air out.

It is a joke. It is also built carefully, so it cannot hurt your character or your world.

What makes a head bigger or smaller

Scale 1.0 (100 percent) is a normal head.

  • Each death adds 0.20, so 20 percent. Five deaths is a head at 200 percent. It stops at 300 percent.
  • Each minute alive takes off 0.02, so 2 percent. One death takes about ten minutes to wear off. The head never goes below normal.
  • Each boss killed by a group you took part in takes off 0.5, so 50 percent, about two and a half deaths. It never goes below normal. A boss you did not hit does not count.

Time you spend dead does not shrink your head, and neither does time spent logged out.

Visual only

Big Heads changes how a head looks and nothing else. It does not touch combat, damage, hit boxes, colliders, movement, health, or the camera. It scales the head bone of the model, so your hair, beard, and helmet scale with it. If a model is built in a way where scaling the head could touch gameplay, that head is left alone and a warning goes in the log.

The roast

When anyone dies, every player gets a line in the middle of the screen. It names the player, what got them where the game knows it, and their new head size. There are over sixty lines. Falling, drowning, burning, freezing, poison, a tree on the head, the world's other hazards, tiny killers, and reaching the biggest head allowed all have their own. Everyone sees the same line. The roast is PG and it is about heads.

Turn it off for everyone with Roast.Enabled.

Hover text

Look at another player and the crosshair text gets a line like Head: 180% (4 deaths). The game shows no text there on its own, so the line goes under the player's name. If another mod already adds text there, this adds a line under it instead.

The command

Open the console (F5) and type:

  • bigheads lists every player loaded on your machine, biggest head first, with their death counts. Players too far away for your game to have loaded are not listed. bigheads list does the same.
  • bigheads reset puts your own head back to normal and your death count to zero. It only resets you. It is not a cheat. It is your head.

Settings

The server decides the numbers. On a server, the server's values are used and your own config file is ignored while you are connected. Every server setting shows in Althing and can be set per world.

Setting Default Range Who decides
Head.Enabled true on or off server
Head.GrowthPerDeath 0.2 0 to 2 server
Head.MaxScale 3 1 to 6 server
Head.ShrinkPerMinute 0.02 0 to 10 server
Head.BossKillRelief 0.5 0 to 5 server
Roast.Enabled true on or off server
Head.ShowMine true on or off you
General.Enabled true on or off you
General.DebugLogging false on or off you

Head.ShowMine is only yours. Turn it off if a giant head blocks your own view. You then see your own head at normal size, while everyone else still sees the big one, and you still see theirs.

General.Enabled off applies no patches and needs a restart. The roast also needs Head.Enabled, because with no head growth there is nothing to roast.

Everyone needs the mod

The server and every player must have the same version of Big Heads. A server with the mod refuses players who do not have it, and a player with a different version sees which version the server runs. A player with General.Enabled off counts as not having it.

Join a server that does not have Big Heads and the mod stays off for that visit: no head grows, no roast is sent, there is no hover line, and the bigheads command says Big Heads is not running.

It follows your character

Your head size and death count are saved with your character, so a big head survives logging out and visiting another server that has the mod. Two small text entries are added to the character file for this.

If you remove the mod, every head goes back to normal at once. The only trace is those two unused text entries in the character file. The game keeps unknown entries like these and does nothing with them, so the character loads and plays as it did before.

How it works

Your own game keeps your head size. It counts your deaths, works out the size, and publishes the size and the death count on your player so every other game can draw it. Nobody else can change your head. Each game, yours included, scales the head bone of every loaded player once per frame after the animation has posed the model. Deaths that the game counts as yours are the only ones that grow it.

Big Heads also runs on a dedicated server. There it only does the version check and the config sync.

CHANGELOG

1.0.0

  • The head numbers now carry their ranges in the config, so Althing and the server refuse an out-of-range value from an admin instead of quietly clamping it.
  • A roast from another player is shown only when it names that player. A roast that names someone else is dropped.
  • If the hover line breaks after a game update, it turns itself off after five failures in a row with one warning, instead of writing to the log every frame.
  • Reading a head's size every frame no longer hashes the key each time.
  • The README now covers the name on the hover text, bigheads list, per-world settings in Althing, and what happens on a server without the mod.
  • Roast.Enabled says in its description that it needs Head.Enabled.

0.1.0

  • First release.
  • Every death makes your head 20 percent bigger, up to 300 percent. It deflates 2 percent for each minute you stay alive, and 50 percent for each boss your group kills.
  • Everyone sees every head, helmets included. The head is scaled on the model only, so combat, collisions, and camera are untouched.
  • A roast on every screen when someone dies, with the killer named and the new head size. Over sixty lines.
  • Looking at another player adds a hover line with their head size and death count.
  • Console command bigheads lists the heads in range, biggest first. bigheads reset puts your own head back to normal.
  • Your head size and death count are saved with your character.
  • Server-synced config and a version check on join.