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

OACMPDM3 - Bots broken in OneFlag mode. Some errors in gametype/!gametype keys usage might be related. #56

Open
The-Gig opened this issue May 3, 2024 · 0 comments

Comments

@The-Gig
Copy link
Collaborator

The-Gig commented May 3, 2024

Noticed with version 230430, however the issue seems to be affecting also oacmpvol1v3 version.
Oneflag mode is basically broken for bots. Bots tend to get the white flag and then to remain there. In case they move from there, then they roam the map aimlessly without being able to reach the destination obelisk. Bots seem to be able to play Harvester and DD instead.

Looking into the .map, I see there are some errors with usage of gametype and !gametype in some entities and func_static brushes near the gametype-specific items locations, maybe they might be confusing the bots?

Look at this screenshot: that func_static brush has got both "gametype/oneflag harvester" and "!gametype/oneflag harvester", which makes no sense. As there are different func_static brushes (color coded and not) in the same place to be shown depending from the gametype, maybe one time they were selected with Shift-Click instead of Click and so NetRadiant selected all of them at the same time, and then one key was added to all of them instead of only one of the two?
Furthermore, there is also "gametpe" key, which is clearly a typo (It looks like the "typo" has been copied over various times, as counting for "gametpe" inside the .map file results 15 matches, including some weapons. It shouldn't cause harm I guess, as each one of those entities has also got its proper !gametype key, however it shouldn't be there.).
immagine

Bot just standing at the white flag spawn instead of trying to score:
shot0011

And some screenshots which show that, despite the errors in gametype/!gametype keys usage, the func_static brushes under the gametype objectives look correctly, so easily passed past the radar. The screenshots can be used as guideline when fixing the keys:
Red flag area in Harvester mode:
shot0012
(Note: there is another red flag in the map. It's in the same place of the white flag and is used in DD mode instead (point A). And there is also a DD-specific blue flag (point B) in another place.).
Same area in FFA mode:
shot0013

White flag/railgun area in OneFlag mode (railgun is purposedly removed in OneFlag mode, to let the white flag spawn there):
shot0015
The same area in FFA mode:
shot0014

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

1 participant