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

Enemy Aircraft are too aggressively despawned #3311

Open
ante185 opened this issue Jun 22, 2024 · 3 comments
Open

Enemy Aircraft are too aggressively despawned #3311

ante185 opened this issue Jun 22, 2024 · 3 comments

Comments

@ante185
Copy link

ante185 commented Jun 22, 2024

the script handling CAS and airstrikes, and likely other enemy aircraft.
Doesn't have much of any gameplay impact, but it is very disappointing when you miss out on revenge because the plane despawns after taking slight damage.

@jaj22
Copy link

jaj22 commented Jun 24, 2024

Not sure which case you're referring to. They do go into vehDespawner which deletes them if they're >1km from rebel spawners, but that only fires after 60 seconds so it seems unlikely to be what you're talking about. The secondary despawner simply deletes them when they reach their return waypoint over the airport. Not sure what you're expecting them to do there.

@Tiny-DM
Copy link

Tiny-DM commented Jun 24, 2024

Not sure which case you're referring to. They do go into vehDespawner which deletes them if they're >1km from rebel spawners, but that only fires after 60 seconds so it seems unlikely to be what you're talking about. The secondary despawner simply deletes them when they reach their return waypoint over the airport. Not sure what you're expecting them to do there.

Airstrikes normally work as intended, especially with the preference to spawn farther away now. CAS planes, after they do their third run, will often disappear about 10 seconds after the aircraft reaches the lowest point of the dive. I think possibly the vehDespawner is added too early, so the plane conducts the strike first and disappears at the 60 second marker.

@jaj22
Copy link

jaj22 commented Jun 26, 2024

Ah right, vehDespawner isn't relevant here and it's groupDespawner that's doing the cleanup. That one's on a 10-second timer for whatever reason. CAS adds the despawners immediately after support termination, while the airstrike routine only adds the despawners if the aircraft fails to reach the return waypoint within a timeout.

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

No branches or pull requests

3 participants