Standardtypen

  • Standardtypen
KingMods Logo
Published by KingMods
Claim this mod
V1.0.3.2
18 612

This is a small add-on that changes how fill types and fruit types are loaded.

Typically, XML files from game installation folders are loaded first,
then the map information is loaded and added to these existing entries.

This allows map creators to make their map configurations the base configuration and bypass the game's installation files entirely.

This allows more flexibility and control when configuring card types and also resolves some issues that may arise when adding existing entries.

Activation is as simple as copying the XML file(s) you want to use as your new base,
in your map and using the thDefaultTypes key in your map.xml file. Examples are included in the SDK folder for this mod.

Examples:<fruitTypes filename="path/to/maps_fruitTypes.xml" thDefaultTypes="true"/><fillTypes filename="path/to/maps_fillTypes.xml" thDefaultTypes="true"/>
If you overwrite the base game XML file(s) in a map, be sure to copy and edit the entire XML file(s).

Otherwise, anything not included in the map will not load because the vanilla configuration is bypassed.

Note: This also fixes the issue of double saving fruit types when trying to change the fruit type/vanilla topping values.

Duplicate registrations will show a warning and attempt to correct themselves when this mod is enabled.

Server
Consoles
Changelog
3
  • v1.0.3.2
    Fixed an issue where the unknown fill type used as a placeholder when vehicles, etc are empty was not being created properly. This was causing a rolling error when first entering an empty vehicle.
    Removed the <fillTypes loadDefaults="false"> setting because it was just over complicating things.

    v1.0.3.0
    Fixes an issue where, if another mod makes an incorrect call to a vanilla function, Default Types would crash.

  • Updated to new game version (v1.7+). While the old version remains for maps that still use it, functionality is not guaranteed. The vanilla game configuration has changed, so even with the old version Default Types, it might not work quite as expected.

    ChangeLog:

    Switched to a more blacklist style configuration due to the base game now having a feature similar to the original Default Types rerouting feature.
    Base game rerouting is mainly for fruit types (other types still use the old game first map append method).
    Fill types can be switched to the new map first load method (optional).
    Fixes a vanilla 88% lockup issue when a placeable meadow uses a fill type not found or supported by the target animal.
    Fill planes should no longer appear black
    "Restricted" items (like snow) can no longer be removed. This is based on a list of items known to be hard coded into the game.

Credits
  • ThundRFS
Comments
6