Spearhead 1944 Nametags: Difference between revisions
Jump to navigation
Jump to search
m (added usage) |
m (update) |
||
Line 1: | Line 1: | ||
{{TOC|side}} | {{TOC|side}} | ||
[[Spearhead 1944]] introduces a scripted nametag system. While it was designed for the campaign to aid new players it can also be enabled in other scenarios. | [[Spearhead 1944]] introduces a scripted nametag system. While it was designed for the campaign to aid new players it can also be enabled in other scenarios. | ||
Nametags can be shown by pressing {{Controls|^}}. Double tap {{Controls|^}} to toggle permanent mode. In singleplayer the nametags are shown for all members of the player's group. In multiplayer, they are shown for all group members of groups that have a player in it. | |||
[[File: spe_nametags_preview.jpg|500px]] | |||
= Setup = | = Setup = | ||
Line 19: | Line 23: | ||
== Setting Descriptions == | == Setting Descriptions == | ||
= | {| class="wikitable" | ||
|- | |||
! Setting !! Description !! Default Value !! [[missionNamespace]] Variable | |||
|- | |||
| Enable Nametags || Toggles the nametags system on/off. || [[true]] || {{hl|spe_options_client_nametags_enabled}} | |||
|- | |||
| Enable Shadows || Draws a drop shadow behind the text and icon for better legibility. || [[true]] || {{hl|SPE_Options_Client_NameTags_Shadow}} | |||
|- | |||
| Red || Red color amount. || 1 (100%) || {{hl|SPE_Options_Client_NameTags_Color_R}} | |||
|- | |||
| Red || Green color amount. || 1 (100%) || {{hl|SPE_Options_Client_NameTags_Color_G}} | |||
|- | |||
| Red || Blue color amount. || 1 (100%) || {{hl|SPE_Options_Client_NameTags_Color_B}} | |||
|- | |||
| Draw Distance || How many meters the nametags are going to be visible. The nametags will start fading out at {{hl|drawDistance/1.5}} meters. || 150 || {{hl|SPE_Options_Client_NameTags_DistMax}} | |||
|- | |||
| Height Offset || Height offset in meters from original position. || 0 || {{hl|SPE_Options_Client_NameTags_Offset}} | |||
|- | |||
| Icon Size || Icon size in percent. || 0.8 (80%) || {{hl|SPE_Options_Client_NameTags_IconSize}} | |||
|- | |||
| Text Size || Text size in percent. || 0.8 (80%) || {{hl|SPE_Options_Client_NameTags_TextSize_Modifier}} | |||
|- | |||
| Show Icon || Toggle the visiblity of the icon on/off. || 0.8 (80%) || {{hl|SPE_Options_Client_NameTags_ShowIcon}} | |||
|- | |||
| Reset Settings || Resets settings to default value. For this option to take effect, the settings UI needs to be closed by pressing {{hl|OK}}. || [[false]] || {{hl|-}} | |||
|} | |||
[[Category: Spearhead 1944]] | [[Category: Spearhead 1944]] |
Revision as of 16:12, 10 August 2023
Spearhead 1944 introduces a scripted nametag system. While it was designed for the campaign to aid new players it can also be enabled in other scenarios.
Nametags can be shown by pressing ^. Double tap ^ to toggle permanent mode. In singleplayer the nametags are shown for all members of the player's group. In multiplayer, they are shown for all group members of groups that have a player in it.
Setup
Put the following code into the initPlayerLocal.sqf.
[] call SPE_MISSIONUTILITYFUNCTIONS_fnc_NameTags;
The system will then be initialized on every client.
Settings
Accessing Settings Menu
The nametag system comes with the option to be customized by the player. The settings menu can be found in the pause menu ESC. Settings are only available after a scneario has started.
Setting Descriptions
Setting | Description | Default Value | missionNamespace Variable |
---|---|---|---|
Enable Nametags | Toggles the nametags system on/off. | true | spe_options_client_nametags_enabled |
Enable Shadows | Draws a drop shadow behind the text and icon for better legibility. | true | SPE_Options_Client_NameTags_Shadow |
Red | Red color amount. | 1 (100%) | SPE_Options_Client_NameTags_Color_R |
Red | Green color amount. | 1 (100%) | SPE_Options_Client_NameTags_Color_G |
Red | Blue color amount. | 1 (100%) | SPE_Options_Client_NameTags_Color_B |
Draw Distance | How many meters the nametags are going to be visible. The nametags will start fading out at drawDistance/1.5 meters. | 150 | SPE_Options_Client_NameTags_DistMax |
Height Offset | Height offset in meters from original position. | 0 | SPE_Options_Client_NameTags_Offset |
Icon Size | Icon size in percent. | 0.8 (80%) | SPE_Options_Client_NameTags_IconSize |
Text Size | Text size in percent. | 0.8 (80%) | SPE_Options_Client_NameTags_TextSize_Modifier |
Show Icon | Toggle the visiblity of the icon on/off. | 0.8 (80%) | SPE_Options_Client_NameTags_ShowIcon |
Reset Settings | Resets settings to default value. For this option to take effect, the settings UI needs to be closed by pressing OK. | false | - |