Skip to content

Conversation

@TaranDahl
Copy link
Contributor

@TaranDahl TaranDahl commented Jan 9, 2026

Update the projectile immediately after firing to reduce useless firing

  • In vanilla, newly created projectiles are added to the end of the update list. This will result in some useless firing.
    • For example: If two snipers aim at an infantry simultaneously (and either of them can kill the infantry), they will still fire together in the same frame. Because when the sniper who fires later shoots, the projectile of the sniper who fires first has not exploded yet, so the target infantry is still alive.
  • Now you can update the projectile once when it is fired through the following flag, so as to avoid the above situation.

In rulesmd.ini:

[General]
UpdateInvisoImmediately=false    ; boolean

[SOMEPROJECTILE]                 ; Projectile
UpdateImmediately=               ; boolean, default to (`[General] -> UpdateInvisoImmediately` && `Inviso=yes`)
- Interfering with the update sequence may cause problems. Please use this feature with caution. If you encounter any issues, please provide feedback.

@TaranDahl TaranDahl added ❓New feature Tested ⚙️T1 T1 maintainer review is sufficient labels Jan 9, 2026
@github-actions
Copy link

github-actions bot commented Jan 9, 2026

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

❓New feature ⚙️T1 T1 maintainer review is sufficient Tested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant