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

SimsStartAtLevel1

Ensures that every newly created SimPlayer starts at level 1.

Date uploaded 2 weeks ago
Version 1.0.0
Download link TeamSaltyBois-SimsStartAtLevel1-1.0.0.zip
Downloads 35
Dependency string TeamSaltyBois-SimsStartAtLevel1-1.0.0

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

Sims Start at Level 1 — v1.0

Description

This mod ensures that every newly-created SimPlayer starts at level 1. Made as a companion mod for my Sim Passive Leveling Overhaul, however it works fine on its own. It only affects Sims that do not already have an existing save file, any Sim you have already encountered retains their current level and experience.

Keep in mind that rival sims gain levels on login. Nonrival sims (Generic and character slot bound) both can also have additional levels applied on login by default.


Features

  • All brand-new Sims start at level 1.
  • Existing Sims are unaffected.

Performance

No impact. The mod executes one integer assignment per newly created Sim during the login loading screen. There is no active code running during gameplay afterwards.


Requirements

BepInEx 5.4.23.5


Installation

  1. Install BepInEx for Erenshor.
  2. Place SimStartAtLevel1.dll in your BepInEx/plugins/ folder.
  3. Launch the game. No additional configuration is required.

Compatibility

No compatibility issues.


Methods Patched

  • SimPlayerDataManager.CheckLoadData — Prefix (ref int) Patches SimPlayerDataManager.CheckLoadData to force the initial level parameter to 1.

Notes

Won't do anything for existing saves unless you increase sim count. Only works post "Server Reset", or if one (or all) of the sims files from %LocalAppData%Low\Burgee Media\Erenshor\ESSaveData is deleted.


To-DO

  • Reset Sim/Reset all sim function does not seem to delete SIM file, needs investigation into ServerReset.cs to patch support for it.

CHANGELOG

Changelog

1.1.0

Added

  • ExcludedSims config option. Comma separated sim names that keep their designed starting level instead of being forced to 1 (example: GM-Burgee, Scrubby). Case insensitive. Exclusions only apply to sims being created fresh.

Changed

  • The patch now binds the game method's parameters by name instead of by position. A future game update that renames or reorders CheckLoadData's parameters now fails loudly at load time instead of silently forcing the wrong argument to 1.

1.0.0

  • Initial release.