You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At this moment SSG should be automatically switched to another weapon, but this doesn't happen.
If you try to shoot again, SSG is lowered and then raised again. So no auto-switch happens at all.
This is not very convenient in a fight, when you have to manually select another weapon quickly.
I tried to fix this by adding Weapon.MinSelectionAmmo1 2;
to EriSuperShotgun class in weapons/supershotgun.txt, and it indeed fixes auto-switching for standard EriSSG. But Extended SSG now is auto-switched too when only 1 shell remains because of SSG inheritance. This is not good because Extended SSG is still usable at this point and should not be auto-switched away.
Then I tried to fix Extended SSG by adding MinSelectionAmmo1 and/or MinSelectionAmmo2 to AltSuperShotgun. But this somehow negates MinSelectionAmmo1 effect in Standard SSG.
At this point I don't know how to resolve this issue and not break both SSGs. Maybe breaking inheritance between EriSuperShotgun and AltSuperShotgun will help, but this will change mod structure and cause code duplication, and I don't want to do any of this two things unless there is no another way.
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
This is not very convenient in a fight, when you have to manually select another weapon quickly.
I tried to fix this by adding
Weapon.MinSelectionAmmo1 2;
to EriSuperShotgun class in weapons/supershotgun.txt, and it indeed fixes auto-switching for standard EriSSG. But Extended SSG now is auto-switched too when only 1 shell remains because of SSG inheritance. This is not good because Extended SSG is still usable at this point and should not be auto-switched away.
Then I tried to fix Extended SSG by adding MinSelectionAmmo1 and/or MinSelectionAmmo2 to AltSuperShotgun. But this somehow negates MinSelectionAmmo1 effect in Standard SSG.
At this point I don't know how to resolve this issue and not break both SSGs. Maybe breaking inheritance between EriSuperShotgun and AltSuperShotgun will help, but this will change mod structure and cause code duplication, and I don't want to do any of this two things unless there is no another way.
The text was updated successfully, but these errors were encountered: