Phobos icon indicating copy to clipboard operation
Phobos copied to clipboard

MultiWeapon

Open Fly-Star-him opened this issue 7 months ago • 1 comments

multiweapons You are free to decide whether to use Weapon x or not, instead of passively using Primary/secondary. 您可以自由决定是否启动WeaponX,而不是只能使用主/副武器。

  • TechnoType reads WeaponX as their weapon when MultiWeapon=yes, be careful not to forget WeaponCount. MultiWeapon=yes时会读取WeaponX作为他们的武器,注意不要忘记了WeaponCount

  • MultiWeapon.IsSecondary can only be used by infantry, who will play the animation SecondaryFire when using these weapons. MultiWeapon.IsSecondary只能用于步兵,使用这些武器时步兵会播放SecondaryFire

  • MultiWeapon.SelectCount determines the number of weapons that can be selected. The lower the number the better the performance. The default is 2. MultiWeapon.SelectCount决定可选择的武器数量。数量越少性能越好。默认为 2。

In rulesmd.ini:

[SOMETECHNO]                    ; TechnoType
MultiWeapon=                    ; boolean
MultiWeapon.IsSecondary=        ; List of integers
MultiWeapon.SelectCount=       ; integer

Fly-Star-him avatar Jun 02 '25 13:06 Fly-Star-him

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.

github-actions[bot] avatar Jun 02 '25 14:06 github-actions[bot]

I found an odd bug for multi-weapons and goes like so:

MultiWeapon.IsSecondary=-1 ; List of integers

doing this crashes the entire game for some reason I intended to disable this function, but it causes crashes isntead.

Bu7loos avatar Oct 21 '25 12:10 Bu7loos