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

add bot action extinguishFire, add extinguish_fire.bt, use them #2957

Merged
merged 4 commits into from Mar 27, 2024

Conversation

sweet235
Copy link
Contributor

Make one alien bot devolve to advanced granger, and extinguish burnings alien buildables (if possible). The bot will only put out the fire on burning buildables, not fire on the map geometry. This is similar to the human bots being able to repair damaged buildables, but maybe more useful in practice.

Extinguishing fire is only reasonable near the overmind, because a bot has to reach the overmind, then devolve, and then reach the burning buildables. If this procedure takes too long, the fire vanishes by itself or the buildable is destroyed. Spawning as advanced granger is not useful, as the spawn point might be far away from the burning buildables.

I hope this will contribute to the discussions about wheter the firebomb is too strong. As our current bots only build on the floor, their bases are vulnerable to fire.

src/sgame/sg_bot_ai.cpp Outdated Show resolved Hide resolved
@slipher
Copy link
Contributor

slipher commented Mar 24, 2024

LGTM

@sweet235 sweet235 merged commit d5b0514 into Unvanquished:master Mar 27, 2024
6 checks passed
@sweet235 sweet235 deleted the bot-extinguish-fire branch May 11, 2024 18:55
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.

None yet

2 participants