4 items

File information

Last updated

Original upload

Created by

aedenthorn

Uploaded by

aedenthorn

Virus scan

Safe to use

About this mod

Shows the player's portrait along with dialogue boxes. You can choose between using the farmer sprite or a custom CP portrait, and optionally use a custom background for the portrait as well.

Share
Requirements
Permissions and credits
Changelogs
Donations
With this mod, a portrait for the player can be shown on the left side of dialogue boxes in customizable situations.


Display Options

There are three options for deciding when to display the player's portrait:

  • ShowWithQuestions - show with question dialogue boxes
  • ShowWithEvents - show during events
  • ShowWithNPCPortrait - show when an NPC's portrait is shown


Portrait Options

By default, the mod uses the in-game farmer sprite scaled up 4x, facing right. The portrait is animated, blinking and showing clothing and accessory animations as well.

You can choose in the config to change it to front facing, and you can opt to use a custom static image for the portrait and background as well.

To use a custom portrait and background, you must change the config variable UseCustomPortrait to true, then either place png files in the mod's folder or use a Content Patcher pack.


Mod Folder

For custom portrait and/or backround in the mod folder, place the following files in this mod's folder:

portrait.png

background.png

Alternatively, you can use per-farmer names with the following syntax, e.g.:

portrait_Erin.png

background_Erin.png


Content Patcher

Target the following paths in you content pack:

aedenthorn.FarmerPortraits/portrait

aedenthorn.FarmerPortraits/background


Alternatively, you can use per-farmer names with the following syntax, e.g.:

aedenthorn.FarmerPortraits/portrait_Erin.png

aedenthorn.FarmerPortraits/background_Erin.png

There is an example pack in the files section you can use as a template. You can install it and simply replace its PNG files with your own.


Notes

Portraits and backgrounds can be hi-res or lo-res, as preferred.

Thanks to Asterisk for the custom portrait used in the last screenshot!


Technical

Requires SMAPI, uses Harmony.

Implements a Generic Mod Config Menu interface to change config settings in-game.

Compatible with Mod Updater for automatic updates.

Code is at https://github.com/aedenthorn/StardewValleyMods.

If you want to complain or ask for help or help me test my mods, you can visit my Discord server.

A list of all my mods for Stardew Valley is available at https://www.nexusmods.com/stardewvalley/articles/895.