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
Implement g_bot_{aliens,humans}AvoidStruct #1550
base: master
Are you sure you want to change the base?
Implement g_bot_{aliens,humans}AvoidStruct #1550
Conversation
8a17078
to
387e8da
Compare
|
rebased |
|
What kind of tutorial level? How would it be useful? |
|
You can ask the player to attack a buildable and be sure bots on your team will not do it for you. |
|
Interesting this function wasn't used before. |
Indeed. I intend to use this on maps with disabled ckit though, and the map placement should be carefully enough to avoid that kind of pitfall |
|
Then it becomes not usable where its possible to build, like low skill servers. This is only about bots accidental damaging buildings right? Besides that, i think BotEnableArea should be renamed to something else if there is no BotDisableArea anymore. |
|
I would rather see you get your tutorial working first and host a server with your mod. Then people can try it, and we can decide whether people like it enough that it should be merged (and that it architecturally makes sense to merge things rather than having them as an independent branch). Development of most mods is abandoned before reaching a playable state. And you may decide later that you want to implement things differently. Thus I'm hesitant to integrate this (fairly intrusive) code early. |
|
I think it's a good idea to have it, it could even be part of some “dynamic bot skill” at some point, like when you join, bots would not attack buildables until a real player do some kills, along the idea of increasing the bot skill based on real player kill ratio, within the same game. |
|
Note that due to the way enabling and disabling navmesh works, this may cause conflicts with #1229. But according to Gireen « I don't think that this is used in any of our maps so far. » so it shouldn't cause any regression. This would need a deeper refactor of how disabling navmesh is handled to fix properly. |
I didn't touch the weapon ones because freem has a PR that already edit it
This is groundwork for a tutorial level. I guess it may be useful for a low-skill bot server too?
387e8da
to
6904487
Compare
|
Avoiding structs by hiding their navmesh won't always work, for 2 reasons:
Also, it means that someone on a building would be "hidden" from bots, and if that's a bot, it will be stuck. |
|
ping. |
This is groundwork for a tutorial level. I guess it may be useful for a low-skill bot server too?
This implementation is quite dirty, I'm not not too happy with it either. Don't hesitate to suggest improvements.