Skip to content

Conversation

@NetsuNegi
Copy link
Contributor

@NetsuNegi NetsuNegi commented Nov 28, 2025

In vanilla game, when using type selection command on IFVs, all of them will be selected regardless of their current modes, which is allowed to customize now.

  • WeaponGroupAsN determines which group the IFV is in when enabling WeaponN, where N stands for 1-based weapon mode index. IFVs in the same group will be selected together during type a selection, while not included those in different groups.
  • TypeSelectUseIFVMode determines whether all IFV modes will be considered as its own group by default during a type selection.
    • If it's set to true, WeaponGroupAsN will be default to N for each WeaponN, which makes each of them become a standalone type during a type selection.
    • If it's set to false, WeaponGroupAsN will be default to 0 for all weapons, which makes type selection on IFVs work the same as before.

In rulesmd.ini:

[General]
TypeSelectUseIFVMode=false   ; boolean

[SOMEVEHICLE]                ; VehicleType
WeaponGroupAsN=              ; string, default to N if [General] -> TypeSelectUseIFVMode=true, and 0 if false

@NetsuNegi NetsuNegi added Needs testing ⚙️T1 T1 maintainer review is sufficient labels Nov 28, 2025
@github-actions
Copy link

github-actions bot commented Nov 28, 2025

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

@TaranDahl TaranDahl added the ❓Unhardcoding / Customization Make something more tweakable label Nov 28, 2025
Copy link
Contributor

@TaranDahl TaranDahl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other things LGTM.

@Coronia Coronia merged commit 865921d into Phobos-developers:develop Nov 29, 2025
6 checks passed
DeathFishAtEase added a commit to DeathFishAtEase/Phobos that referenced this pull request Nov 29, 2025
@NetsuNegi NetsuNegi deleted the origin/feature/typeselect branch November 29, 2025 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚙️T1 T1 maintainer review is sufficient Tested ❓Unhardcoding / Customization Make something more tweakable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants