Survivalist: Invisible Strain

Survivalist: Invisible Strain

67 个评价
SIS Auto Gear Up
   
奖励
收藏
已收藏
取消收藏
标签: IsMod
文件大小
发表于
更新日期
951.287 KB
2024 年 6 月 4 日 上午 4:06
2024 年 7 月 22 日 上午 8:49
3 项改动说明 ( 查看 )

订阅以下载
SIS Auto Gear Up

描述
Change Notes
  • Fixed crash after newest update.

What is this?
This mod will make characters automatically gear up weapons and clothing when they pickup items, or when items are removed from their inventory. It can affect the player, the player community, and the NPCs. There's different settings to control how the characters will gear up.

When gearing up their weapons, characters will choose the weapon with the highest damage and the longest range. And when gearing up their clothing they will choose the clothing with the most insulation or least dampness. For gearing up their armor, they will choose the one with the most protection.

By the default behaviour, only the player (or players in coop) and the community members will automatically gear up. They will gear up their melee weapons and their clothing, but not ammo weapons.

Settings
The settings file can be found inside the mods folder under "Settings_AutoGearUp.xml".
  • EnabledForPlayer. Whether gearing up is active for the player. (default true)
  • EnabledForPlayerCommunity. Whether gearing up is active for player community members. (default true)
  • EnabledForNPCs. Whether gearing up is active for NPCS (other communities, refugees, bandits). (default false)
  • EquipEnoughAmmoThreshold. The amount of ammo a character needs to have to consider an ammo weapon as valid. (default 10)
  • EquipEnoughSkillThreshold. The number of skill points needed to decide to equip a melee weapon over a ranged one and vice-versa. (default 2)
  • GearUpWeapon. Whether characters will gear up weapons. (default true)
  • GearUpMeleeWeapon. Whether characters will gear up melee weapons. (default true)
  • GearUpMeleeWeaponWhenPickedUp. Gear up when items add to inventory. (default true)
  • GearUpMeleeWeaponWhenRemoved. Gear up when items removed from inventory. (default true)
  • EquipMeleeWhenNoneEquipped. Equip picked up melee weapon if no weapon equipped. (default true)
  • EquipMeleeOverRangedWhenSkillHigher. Equip melee weapon over ranged if better HandToHand skill than firearm/archery skill. (default true)
  • EquipMeleeOverRangedWhenNoAmmo. Equip melee weapon when not enough ammo for ranged weapon in inventory. (default true)
  • GearUpAmmoWeapon. Whether characters will gear up ammo weapons. (default false)
  • GearUpRangedWeaponOnPickedUp. Gear up when picked up item. (default true)
  • GearUpRangedWeaponOnRemoved. Gear up when items removed from inventory. (default true)
  • EquipRangedWhenNoneEquipped. Equip picked up ammo weapon if no weapon equipped. (default true)
  • GearUpClothing. Whether characters will gear up their clothing (default true)
  • WearClothingWithBestInsulation. Prioritize clothing with best insulation. (default true)
  • WearClothingWithLeastDampness. Prioritize clothing with least dampness. (default true)
  • CanGearUpTopClothing. Can gear up top clothing, shirts, jackets. (default true)
  • CanGearUpBottomClothing. Can gear up pants. (default true)
  • CanGearUpHatClothing. Can gear up hats. (default true)
  • CanGearUpShoesClothing. Can gear up shoes. (default true)
  • CanGearUpGlassesClothing. Can gear up glasses. (default true)
  • GearUpArmor. Whether characters will gear up their armor. (default true)

Compatibility
Shouldn't have any incompatibilities. Report any issues in the comments section!

Credits
Erikem, Luo2430, and Bob!
20 条留言
SweetCaptn  [作者] 10 月 16 日 下午 3:02 
Neat! If something doesn't work as it should let me know
Bragdras 10 月 16 日 上午 11:04 
Update (deleted the last post), after multiple restarts of the game the XML file did appear at some point and after another few rounds of editing, saving the XML file and relaunching the game the flags do work as intended, I'm not sure why it took me a dozen tries but I'm going to assume I somehow did something off
Bragdras 10 月 15 日 下午 1:31 
There is indeed that .txt file in there (empty)
SweetCaptn  [作者] 10 月 15 日 下午 1:01 
I've just tried them all together and it's generating the file for me. All compatible :)

Could you check that the file "SISAUTOGEARUP.txt" exists in this mod's folder?
Bragdras 10 月 15 日 上午 11:52 
Also I can confirm I'm also not getting a settings_autogearup.xml file after loading a save with it enabled
Bragdras 10 月 15 日 上午 11:43 
Does this conflict at all with Auto Scavenge and your other mod for weapon equipping?
A Tutorial Boss 5 月 29 日 上午 7:42 
Is this working on current beta branch?
Wish Granter 3 月 2 日 上午 6:03 
Hey there, I dont know where else to ask this, but may you consider/ does it work to make a mod that forces inventory resets on traders after max level? Its absurdely annoying constantely having to buy all the tents and pickaxes off them to clear their inventory, and you can barely ever resell that stuff wasting hundreds of gold.
Billy O'Brian 2024 年 9 月 23 日 上午 8:43 
Thank you. It worked. :)
SweetCaptn  [作者] 2024 年 9 月 23 日 上午 7:58 
Run the mod once, it will auto generate it for you.