CRI ADX
Last Updated: 2024-07-17 10:47 p
|
Selectors and selector labels are used to switch the material to be played depending on the situation.
Selectors are managed in the Selectors folder in the global settings under the project tree. Labels can be created as child elements of selectors.
For example, you can create a selector (type of floor) and the associated labels (dirt, grass, concrete, wood and gravel) to play different footstep sounds based on the type of surface the player is walking on.
In ADX, if you set a cue to a player and start it, a sound will be played.
If you set a selector label to a player and start it, the way the cues affected by the selector label sound will change.
In the tool, you will design this change in sound.
The selector label can be specified from the set selector label of a program or action.
If you do not set a selector label for the player, the track will be played according to the default selector label setting in the data.
The selector label used to determine the track to play when playing a cue is checked in the following order and used as the specified value.
(1) The selector label setting value set for the player that played the cue that requires a selector label. (Track transition by switch, polyphonic, selector)
(2) The selector label setting value set using the Set Selector Label action with the cue that requires a selector label as the target. (Track transition by polyphonic, selector)
(3) The cue's "default selector label" setting value. (Track transition by switch, polyphonic, selector)
(4) The selector's "global label" setting value. (Track transition by switch, selector)
Strong | Weak | ||
---|---|---|---|
Player | -> Action | -> Default selector label for the cue | -> Global selector label |
Player | Action | Default selector label for the cue | Global selector label |
---|---|---|---|
(Label_A) | (Label_B) | (Label_C) | (Label_D) |
Player | Action | Cue default selector label | Selector global label |
---|---|---|---|
(Not set) | (Label_B) | (Label_C) | (Label_D) |
Player | Action | Cue default selector label | Selector global label |
---|---|---|---|
(Not set) | (Not set) | (Label_C) | (Label_D) |
Player | Action | Cue default selector label | Selector global label |
---|---|---|---|
(Not set) | (Not set) | (Not set) | (Label_D) |
By specifying selector labels in units of cues or players, control with a smaller impact range can be performed.
The selector's "Global Reference Selector Label" setting can also be changed programmatically.
If global environment switching is required in the game, such as weather or game level, you can control the whole selector by specifying the label to be applied to it.
If you want to set the selector label in the settings of the cue, specify this in the "Default reference selector label" of the cue.
This setting is used for polyphonic type cues or when you want to prepare a unique initial selector label for each cue.
You then assign the selector to a Cue, and its labels to different Tracks.
Selectors and labels are only valid for the following sequence types:
Even if it is set to any other type, it will be ignored.
Cues of type Switch require a selector or a game variable. When a selector is set to a Cue, a label must be assigned to its Track(s).
Synth type | Timing of application when selector label is changed | Notes |
---|---|---|
Polyphonic | Switches when waveform region starts playing | Waveform regions already playing are not affected |
Switch | Switches when cue starts playing | Waveform regions already playing are not affected |
Track transition by selector | Switches immediately while waveform region is playing | Affects waveform regions already playing |
When a selector label is set for a track, a comparison process is performed with the selector label specified by the program when the waveform region in the track is played.
The selector label is checked when track playback begins.
When the sequence is played, if the selector label specified in the program matches the selector label set for the track, the track will be played.
If the selector label information does not match or the selector label cannot be found, the cue will not sound.
A selector label is compared by the program even during Waveform Region playback on a track.
It is also possible to transition tracks in sync with a beat, making it suitable for music.