OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Resources Beta Testing & Submission => Topic started by: Dr Eyeball on 20 Mar 2007, 02:51:19
-
I have created a Team Status Dialog for ArmA 1.05. I have a thread (http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?;act=ST;f=71;t=60075) on the BIS forums about it. It should be fully functioning at this stage.
Features:
- Group joining
- Team Leader selection
- Grid of statistics for team/group/vehicle/opposition
Download: Sample mission including Team Status Dialog v1.0 files
v1.3 Download (http://www.ofpec.com/ed_depot/index.php?action=details&id=412)
Screenshots: (reduced from 1280x1024 to 800x600)
- Team view (http://i111.photobucket.com/albums/n125/Dr_Eyeball/ArmA/ArmA_TeamStatusDialog1.jpg) - including collapsable groups
- Group view (http://i111.photobucket.com/albums/n125/Dr_Eyeball/ArmA/ArmA_TeamStatusDialog2.jpg)
- Vehicle view (http://i111.photobucket.com/albums/n125/Dr_Eyeball/ArmA/ArmA_TeamStatusDialog3.jpg) - including spare seats
- Opposition team view (http://i111.photobucket.com/albums/n125/Dr_Eyeball/ArmA/ArmA_TeamStatusDialog4.jpg)
(http://s111.photobucket.com/albums/n125/Dr_Eyeball/ArmA/th_ArmA_TeamStatusDialog1.jpg) (http://s111.photobucket.com/albums/n125/Dr_Eyeball/ArmA/th_ArmA_TeamStatusDialog2.jpg) (http://s111.photobucket.com/albums/n125/Dr_Eyeball/ArmA/th_ArmA_TeamStatusDialog3.jpg) (http://s111.photobucket.com/albums/n125/Dr_Eyeball/ArmA/th_ArmA_TeamStatusDialog4.jpg)
Purpose:
The dialog features:
- Group joining
- Team Leader selection
- Grid of statistics for team/group/vehicle/opposition
The bulk of it is purely informational with stats about your team, group or vehicle. It should greatly increase the situational awareness in-game, without providing unfair or unrealistic advantage. Also the existing scoreboard doesn't even show a full player list - only 10 names.
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 plus spare seats
- Opposition: displays limited opposition team info
These 4 formats are accessed via the 3 buttons: "My team", "My group", "My vehicle" & "Opposition".
The columns displayed include:
- Group expand/collapse button
- Group count & player ID
- Group name, player name or vehicle position info
- Vehicle name
- Seat
- Role
- Special Gear - list of Weapons & Ammo
- MP Score
- Currently issued commands
- Requiments - list of requirements for player and/or vehicle
- Current map position grid coordinates
- Squad leader proximity
- My proximity - is the player's proximity to you
- Target assigned to player
- Buttons to join/leave group or assign team leaders
Functionality:
- On the "Team" list, 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. Currently only the "Gear" and "Requires" columns have this.
Problems, bugs & incomplete features:
- The "Threats" column info isn't implemented yet. - Now "targets". Done
- All the scripting is client side only, so it should work fine in MP.
Future improvements:
- Add the "Threats" column info.
- I might make it more interactive to initiate & share common requests to all players.
- Might add voting (eg: kick & admin) if possible.
- Add CollapseAll/ExpandAll buttons
- Display limited info on opposition team - Done
- Handle more than 40 rows
- join/leave/create groups - Done
- parameters - Some added
- param to change row count & color scheme
- extra vehicle details using field's list on Team screen
- progress status label - Can't, due to slow refresh
Help required:
- getting "ctrlShow [_idc2, true/false];" working - fixed
- Info on whether this can be converted into a mod for use in any mission, rather than including it in each mission.
I can't seem to find commands to obtain:
- TK count
- other scoring (kill breakdown by type, as on ArmA score screen)
- ping
- reliable player ID (might partly use ID from "WEST 1-1-A-8")
- show or group by assigned color team
- show a button as an image (eg: up/down arrow image)
Basic Usage: (for more details, see readme.txt file)
- in your description.ext file, add a line with:
#include "TeamStatusDialog\TeamStatusDialog.hpp"
- in your init.sqf file, add a line with:
_Action = player addAction ["> Team Status", "TeamStatusDialog\TeamStatusDialog.sqf", "Team"];
Feedback:
See the BIS forum link above for more details. Let us know what you think of it.
-
DR Eyeball your script screen shot links don't work ... but I was kind enough to fix them. :P
-
Very well made, seems impressive and a lot of work has probably gone into this. Nice can be handy.
-
Version 1.0 is now available.
It now features:
- Group joining
- Team Leader selection
- Grid of statistics for team/group/vehicle & now opposition team
You need to try out the Group Joining and Team Leader Selection in-game for yourself. It seems to work quite nicely.
I changed the "Threats" column into a "Targets" column. Added an Opposition Team list page. Tidied up color scheme. New parameters.
See the first post for futher details and download links.
-
reliable player ID (might partly use ID from "WEST 1-1-A-8")
DR Eyeball,
Could you use CDKEY?
I saw code in someone's mission, I would have to find it again, where it seemed the author was able to capture the CDKey of a player which could be used as a Player ID.
Thoughts anyone?
-
Uhm using the CDKey of someone? Don't think I'd like such a feature.
-
Yeh you wouldn't need CD key. It's not useful unless you want to ban/kick/vote them. Just keep that for the #userlist command.
Very nice dialog though. Is this the one in the Evolution coop ?
-
@ViperMaul: Unfortunately, you can't use the ID from "WEST 1-1-A-8" because it changes when you switch groups. Apparently the CDKEY command only works on a dedicated server. This would limit the use of the dialog to only work on a dedicated servers, so you couldn't use it in SP or client hosted games.
The onPlayerConnected command has _id and _name, but there's still nothing to connect that _id with a player with 100% reliability, in order to get a player id from a player object. Hope BIS add an getID command in future.
-
Very nice dialog though. Is this the one in the Evolution coop ?
Yes. This is the one or version of the same.
-
Quick notice that this script has been updated to version 1.3 now on BIS forums (http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?act=ST;f=71;t=60075). (Minor release.)
Could someone update this entry: OFPEC Editors Depot - Team Status Dialog (http://www.ofpec.com/ed_depot/index.php?action=details&id=412&game=ArmA), which is at ver 1.1.
Feature wise for the user, there is nothing significantly different. The changes are mostly script improvements to simplify developer usage and robustness.
Thanks in advance.
-
Could someone update this entry: OFPEC Editors Depot - Team Status Dialog (http://www.ofpec.com/ed_depot/index.php?action=details&id=412&game=ArmA), which is at ver 1.1.
Oh wow this link still appears to be set to 1.1.
Nice work Dr Eyeball.
-
Updated hosted resource (http://www.ofpec.com/ed_depot/index.php?action=details&id=412)to 1.3 and altered your download link to point at our hosted resource (the link was dead anyway). I'm afraid you do have to ask us to update your resources, preferably also attaching the new version to the release post, since we don't monitor the BIS forums just to keep up to date.
Note that you can also attach full-sized screen-shots directly to the release post if you wish.
-
If server.armaprofile has NetStats=0, would be nice to blank the "score".
/* NOT TESTED ! modified from Xeno's Domination */
TSD9_GetScoreTotal = {
_player = _this select 0;
if ([_player] call TSD9_IsVehicle || not difficultyEnabled "netStats") then {
"--"
} else {
format["%1", score _player]
};
};
-
I've added french translations in the stringtable file... :good:
Language,English,French,German