-
-
Notifications
You must be signed in to change notification settings - Fork 103
MultiWeapon #1630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
MultiWeapon #1630
Conversation
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. |
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. |
Technology types are free to enable WeaponX and use them as usable weapons.
WeaponX
as their weapon whenMultiWeapon=yes
, be careful not to forgetWeaponCount
.MultiWeapon.IsSecondary
can only be used for infantry and is responsible for determining which weapons should useSecondaryFire
in theSequence
.MultiWeapon.SelectWeapon
determines how many weapons can be selected. maximum value is 4, minimum value is 1, defaults to 2.In
rulesmd.ini
:科技类型可以自由启用WeaponX并将它们作为可用武器使用。
MultiWeapon=yes
时科技类型会读取WeaponX
作为它的武器,同时注意不要忘记写WeaponCount
。MultiWeapon.IsSecondary
只对步兵有效,它会负责判断哪些武器开火时播放副武器动作帧。MultiWeapon.SelectWeapon
决定哪些武器可以被选择。最大值为4,最小值为1,默认2。