Channel IDs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
Line 12: Line 12:


= Channel Explanation =  
= Channel Explanation =  
In the following, 'content' will be used instead of marker, voice or message)
{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
! Channel ID !! Channel Name !! Usage
! Channel ID !! Channel Name !! Usage
|-
|-
|| -1 || None || Is used when a marker is created with [[createMarker]] but no channel ID was defined. Markers in "none" channel are visible in all other channels as well
|| -1 || None || Is used when a marker is created with [[createMarker]] but no channel ID was defined. Markers in "none" channel are visible in all other channels as well.
|-
|-
| 0 || Global ||  
| 0 || Global || Content is visible for all players.
* Markers are visible for all players
* Voice is audible for all player
* Chat messages are visible for all players
|-
| 1 || Side ||
|-
|-
| 1 || Side || Content is only visible to the [[side]] of the player who created it.
|-
|-
| 2 || Command || Example
| 2 || Command || Example
|-
|-
| 3 || Group || Group Chat. This channel cannot be disabled. It's the default fallback channel if all other channels are disabled.
| 3 || Group || Group Chat. This channel cannot be disabled. It's the default fallback channel if all other channels are disabled. Content is only visible for the players in the group of the player who created it.
|-
|-
| 4 || Vehicle || For in-vehicle communication
| 4 || Vehicle || For in-vehicle communication. Content is only visible to the vehicle's crew.
|-
|-
| 5 || Direct || Voice is only audible for nearby players. {{AnswerMe|What about markers and chat?}}
| 5 || Direct || Voice is only audible for nearby players. {{AnswerMe|What about markers and chat?}}
|-
|-
| 6 - 15 || Custom Channels || Custom channels can be created on the fly. See [[radioChannelCreate]]. Markers, voice and chat will only be visible / audible for players which have been assigned to this channel.
| 6 - 15 || Custom Channels || Custom channels can be created on the fly. See [[radioChannelCreate]]. Content will only be available for players which have been assigned to this channel. See [[radioChannelAdd]].
|-
|-
|}
|}

Revision as of 18:25, 24 October 2020

Template:wip This page will explain channel IDs for markers, radio and chat. Channel IDs are the same for markers, chat and Voice Over Net (VON).

The following systems use channel IDs:

  • Chat
  • Radio (Sentences, for example support calls)
  • VON
  • markers

Introduction

Channel Explanation

In the following, 'content' will be used instead of marker, voice or message)

Channel ID Channel Name Usage
-1 None Is used when a marker is created with createMarker but no channel ID was defined. Markers in "none" channel are visible in all other channels as well.
0 Global Content is visible for all players.
1 Side Content is only visible to the side of the player who created it.
2 Command Example
3 Group Group Chat. This channel cannot be disabled. It's the default fallback channel if all other channels are disabled. Content is only visible for the players in the group of the player who created it.
4 Vehicle For in-vehicle communication. Content is only visible to the vehicle's crew.
5 Direct Voice is only audible for nearby players. Template:AnswerMe
6 - 15 Custom Channels Custom channels can be created on the fly. See radioChannelCreate. Content will only be available for players which have been assigned to this channel. See radioChannelAdd.
  • Besides the above listed channels, there are also other channels not available through sqf, with the only exception being systemChat.

Channel Colours

xChat.jpg
driver vehicle player sideChat "sideChat";
driver vehicle player globalChat "globalChat";
driver vehicle player groupChat "groupChat";
vehicle player vehicleChat "vehicleChat";
driver vehicle player commandChat "commandChat";
driver vehicle player customChat [1, "customChat"];
systemChat "systemChat";