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

Mobs name randomly becomes their classname #4

Open
Bobbyperson opened this issue Apr 17, 2024 · 0 comments
Open

Mobs name randomly becomes their classname #4

Bobbyperson opened this issue Apr 17, 2024 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Bobbyperson
Copy link
Owner

After a bunch of rounds in playtesting, team assignment will be hindered because some mob's names will be their class name. After first appearing it persists until a map reload. This issue is kinda fixed by having the AssignTeams function loop through all mobs again, although teamed mobs will still briefly hate each other. When this issue appears it affects all teams, but apparently not all mobs, even if they are the same type. I do not know why this happens but I have a few ideas.

  • Bonus round logic still running
  • Lua logic accidentally renaming a vital hammer entity
  • Mobs taking too long to get their teamname (this doesn't explain why they would get their classname)
  • Leftover checks for headcrabs or manhacks spawned from other mobs
  • Insufficient post round cleanup

This is all very confusing and all of these potential causes have reasons why they aren't the issue. For example, bonus rounds do not add mob spawning logic (they only spawn mobs) and all lua logic has IsNPC.

@Bobbyperson Bobbyperson pinned this issue Apr 21, 2024
@Bobbyperson Bobbyperson added bug Something isn't working help wanted Extra attention is needed labels Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant