-
Notifications
You must be signed in to change notification settings - Fork 148
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 ability to name groups in lobby #667
Conversation
I think it would be neat if this would automatically do |
@jonpas You can already change the "Callsign" attribute of the group to do this. This is broken in MP in vanilla, but also fixed in CBA (unrelated to this). |
Also, as @rebelvg pointed out, you can use the same lobby name for multiple groups on the same side twice, which the Callsign attribute doesn't allow for. |
Semi-colon Otherwise, why not something like that: |
Make |
1 Platoon | 2 Squad | Squad Leader\|1'2 |
How about using another symbol as separator? There are many left e.g.: |
|
lgtm: |
Changed it to |
you are a fucking god 🥇 |
When merged this pull request will:
They said it's impossible and it kinda is, except for this method. The only information that can be send to a client in the lobby is the role descriptions of the slots.
remoteExec
doesn't work and the description.ext is only available to the server machine.By hiding our custom group name inside the role name of the first slot of the group, we can replace the default group name with anything using listbox fuckery.
This is how it looks:
Using "Team Leader@Team 1", the result will be a slot named "Team Leader" and the group will be named "Group 1".
@
is the magic separator.Result:
Since this doesn't require any information from the description.ext (slot names are send anyway to anyone in the lobby) this does work for clients.
Negatives:
All old slot names using
@
will be cut off on the first@
, but I doubt anyone uses this.The slot has to be named for a group name to be chosen and it has to be manually entered.
If no respawn is used in the mission, not only the group leader, but all units have to add the group name. This is because only the first unit of the group is checked and dead units are removed from the group permanently including their slot from the lobby.