Home   Help Search Login Register  

Author Topic: Team Status Dialog (ACCEPTED)  (Read 5270 times)

0 Members and 1 Guest are viewing this topic.

Offline Dr Eyeball

  • Members
  • *
Team Status Dialog (ACCEPTED)
« on: 20 Mar 2007, 02:51:19 »
I have created a Team Status Dialog for ArmA 1.05. I have a thread 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

Screenshots: (reduced from 1280x1024 to 800x600)


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.
« Last Edit: 13 Dec 2008, 13:43:47 by Spooner »

Offline hoz

  • OFPEC Site
  • Administrator
  • *****
Re: Team Status Dialog
« Reply #1 on: 20 Mar 2007, 04:41:02 »
DR Eyeball your script screen shot links don't work ... but I was kind enough to fix them.  :P

Xbox Rocks

Offline Cheetah

  • Former Staff
  • ****
Re: Team Status Dialog
« Reply #2 on: 20 Mar 2007, 15:18:53 »
Very well made, seems impressive and a lot of work has probably gone into this. Nice can be handy.
Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions!

Offline Dr Eyeball

  • Members
  • *
Re: Team Status Dialog
« Reply #3 on: 23 Mar 2007, 12:03:03 »
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.

Offline ViperMaul

  • Members
  • *
    • Theatre Of War (Team PvP Campaign)
Re: Team Status Dialog
« Reply #4 on: 15 May 2007, 03:30:40 »
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?
ViperMaul
Theatre of War (Co-Lead Dev)
ACE (Jr Project Manager)

Offline Cheetah

  • Former Staff
  • ****
Re: Team Status Dialog
« Reply #5 on: 15 May 2007, 09:44:05 »
Uhm using the CDKey of someone? Don't think I'd like such a feature.
Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions!

Offline JasonO

  • OFPEC Patron
  • ****
  • Oh no...
    • The New Life RPG
Re: Team Status Dialog
« Reply #6 on: 15 May 2007, 18:16:42 »
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 ?

Offline Dr Eyeball

  • Members
  • *
Re: Team Status Dialog
« Reply #7 on: 19 May 2007, 07:10:01 »
@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.

Offline ViperMaul

  • Members
  • *
    • Theatre Of War (Team PvP Campaign)
Re: Team Status Dialog
« Reply #8 on: 19 May 2007, 08:53:57 »
Very nice dialog though. Is this the one in the Evolution coop ?

Yes. This is the one or version of the same.
ViperMaul
Theatre of War (Co-Lead Dev)
ACE (Jr Project Manager)

Offline Dr Eyeball

  • Members
  • *
Re: Team Status Dialog (ACCEPTED)
« Reply #9 on: 10 Nov 2008, 01:47:57 »
Quick notice that this script has been updated to version 1.3 now on BIS forums. (Minor release.)

Could someone update this entry: OFPEC Editors Depot - Team Status Dialog, 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.

Offline ViperMaul

  • Members
  • *
    • Theatre Of War (Team PvP Campaign)
Re: Team Status Dialog (ACCEPTED)
« Reply #10 on: 13 Dec 2008, 05:53:00 »
Could someone update this entry: OFPEC Editors Depot - Team Status Dialog, which is at ver 1.1.
Oh wow this link still appears to be set to 1.1.
Nice work Dr Eyeball.
ViperMaul
Theatre of War (Co-Lead Dev)
ACE (Jr Project Manager)

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: Team Status Dialog (ACCEPTED)
« Reply #11 on: 13 Dec 2008, 13:40:05 »
Updated hosted resource 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.
« Last Edit: 13 Dec 2008, 13:51:46 by Spooner »
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)

Offline alef

  • Members
  • *
Re: Team Status Dialog (ACCEPTED)
« Reply #12 on: 13 Apr 2009, 19:43:56 »
If server.armaprofile has NetStats=0, would be nice to blank the "score".
Code: [Select]
/* 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]
        };   
};
« Last Edit: 13 Apr 2009, 20:00:17 by alef »

Offline fleepee

  • Members
  • *
  • Enter the Matrix!
Re: Team Status Dialog (ACCEPTED)
« Reply #13 on: 09 Oct 2009, 19:40:40 »
I've added french translations in the stringtable file... :good:
Language,English,French,German