Skip to content

New VEF_VerbRangeFactor stat implementation#164

Open
a-certain-existence wants to merge 1 commit intoVanilla-Expanded:mainfrom
a-certain-existence:new-weapon-range-factor-implementation
Open

New VEF_VerbRangeFactor stat implementation#164
a-certain-existence wants to merge 1 commit intoVanilla-Expanded:mainfrom
a-certain-existence:new-weapon-range-factor-implementation

Conversation

@a-certain-existence
Copy link

@a-certain-existence a-certain-existence commented Jan 24, 2026

This PR proposes a new implementation for VEF_VerbRangeFactor stat, and fixes an issue that multiple pawns can’t be ordered to aim at the same target in a batch if:

  • They all have weapon range factors that are not 1.
  • Their weapons are the same.

This issue affects mods that uses VEF_VerbRangeFactor, like Alpha Memes, Vanilla Skills Expanded and Vanilla Quests Expanded - Ancients.

I have tested this locally against ranged weapons and apparels that provide ranged weapons, it seems to work fine. Range indicators are correctly drawn, melee weapons and turret buildings are correctly ignored.

@a-certain-existence a-certain-existence force-pushed the new-weapon-range-factor-implementation branch 3 times, most recently from d7e06f7 to f04908e Compare February 14, 2026 04:57
@a-certain-existence a-certain-existence force-pushed the new-weapon-range-factor-implementation branch from f04908e to edeab7d Compare February 21, 2026 00:53
@a-certain-existence a-certain-existence changed the title New weapon range factor implementation New VEF_VerbRangeFactor stat implementation Mar 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant