Version 1.3 of Team Status Dialog is now available.
Features:
- Group joining
- Team Leader selection
- Grid of statistics for team/group/vehicle/opposition
Download:
Screenshots:

Basic Usage: (for more details, see extract below or readme.txt file)
Code Sample
Code:
- in stringtable.csv file, add a line with:
#include "Scripts\TeamStatusDialog\stringtable.csv"
Match "Language" columns (if needed).
- copy the "Scripts\TeamStatusDialog" folder to your mission folder
- in your description.ext file, add a line with:
#include "Scripts\TeamStatusDialog\TeamStatusDialog.hpp"
- in your init.sqf file, add a line with:
_Action = player addAction ["Team Status", "Scripts\TeamStatusDialog\TeamStatusDialog.sqf", ["Page", "Team"] ];
Extract from Readme file:
Code:
Quote
--------------------------------------------------------------------------------
PURPOSE
--------------------------------------------------------------------------------
Team Status Dialog for Armed Assault mission designers.
Group joining:
- You may join another group
- You may start a new empty group with yourself as TL (team leader)
Team Leader selection:
- As TL, you may select a replacement TL
- If the current group's TL is an A.I. player, then you may become the new TL
The dialog displays your team's group information in 4 formats:
- Team: displays all groups in your team
- Group: displays all members of your group
- Vehicle: displays all groups in your occupied vehicle
- Opposition Team: displays a list of all opposition players but no tactical details, (which you can hide if you don't want it)
These 4 formats are accessed via the 4 buttons: "My team", "My group", "My vehicle".
Functionality:
- The first column has buttons to collapse/expand the group's details.
- The last column has buttons. Group rows allow you to join/leave a group and player rows allow you to assign new team leaders.
- Some columns have drop down lists for extra detail, marked with a "+" in their title.
- The base line has buttons to 'Collapse All'/'Expand All' rows.
--------------------------------------------------------------------------------
USAGE
--------------------------------------------------------------------------------
To use the Team Status Dialog in your mission, you can simply access it via the
Action menu, the Radio menu or any other way.
To access it via the Action menu, do the following:
- in stringtable.csv file, add a line with:
#include "Scripts\TeamStatusDialog\stringtable.csv"
- copy the "Scripts\TeamStatusDialog" folder to your mission folder
- in your description.ext file, add a line with:
#include "Scripts\TeamStatusDialog\TeamStatusDialog.hpp"
- in your init.sqf file, add a line with:
_Action = player addAction [
"Team Status",
"Scripts\TeamStatusDialog\TeamStatusDialog.sqf",
[
["Page", "Team"], // Page to show initially (only include 1 of these 4 "Page" options)
//["Page", "Group"],
//["Page", "Vehicle"],
//["Page", "Opposition"],
"ShowAIGroups", // AI are excluded by default, but can be included with this option.
"AllowAIRecruitment", // Place-holder code: Allow AI players to be recruited into your group from other AI groups
"AllowPlayerInvites" // Place-holder code: Invite another real player into your group. Currently only sends a chat message.
/*
['VehicleObject', _vehicle], // usually use this with ["Page", "Vehicle"] option, good for use when in/outside of vehicle
// you can include 1 or more of these "Hide" options to hide a particular page & button
"HideTeam", // hide 'team' page & button
"HideGroup", // hide 'group' page & button
"HideVehicle", // hide 'vehicle' page & button
"HideOpposition", // hide 'opposition' page & button
"HideIcons", // hide icons used for vehicles & weapons lists
"DeleteRemovedAI", // Upon removing an AI player from your group, delete the AI player
"AllowAILeaderSelect", // Allow player to select an AI player as new leader, otherwise only real players can be selected
"CloseOnKeyPress", // Close the dialog upon pressing any key.
*/
],
0, false, true, "" ];
- The "Page" parameter can be left out or used with "Team", "Group", "Vehicle" or
"Opposition" to force the default view to the specified page.
- The "HideOpposition" parameter will hide the Opposition button to prevent
viewing the Opposition page.
Other examples and notes are included in the sample mission and readme file.
Future Plans:
- If players not in group with others, show them under "Individuals" banner, rather than squads.
- introduce 2 alternate views/grouping concepts:
- include players in your vicinity (eg 300m radius) as being involved in the same objective
- allow tagging of players not in your group to be listed as being part of your "tagged group" of buddies. This has the benefit of not slowing down clients by having players in one large group being slowed by excessive data synchronising. Eg: 2+ players, 8+ AI, 1+ vehicles (especially with AI drivers or subordinate player drivers)
- perhaps show empty vehicles in a list too
- group & sort vehicle units crew as single sub-group (mark first crewman row as header row, similar to group header row)
- detect multiple turret seats properly. Either calculate with a script or use 1.05 assignedVehicleRole maybe.
- convert all triggers which detect all units to call "vehicles" command instead (note says it doesn't handle infantry though).
- add voting (eg: kick & admin) if possible.
- Handle more/less than 40 rows
- creating groups - allow group naming
- finish or add: group invites, group join requests, group kicking & group locking
- more parameters
- param to change row count & color scheme
- Extra columns (dynamically resized) for general 3rd party use (eg: display rank or player progress, etc)
- make it more interactive to initiate & share common requests or status to all players. (eg: pick-up, AT assistance, repairs, taking-off in 30 seconds, etc)
Missing script commands:
- TK count, other scoring (kill breakdown), ping
- reliable player ID
- show or group by assigned color team
- show a button as an image (eg: up/down arrow image)
- 'getCurrentWaypoint' (to correspond with 'setCurrentWaypoint' )
- 'getTeam' (to correspond with 'assignTeam' )
Credits:
Schwab - for German string table translations
Spinor & other CoC CEX developers - for pos2grid.cpp (modified)