Skip to content

Conversation

Fly-Star-him
Copy link
Contributor

@Fly-Star-him Fly-Star-him commented Apr 16, 2025

Technology types are free to enable WeaponX and use them as usable weapons.

  • TechnoType reads WeaponX as their weapon when MultiWeapon=yes, be careful not to forget WeaponCount.
  • MultiWeapon.IsSecondary can only be used for infantry and is responsible for determining which weapons should use SecondaryFire in the Sequence.
  • MultiWeapon.SelectWeapon determines how many weapons can be selected. maximum value is 4, minimum value is 1, defaults to 2.

In rulesmd.ini:

[SOMETECHNO]          ; TechnoType
MultiWeapon=          ; boolean
MultiWeapon.SelectWeapon=          ; integer

[SOMEINFANTRY]                 ; InfantryType
MultiWeapon.IsSecondary=       ; List of integers

科技类型可以自由启用WeaponX并将它们作为可用武器使用。

  • MultiWeapon=yes时科技类型会读取WeaponX作为它的武器,同时注意不要忘记写WeaponCount
  • MultiWeapon.IsSecondary只对步兵有效,它会负责判断哪些武器开火时播放副武器动作帧。
  • MultiWeapon.SelectWeapon决定哪些武器可以被选择。最大值为4,最小值为1,默认2。

Copy link

github-actions bot commented Apr 16, 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.

@Fly-Star-him Fly-Star-him changed the title [Multi Weapon] Free use of WeaponX [Multi Weapon] Use WeaponX Apr 16, 2025
@Fly-Star-him Fly-Star-him changed the title [Multi Weapon] Use WeaponX [MultiWeapon] Use WeaponX Apr 16, 2025
@TaranDahl TaranDahl added ❓New feature ⚙️T2 T2 maintainer review is sufficient labels Apr 16, 2025
@Coronia Coronia added the Tested label Apr 17, 2025
@Fly-Star-him Fly-Star-him changed the title [MultiWeapon] Use WeaponX [MultiWeapon] MultiWeapon May 2, 2025
@Fly-Star-him Fly-Star-him changed the title [MultiWeapon] MultiWeapon MultiWeapon May 2, 2025
@Coronia Coronia requested a review from CrimRecya May 6, 2025 07:11
@Threepeater-E
Copy link

Fabulous invention! But I still wonder how it interacts with tags that determine primary or secondary weapon selection... like ForceWeapon, etc.

@Fly-Star-him
Copy link
Contributor Author

Fabulous invention! But I still wonder how it interacts with tags that determine primary or secondary weapon selection... like ForceWeapon, etc.

ForceWeapon is high priority.

@Fly-Star-him Fly-Star-him deleted the Multi branch May 13, 2025 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓New feature ⚙️T2 T2 maintainer review is sufficient Tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants