Feature #1073

Scoreboard Replacement

Added by TheCaptain over 6 years ago. Updated almost 6 years ago.

Status:Closed Start date:04/21/2009
Priority:Normal Due date:
Assignee:TheCaptain % Done:

100%

Category:Interface
Target version:0.4 Estimated time:6.00 hours
Affected Version:

Description

-Uses DEH to intercept 'i' key press
-Simplest implementation: add text to 'hint' display showing players, CoC, objectives, status, time, force strength, etc.
-Display scores for players, if appropriate.
-Context sensitive information can be updated by other modules (Eg CoC changes, sectors being captured, unit deaths)

hud1.jpg - When entering a protected sector (55.4 kB) TheCaptain, 09/09/2009 10:26

hud2.jpg - Pressing spacebar (57.9 kB) TheCaptain, 09/09/2009 10:26

hud3.jpg - When entering an active sector (Will change wording to "capture" sector instead of "Secure") (69 kB) TheCaptain, 09/09/2009 10:26

hud4.jpg - Pressing spacebar (71.4 kB) TheCaptain, 09/09/2009 10:26

hud5.jpg - When deploying initially (general info, objectives, hint, current sector, CoC info) (65 kB) TheCaptain, 09/09/2009 10:26

History

Updated by TheCaptain over 6 years ago

  • Priority changed from Low to Normal

Updated by TheCaptain over 6 years ago

  • Estimated time set to 6.00

Updated by TheCaptain over 6 years ago

  • Status changed from New to Assigned

Updated by TheCaptain about 6 years ago

Should actually intercept 'command key' keypress (spacebar) so the original scoreboard is untouched. Could be shown also on 'i' if difficulty shows the scoreboard is disabled.

Using hint may be problematic in Arma2 since the 'ping' sound is played for displayed hints. It is possible that a custom resource will be needed instead (leading to possible conflicts). Hint could be used in arma1 without a problem. Or, in A2, values would only update once after a context sensitive update or spacebar press, freeing the game from the need to display the values every second.

This would be the shown text display. When items changed (like objectives, force strength, time remaining, etc, the board will show the appropriate entry on screen for ~10 seconds and it will fade out. This needs to be asynchronous so different values can appear and disappear. When the spacebar is held all values will be displayed continuously irrespective of the 'shown' ones.)

Mission Name
Date and Time
Time Remaining
Force Name
Force Strength

Hint: Current context sensitive hint is displayed

Objectives: [X/X]
[flags represent held and needing to be captured objectives]

Current Objective: (only when inside a location)
[flag status of each sector]

Unit Name: (When a member of the platoon joins, deploys, retreats, or is killed
[Unit Member Name, Class, Status, Location]

EXAMPLE:

Ramahdi
1800 26.2.1985
Time Remaining: 30:29
USMC Task Force Sword
Force Strength: 30%
Objectives: 1/7
[US][CIV][CIV][CIV][SLA][SLA][SLA]

Hint: Press T,Y,U to switch between team members.

Objective: Airfield
Deploy Zone: DZ Alpha
[US][SLA][US]

Unit: 1st Platoon
HQ-1-A: The Captain
Main Battle Tank (FG34)
1-1-A: Antagonist
Rifle Squad (FG23)
2-1-A: AGTMADCAT
Mortar (1:23)

Updated by TheCaptain about 6 years ago

List of hints:

When in a friendly sector:

When in a Neutral or Enemy sector:

When in a friendly sector that is linked to a DZ:

When in an enemy sector that is linked to a DZ:

When initially deployed as a platoon member:

When initially deployed as a platoon leader:

When initially deployed as a commander of other platoons (leader of a platoon leading other platoons):

When a vehicle based platoon with a disabled or destroyed vehicle:

When an infantry based platoon with squad at low strength:

When force strength is low:

When force strength is critical:

When only one more enemy sector to capture:

When only one remaining friendly sector:

When spawning as a specific type of unit with special capabilities:
(eg: airborne infantry, mortar, engineers)

When time reaches a critical level

Updated by TheCaptain almost 6 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Hint system in place (hints can be displayed by other modules and will appear on player's hud along with context sensitive info)
Context sensitive information display generally works (time remaining, flag captures when player is in sector, objective captures, force strength (platoons arriving and players killed), CoC status when players deploy)
Spacebar brings up all relevant information
Other code modules can use one line of code to force a hint to display
Hints are shown asynchronously so any piece of code and start any hint and they will display/hide themselves automatically after the prescribed time without overlaying each other.

Updated by kju almost 6 years ago

Any chance of a screenshot please. :)

Updated by TheCaptain almost 6 years ago

Screenshots showing various times when the information is displayed. Nothing fancy. I changed the implementation so that it does not replace the scoreboard (which shows normally upon 'i' press and can be disabled server side). It is possible I might eventually replace the scoreboard. For now this is a workable player-information-tactical display.

Updated by kju almost 6 years ago

looks good.tx

Also available in: Atom PDF