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

USA Humvee TOW Missile can time out before hitting its ground target #2423

Open
xezon opened this issue Jun 12, 2024 · 3 comments
Open

USA Humvee TOW Missile can time out before hitting its ground target #2423

xezon opened this issue Jun 12, 2024 · 3 comments
Labels
Bug Something is not working right Minor Severity: Minor < Major < Critical < Blocker USA Affects USA faction

Comments

@xezon
Copy link
Collaborator

xezon commented Jun 12, 2024

USA Humvee TOW Missile can time out before hitting its ground target.

Appears to happen when shooting on allies only, because the missile does not collide with the structure.

Does not happen when shooting on neutrals or enemies.

Happens with and without Search and Destroy.

generals.2024-06-12.20-56-26-74.mp4
@xezon xezon added Bug Something is not working right Minor Severity: Minor < Major < Critical < Blocker USA Affects USA faction labels Jun 12, 2024
@xezon
Copy link
Collaborator Author

xezon commented Jun 13, 2024

I compared HumveeMissileWeapon with MissileDefenderMissileWeapon.

Both have

RadiusDamageAffects = ALLIES ENEMIES NEUTRALS
ProjectileCollidesWith = STRUCTURES

The only major difference between their projectiles is

Object HumveeMissile
  Behavior = MissileAIUpdate ModuleTag_07
    TryToFollowTarget = No

Object MissileDefenderMissile
  Behavior = MissileAIUpdate ModuleTag_07
    TryToFollowTarget = Yes

Setting TryToFollowTarget = Yes for HumveeMissile makes it collide with Allies structures. Unclear to me how to fix it another way.

@Float1ngFree
Copy link

Enabling TryToFollowTarget = Yes is quite a buff, especially when chasing other fast units. I've enabled it in my project but for different reasons.

makes it collide with Allies structures.

If it becomes the same behavior as MD, then I'd say there's no problem with it. But you have to consider the buff from what I've described above, that's much more important.

@xezon
Copy link
Collaborator Author

xezon commented Jun 14, 2024

I am aware of the buff, and that is why TryToFollowTarget = Yes is no option. We need another method of fixing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is not working right Minor Severity: Minor < Major < Critical < Blocker USA Affects USA faction
Projects
None yet
Development

No branches or pull requests

2 participants