Skip to content

Bot Names per team - #340

Merged
Joe91 merged 24 commits into
Joe91:feature/team-bot-namesfrom
MatiasPastori:feature-botNamesPerTeam
Sep 26, 2024
Merged

Bot Names per team#340
Joe91 merged 24 commits into
Joe91:feature/team-bot-namesfrom
MatiasPastori:feature-botNamesPerTeam

Conversation

@MatiasPastori

Copy link
Copy Markdown
Collaborator

Added the necessary changes to be able to select via configs if either we want to use the original random names or the new lists with names per team.

The branch started from the latest stable release tag 2.9.1 and was tested using it. Alongisde many other mods.
No crashes at all.

Only one minor defect detected is that if we change this setting on the fly it may be imperfect, some bots spawned before or just in the same time we were choosing this new option may stay alongside the new ones with the new set of names.

This doesn't seem to be breaking or causing any error, but the only clean way of doing it is to kill all the bots, and then change the starting spawn number manually. Or Kill and create exactly the amount of bots we want with the tool to spawn them by a particular number.

Joe91 and others added 24 commits October 28, 2022 15:42
# Conflicts:
#	.github/CHANGELOG.md
#	ext/Shared/Registry/Registry.lua
#	mod.json
# Conflicts:
#	.github/CHANGELOG.md
#	ext/Server/Bot/BotMovement.lua
#	ext/Server/Bot/VehicleMovement.lua
#	ext/Shared/Registry/Registry.lua
#	mod.db
#	mod.json
# Conflicts:
#	ext/Shared/Registry/Registry.lua
#	mod.json
# Conflicts:
#	ext/Shared/Registry/Registry.lua
#	mod.json
# Conflicts:
#	ext/Shared/Registry/Registry.lua
#	mod.json
# Conflicts:
#	ext/Shared/Registry/Registry.lua
#	mod.json
…mes from the original list or to use names from 2 new lists per team :)
@Joe91

Joe91 commented Sep 26, 2024

Copy link
Copy Markdown
Owner

Wow, this really looks very good!
Since you started on the release-version there are some diffs, that cause conflicts (but I can merge them anyway).
Would you instead recommend using a Registry-option for that, to not have the issue with changing everythin on the fly? I'm fine with both ways...

@Joe91
Joe91 changed the base branch from dev to feature/team-bot-names September 26, 2024 17:56
@Joe91
Joe91 merged commit c0d00a5 into Joe91:feature/team-bot-names Sep 26, 2024
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.

2 participants