XCOM 2
743 个评价
Ability To Slot Reassignment
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
496.388 KB
2020 年 6 月 17 日 上午 11:26
2021 年 2 月 19 日 下午 6:56
11 项改动说明 ( 查看 )
您需要 DLC 才能使用该物品。

订阅以下载
Ability To Slot Reassignment

描述
Dynamic reassignment of item slots to abilities
This mod allows you to define weapon categories for abilities. Based on this config the mod will look for an item in the soldiers loadout that matches the weapon category and assigns the ability to the slot of the found item. This functionality was/is part of rpgo and is released standalone in this mod.

Example config in XComAbilityToSlotReassignment.ini

+AbilityWeaponCategories = (AbilityName=PistolStandardShot, WeaponCategories=(pistol, sidearm))
What this does is it will reassign the PistolStandardShot to the first slot it finds a pistol in. So it will be irrelvant what slot is defined in the XComClassData.ini of the soldier like

AbilityType=(AbilityName="PistolStandardShot", ApplyToWeaponSlot=eInvSlot_SecondaryWeapon))

usually means PistolStandardShot will only work for secondary pistols. With the config above it doesnt matter if the pistol is in the primary, secondary, utility or dedicated pistol slot.

NOTE this mod does NOT provide any Primary Secondary, Dedicated Pistol Slot or Utility Slot Sidearm functionality by itself. Its a meta mod that those mods can depend on to make abilities work with their slots.

By default this mod supplies config for vanilla melee and pistol abilities.

Loadout API

Another feature of the mod is the loadout api. Its only interesting for modder as it offers an API to detect different loadouts like e.g primary pistol or dual wield melee. This is an attempt to unify the different methods of detecting loadouts in various mods and provide a single source of truth.

For more info see https://github.com/Musashi1584/AbilityToSlotReassignment/blob/master/README.MD

Mod troubleshooting
https://www.reddit.com/r/xcom2mods/wiki/mod_troubleshooting

Patreon
Have look at my work in progress and infos on my mods at my patreon page.
Your really like my mods and would like to help me have more time for modding? Consider become a patreon :)

https://www.patreon.com/musashi1584
热门讨论 查看全部(1)
12
2
2022 年 2 月 8 日 上午 3:19
No Longwatch Bug And More Abilities Missing
RustyDios
134 条留言
RustyDios 2023 年 10 月 21 日 下午 4:20 
What pistol are they using. Are you using OLD Primary secondaries or TRUE Primary Secondaries. Which pistol class are you using? How is the unit getting Lightning Hands?
Is this an RPGO run, a LWotC run, a CI run?
What other mods do you have that might affect the interaction ?
Zenuge 2023 年 10 月 21 日 下午 4:14 
well, did everything i could, went barebones, just the essential mods, and still no lightning hands for my primary pistol user. I think there's suppose to be some config file in documents/mygames/com ect. cause i didn't see any in there, but we'll see if anyone is still playing and modding the game by now.
Zenuge 2023 年 10 月 19 日 下午 6:54 
Yeah, it's not working for me, all i want is a pistol dude with a ripjack, but LighReflex still isn't working. even started a new game.
HKR31 2023 年 6 月 10 日 下午 12:14 
Is this required if i am using RPG overhaul?
oceansoul 2022 年 7 月 3 日 下午 7:42 
@Johrdan720 assuming they problem abilities aren't caused by typos, for which look a few posts down for a fix supplied by Iridar, you'll need to add the new abilities to the .ini file of this mod.

@MessyPaladin Should do.
MessyPaladin 2022 年 4 月 23 日 上午 10:46 
Does this work mid campaign?
Johrdan720 2022 年 4 月 10 日 上午 5:15 
how to make this mod work with modded,reworked classes ??
i tested with mechatronic warfare and none of the ability that use the Sparkbit worked
oren 2022 年 3 月 12 日 下午 8:22 
So if you already have RPGO, do you still need this mod? Or can you skip it, because RPGO already has it rolled in?
a_m_llano 2022 年 2 月 8 日 上午 5:19 
Thanks for your work.
Iridar 2022 年 2 月 8 日 上午 3:20 
@everyone
I have published a mod that fixes various issues with this mod. If you are using Ability to Slot Reassignment YOU MUST also subscribe to my bugfix mod:

[WOTC] Musashi's Mods Fixes
https://steamcommunity.com/sharedfiles/filedetails/?id=2569592723