-
-
Notifications
You must be signed in to change notification settings - Fork 105
[General Purpose] Manually empty and reload ammo #1493
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?
[General Purpose] Manually empty and reload ammo #1493
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. |
What inspired this idea? |
A unit that does not require ammunition and can overload (just like a skill), or a unit consumes a lot in the first round but the sustained firepower is insufficient. |
2128644
to
799ea22
Compare
is it possible to add a shortcut to trigger this by deploy command? Think that'll be easier to be used by players than adding a new hotkey |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, there are no major issues.
However, Ammo may not be a commonly used springboard. Perhaps detonating warheads on units or something similar would be more universal?
Yes, so there is |
CanManualReload
controls whether this type of techno can manually empty and reload ammo.CanManualReload.WhenFull
controls whether can manually empty and reload ammo when the ammo is full.CanManualReload.ResetROF
controls whether need to reset rearm timer when manually empty and reload ammo.CanManualReload.DetonateWarhead
controls whether need to detonate a warhead at the techno's location withDamage=Ammo
when manually empty and reload ammo.CanManualReload.DetonateConsume
controls whetherCanManualReload.DetonateWarhead
require the techno to have more ammo than this value (or equal to) before reloading in order to detonate.TXT_MANUAL_RELOAD
andTXT_MANUAL_RELOAD_DESC
into your.csf
file.In
rulesmd.ini
:Since it will empty the ammunition first, it will use
EmptyReload
andEmptyReloadAmount
.You can also combine
CanManualReload
,NoAmmoWeapon
,FeedbackWeapon
andAttachEffect
to make some special attack effects.