Ability Slot Extender

If you liked this item, please rate it up on Steam Workshop page.

Author: Psyny

Last revision: 15 Sep, 2018 at 18:07 UTC

File size: 91.14 KB

On Steam Workshop

Description:

Adds support for two more special abilities on weapons with shift + right or shift + left mouse click.

This mod was created as a base for my other mod: Weapon Retrofitting Station. However, I’ve decided to make it standalone to allow other modders to create their own weapons without the need to use my other mod.

To make a weapon with more abilities:
1) Add the following key/value to the weapon parameters: ‘psnExtendedAbilities’: true.
2) Program the abilities in the new slot as you did with primaryAbility and altAbility, but now you can also have shiftPrimaryAbility and shiftAltAbility.

I’ve added a weapon to test this mod, spawn it with spawnitem psynyexamplerifle1.
See the weapon script is at: psynyweaponsranged
iflepsynyexamplerifle1.activeitem

COMPATIBILITY:
I’ve tested this mod with bare game and Frackin Universe with some mods (to see the mods I use look for the Psyny Frackin Universe collection).
If you have Frackin Universe installed YOU HAVE TO INSTALL the Ability Slot Extender FU Patch

UPDATES:
v0.9
-Some abilities are much linked to its base weapon. And many times they can only be put on default alt ability slot.
I’ve made a change to try to adress the issue. That change may cause other bugs, but they will be solved in time.
In short: if an ability dont works in shift slots, try the traditional alt slot.