banner
Rating
Voted0

Pig weight reduction

0
Mod version:1
Game version:All
The mod has been successfully tested for the absence of viruses
4341K158.93K

Report mod

  • image
modalImage

About This Mod

WARNING: I noticed that there seems to be a problem that breaks the server when trying to remove an existing stacking mod and then add that mod. I'm still looking into this to determine the cause of the problem, and I'll work on fixing it.

This mod allows you to reduce the weight of items for players and dinosaurs and is intended as an alternative to folding mods. Since this mod does not reassign any items, it can be safely added/removed without the risk of losing your items. Combined with vanilla settings for stack size multipliers, you can get the same benefits as a stacking mod, with significantly more control over stack size and weight. This mod will allow you to set the weight multipliers for players and dinosaurs for different groups of items as well as for specific items. You can also specify specific settings for each dinosaur. Any settings assigned to a particular dinosaur will be summed up with global settings. For example, if you specify that Anki will receive a weight factor of 0.50 for metal, and also specify that metal will have a weight factor of 0.50 in the Global Settings section, the result will be a weight factor of 0.25 for metal for Anki, effectively reducing the weight of metal by 75%. (0.50 x 0.50 = 0.25)

The following variables are available to be included in the [PIGsWeightReduction] section of your GUS.ini. [PIGsWeightReduction] contains all global settings that will be inherited by players and dinosaurs. These variables take a floating-point (decimal) value to apply a weight factor to a specific item or group of items.

RebuildWeightItemMultipliers=True/False (default = False). This option was introduced in version 12 to optimize performance. The settings will be compiled and saved to the game file when the server boots. This option should be set to "True" every time you make changes to the ini settings. You can then install it back into false after the server restarts and the new settings take effect. This parameter should only appear in the Global [PIGsWeightReduction] section of the GUS.ini file.

EnableStructureContainers=True/False (default=False). If set to True, the weight multipliers for items set in the Global [PIGsWeightReduction] section will be applied to the storage container structures. Note: This setting scans the card every 60 seconds for new storage containers and updates the weight multipliers for items.

OverrideDinoClassList=Comma separated list of dinosaur class names. Starting with version 12, you should include a comma-separated list of dinosaur class names for any dinosaurs for which you want to override the weight multipliers of an object. If the dinosaur class names are not listed here, then any dinosaur-specific sections will be ignored and global settings will be used instead. This parameter should only appear in the Global [PIGsWeightReduction] section of the GUS.ini file.

OverrideItemClassList=Comma separated list of element class names. Starting with version 12, you should include a comma-separated list of element class names for any elements for which you want to override the weight multipliers. If element class names are not specified for this variable in the section, any specific element overrides in the ini section will be ignored and will instead be inherited from the element group values.

The following variables are for item groups. Assigning an element weight multiplier to a group will apply it to all elements in that group. All default weight factors are 1.0 (vanilla) if they are not configured in GUS.ini.

ItemWeightMultiplier_Group_Ammo [ Added item weight multiplier for ammunition such as advanced bullets, darts, arrows, etc. ]

ItemWeightMultiplier_Group_Apex [ Added item weight multiplier for Apex items such as Silver Claw, Hand of Rex, etc. ]

ItemWeightMultiplier_Group_Artifact [ Adds item weight multiplier for artifacts ]

ItemWeightMultiplier_Group_Attachment [ Adds an item weight multiplier to weapon modules such as sights, silencer, etc. ]

ItemWeightMultiplier_Group_Consumable [ Adds a weight multiplier for consumables such as soups, decoctions, etc. ]

ItemWeightMultiplier_Group_Egg [ Adds a weight factor for eggs, including both unfertilized and fertilized eggs ]

ItemWeightMultiplier_Group_Farming [ Adds item weight multiplier for agricultural items such as fertilizers and feces ]

ItemWeightMultiplier_Group_Resource [ Adds item weight multiplier for resources like crystal, metal, stone, wood, etc. ]

ItemWeightMultiplier_Group_Saddle [ Adds an item weight multiplier to all dinosaur saddles ]

ItemWeightMultiplier_Group_Seed [ Adds item weight multiplier for all seeds such as mehoberry seeds, citron seeds, etc. ]

ItemWeightMultiplier_Group_Structure [ Adds an item weight multiplier to all structures such as walls, foundations, gates, etc. ]

ItemWeightMultiplier_Group_Tool [ Adds an item weight multiplier to all tools such as an ax, sickle, pickaxe, etc. ]

ItemWeightMultiplier_Group_Trophy [ Added item weight multiplier for trophies with bosses like Broodmother, Dragon, etc. ]

ItemWeightMultiplier_Group_Weapon [ Adds an item weight multiplier to all weapons such as crossbow, long-necked rifle, assault rifle, etc. ]

You can also set the weight multiplier for any particular vanilla item in the game. To do this, use the element class name as a variable and set it to a floating point value. In the following example, overrides Metal and sets the weight to 10% of vanilla (90% weight reduction).

PrimalItemResource_Metal_C=0.1

You can do this with any vanilla element simply by using the name of the element's class as a variable. Specific item settings override group multiplier settings in the same section.

Weight settings will also apply to diinos. You can either let dinosaurs inherit settings from the Global Settings in the [PIGsWeightReduction] section, or you can create another section for the dinosaur for which you want to set specific weight multiplier values for the item. Simply create a new partition using [PIGsWeightReduction_CLASS_NAME], replacing "CLASS_NAME" with the actual name of the dinosaur class for which you want to add settings.

Example:

[PIGsWeightReduction_Ankylo_Character_BP_C]

This should also work for modified dinosaurs if you know the name of the class.

After that you can use all the same variables as in the section Global [PIGsWeightReduction]. Note that any specific dinosaur settings will use the global settings as a factor to apply a specific dinosaur multiplier. For example, if you already have a weight factor of 0.5 for a resource group in global settings, and you have configured a weight factor of 0.5 for metal for Anky. The end result is that Anky will have a weight factor of 0.25 (75% weight reduction) for the metal.

GUS.ini Configuration Example:

https://legacy.curseforge.com/ark-survival-ascended/mods/pigsweightreduction/pages/gusini-example-configuration-for-50-percent-weight

Limitations of this fashion:

This mod currently does not support the use of weight multipliers on modified items. Support for the modified items is planned for a future update.

Similar Mods/Addons

Game Version *

0 (pigs weightreduction-windowsserver 14.zip)