Skip to content
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

Manually empty and reload ammo #1493

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

CrimRecya
Copy link
Contributor

@CrimRecya CrimRecya commented Jan 15, 2025

  • You can now use the shortcut key to manually empty and reload ammo for units. Aircraft still needs to return to the airport to reload.
    • CanManualReload controls whether this type of techno can manually empty and reload ammo.
    • For shortcut keys’ localization add TXT_MANUAL_RELOAD and TXT_MANUAL_RELOAD_DESC into your .csf file.

In rulesmd.ini:

[SOMETECHNO]            ; TechnoType
CanManualReload=false   ; boolean

Since it will empty the ammunition first, it will use EmptyReload and EmptyReloadAmount.
You can also combine CanManualReload, NoAmmoWeapon, FeedbackWeapon and AttachEffect to make some special attack effects.

Copy link

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.

@Speederovsky
Copy link

What inspired this idea?

@CrimRecya
Copy link
Contributor Author

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.
The combination I first talked about was wave force artillery.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants