ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Control: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Rewriting (BOLLOCKS on DZ's list)
Nighthawk200 (talk | contribs)
Tested and updated.
Line 10: Line 10:
This flag describes the special properties affecting the playback of this sound.  
This flag describes the special properties affecting the playback of this sound.  


{{Flag
|name={{PAGENAME}}
|files={{Categ|ini=sound}}
|types={{Categ|VocTypes}}
|values={{values|special}}
|ra2=yes
|yr=yes
|rp=yes
}}
== Special values ==
== Special values ==


{{NeedTesting}}
All of these are case-insensitive..
All of these are case-insensitive. More information is required to determine the exact effects of each value.


*ALL
{| align="center" cellpadding="4" class="table_descrow"
*LOOP
!Control value
*RANDOM
!Effect
*PREDELAY
|-
*INTERRUPT
|ALL
*ATTACK - special logic, inverts the (booleanized<!-- INI parser loads Attack as an integer, including ATTACK in Control assumes Attack is a boolean, call 1-800-WTF -->) value of {{TTL|Attack}} of this sound
|All sounds listed in the {{TTL|Sounds}} tag are played in order.
*DECAY - special logic, inverts the (booleanized<!-- see above-->) value of {{TTL|Decay}} of this sound <!-- DC: yeah, cause editing the Decay itself is too complex :/ -->
|-
*AMBIENT
|LOOP
|If RANDOM is not specified, will loop the first sound in {{TTL|Sounds}} indefinitely, or until the number specified in {{TTL|Loop}} is reached.
|-
|RANDOM
|Will play a sound chosen at random from {{TTL|Sounds}}. Only useful if you have more than one sound in {{TTL|Sounds}}.
|-
|PREDELAY
|Only has an effect if the {{TTL|Delay}} tag has been set. Picks a value between the minimum and maximum delays (defined in milliseconds), and waits for that amount of time before playing the sound).
|-
|INTERRUPT
|Controls whether this sound can interrupt other currently playing sounds.
|-
|ATTACK
|special logic, inverts the (booleanized<!-- INI parser loads Attack as an integer, including ATTACK in Control assumes Attack is a boolean, call 1-800-WTF -->) value of {{TTL|Attack}} of this sound
|-
|DECAY
|special logic, inverts the (booleanized<!-- see above-->) value of {{TTL|Decay}} of this sound <!-- DC: yeah, cause editing the Decay itself is too complex :/ -->
|-
|AMBIENT
|The sound is treated as an ambient background sound, so is not affected by INTERRUPT.
|}


<!-- DZ-list:
<!-- DZ-list:

Revision as of 22:49, 20 June 2008

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: Control
File(s): sound(md).ini
Values: Whitespace-separated list of strings. (Limited to: hardcoded values, see below )
Default: blank
Applicable to: VocTypes


This flag describes the special properties affecting the playback of this sound.

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: Control
File(s): sound(md).ini
Values: Values that don't conform to any typical format (see article)
Applicable to: VocTypes


Special values

All of these are case-insensitive..

Control value Effect
ALL All sounds listed in the Template:TTL tag are played in order.
LOOP If RANDOM is not specified, will loop the first sound in Template:TTL indefinitely, or until the number specified in Template:TTL is reached.
RANDOM Will play a sound chosen at random from Template:TTL. Only useful if you have more than one sound in Template:TTL.
PREDELAY Only has an effect if the Template:TTL tag has been set. Picks a value between the minimum and maximum delays (defined in milliseconds), and waits for that amount of time before playing the sound).
INTERRUPT Controls whether this sound can interrupt other currently playing sounds.
ATTACK special logic, inverts the (booleanized) value of Template:TTL of this sound
DECAY special logic, inverts the (booleanized) value of Template:TTL of this sound
AMBIENT The sound is treated as an ambient background sound, so is not affected by INTERRUPT.