miniMAXIme: Character scaler and selector

by Pi-C

The player stands like a giant near the vehicles. Now you can adjust the size of your character -- and you can change your appearance at any time if you've other mods that provide extra characters!

Tweaks
a day ago
0.16 - 2.0
28.2K
Owner:
Pi-C
Source:
N/A
Homepage:
https://forums.factorio.com/viewtopic...
License:
The Unlicense (Public Domain)
Created:
6 years ago
Latest Version:
2.0.11 (a day ago)
Factorio version:
0.16 - 2.0
Downloaded by:
28.2K users

What's this mod about?

The player stands like a giant near the vehicles in vanilla Factorio. By default, this mod changes the player's size to 70% for a more realistic experience.. Of course, there's a setting to make the player yet smaller or even bigger -- if you'd really wanted to do that for some reason.

The player's collision box will also be reduced, so you can easily get through obstacles in your path.

A major feature has been added in version 0.0.14: If you have multiple characters in your game (you'll need other mods to add them), this mod will create a GUI that you can use to change your appearance at any time. This is completely safe to use! If one of the new characters should ever disappear from the game, your inventories and settings (inventory and logistic filters) will be kept intact. This does also work in multiplayer!

In version 1.1.0, the character scaler part of the mod has been improved: Values from the attack parameters of personal weapons are scaled as well, so the muzzle flare won't be ridiculously off the gun. The character selector port now comes with a shiny new GUI, and as a special feature, corpses are preserved (for their natural decomposing time or until their inventory is completely empty). So if you've died and later load the game without the mod that provided your last character, your corpse will be replaced and you won't lose your old inventory items for good.

How to scale characters

It seems because you can switch your character on the fly during the game, people expect this mod can also be used to scale the character size on the fly. However, for technical reasons, this isn't true (follow the link at the start of this paragraph for a more detailed explanation). Characters will be scaled during the data stage, and the same scale factor will be applied to all prototypes. You can change the scale factor in the startup settings. This may be inconvenient as it requires a restart of the game, but the game will load much faster and it's not as error prone as adding even more prototypes would be.

Compatibility

This mod should work with all mods that change the player's appearance, such as Gear Girl Character or I, Robot. Check out the dependencies for a list of the compatible character mods I'm aware of!

Additionally, the following mods are supported:

  • Jetpack: You can now switch your character even when you're flying. I guess this makes miniMAXIme compatible with Space Exploration as well. (Jetpack >=0.3.1 will put a cool rendering of the default character with an active jetpack above the actual character when the player is in flying mode. Changing characters will still work, even when you're flying. Once the jetpack has been turned off, the real character will be displayed again.)

  • Bob's Character classes: Switch your character while retaining the properties of your character class.

  • RPG System: If you level up your character, these changes should be preserved when you change your character with miniMAXIme.

  • First One's Free and InfiniteInventory: miniMAXIme will keep track of changed inventory size.

  • GUI Unifyer: The GUI is integrated into its frame.

  • Brave New World: In this scenario, players use robots right from the start, but are not supposed to have a character. If your game is based on this scenario, you won't be able to use miniMAXIme to switch from editor or god mode to character mode. (There's no point in making the mods incompatible because another scenario could be used although the mod "Brave New World" is active.)

If you want to adjust your robots' size as well, just check out this mod!

Uninstalling this mod

If you simply remove this mod, players may lose their character (and everything in its inventories!) and custom character-corpses will disappear. Therefore, I've added a command that you should run from the chat console right before you remove miniMAXIme:

/minime-uninstall

Running this command will

  • replace custom characters of players with the default character
  • replace all custom character-corpses with the default character-corpse
  • remove all preview/dummy surfaces and all GUIs created by miniMAXIme
  • disable all event handlers of miniMAXIme
  • clear miniMAXIme's storage table (used to be global in Factorio < 2.0)

If you've run this command by mistake, you can re-initialize miniMAXIme by forcing on_configuration_changed to run (add/remove mods or change a startup setting).