Page 1 of 4 1234 LastLast
Results 1 to 10 of 34

Thread: Team Status Dialog

  1. #1
    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)
    Last edited by Dr_Eyeball; Apr 17 2009 at 04:28. Reason: reformat

  2. #2
    Looking good, I will try it. It could help organise my group in games.

    Although is this a beta test version? because your quote:

    Quote Originally Posted by [b
    Quote[/b] ]It should be fully functioning at this stage, but will undergo some cosmetic changes soon plus new ideas may be added. (Also, the "Threats" column isn't implemented yet.)

  3. #3
    Gunnery Sergeant Dr_Eyeball's Avatar
    Join Date
    Dec 17 2005
    Location
    Australia
    Posts
    584
    Author of the Thread
    Yes, it's a BETA test version of 0.1 at this early stage. All the scripting is client side only, so it should work fine in MP. Everything that is implemented should be fully functioning.

    It is missing the "Threats" column data, so that's incomplete. Also the colors are pretty aweful at this stage. It should work at various screen resolutions, but was designed for 1280x1024 LCD and "might" not work at very low resolutions since 40 lines of text will probably be unreadable. I just need some more time to add some more things to it and hopefully get some early feedback. But it should be useable as it is for now. Thanks.

  4. #4
    Gunnery Sergeant Dr_Eyeball's Avatar
    Join Date
    Dec 17 2005
    Location
    Australia
    Posts
    584
    Author of the Thread
    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.

  5. #5
    By the way, thank you for creating this Dr_EyeBall.
    I'm not so sure you got enough appreciation sent your way for this.
    Thanks!
    ViperMaul
    Assistant Team Lead | Advanced Combat Environment
    ShackTac Community Member | www.dslyecxi.com

  6. #6
    This man is King of the GUI in my book. Dr.Eyeball is responsible for all the menus in evolution. Great stuff.

  7. #7

  8. #8
    I like his script allready but i have multiple bugs on TeamStatusDialog.sqf, he says that i have wrong parameters in line 332.

  9. #9
    Gunnery Sergeant Dr_Eyeball's Avatar
    Join Date
    Dec 17 2005
    Location
    Australia
    Posts
    584
    Author of the Thread
    Thanks for the support guys, I appreciate it (even if they are all lies. )

    @Kev, Spawn dialog: I'm surprised someone hasn't already released a spawn dialog for the public. I've posted in this other Respawn Dialog thread regarding this, to keep it on topic. I'll upload it soon.

    @Kev, call syntax: Send me a PM with your syntax you used. Or open up the sample mission file and have a look at the syntax used there via the action menu.
    It was probably a poor decision at the time, but it currently assumes that the dialog will be triggered via an Action menu. This means that it assumes the first 3 parameters will be the standard action parameters. See AddAction for details on these parameters. I might remove those in future, which would then require an additional script to execute it. For now, you can simply add 3 fake parameters to your call (if you're not using an Action Menu.)

  10. #10
    hi again, i explain what i did.

    1. i open up my description.ext and added the following line:
    #include "TeamStatusDialog\TeamStatusDialog.hpp"

    2. i added the following line to my init.sqf file:
    _Action = player addAction ["Manage Squad", "TeamStatusDialog\TeamStatusDialog.sqf", ["Team","Group","Vehicle","HideOpposition"]];

    3. i save my mission and make a first testrun.

    "Manage Squad" appears and ill check it out.
    Error message comes up and tells me, that i have an error on
    line 332.


    // PROBLEM ZONE

    TSD9_GetVehicleSeat =
    {
    _player = _this select 0;

    _seat = "";
    if (not ([_player] call TSD9_IsVehicle)) then
    {
    _vehicle = vehicle _player;
    if ([_vehicle] call TSD9_IsVehicle)
    then // This is line 332, the error is sitting here ?
    {
    if (_player == driver _vehicle) then {
    if (_vehicle isKindOf "Air")
    then { _seat = "Pilot" }
    else { _seat = "Driver" };
    };
    if (_player == gunner _vehicle) then { _seat = "Gunner" };
    if (_player == commander _vehicle) then { _seat = "Cmdr" };
    if (_seat == "" && _player in crew _vehicle) then { _seat = "Cargo" };
    };
    };

    _seat;
    };

    // PROBLEM ZONE END

    I hope i explained the error correctly.

    greetz, kev




Page 1 of 4 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •