MultiWeapon
You are free to decide whether to use Weapon x or not, instead of passively using Primary/secondary.
您可以自由决定是否启动WeaponX,而不是只能使用主/副武器。
-
TechnoType reads
WeaponXas their weapon whenMultiWeapon=yes, be careful not to forgetWeaponCount.MultiWeapon=yes时会读取WeaponX作为他们的武器,注意不要忘记了WeaponCount。 -
MultiWeapon.IsSecondarycan only be used by infantry, who will play the animationSecondaryFirewhen using these weapons.MultiWeapon.IsSecondary只能用于步兵,使用这些武器时步兵会播放SecondaryFire。 -
MultiWeapon.SelectCountdetermines 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
Nightly build for this pull request:
- compiled-dll-fab14530ec0702d6296cd291c3f1be55397f7d95.zip These artifacts will expire in 90 days and will not be available for download after that time.
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.
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.