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

Difference between revisions of "Type"

From ModEnc
Jump to: navigation, search
(Correcting evamd values and defaults)
(Fixing flag template, needtesting, needs rewording on the dz-explanations where possible)
Line 2: Line 2:
  
 
==sound(md).ini==
 
==sound(md).ini==
{{flag|name=Type|files=sound(md).ini|values=GLOBAL, NORMAL, SCREEN, LOCAL, PLAYER, SHROUD, UNSHROUD|default=NORMAL SCREEN UNSHROUD|types=Game sound sections|ra2=yes|yr=yes|rp=yes}}
+
{{flag
This flag controls how and under which circumstances this section's sound is played. According to The Guide, the values set the following:
+
|files={{Ini|sound}}
*SHROUD – Can be heard only when played under shroud
+
|values={{Values|stringlist|hardcoded values, see below|separator=Whitespace}}
*UNSHROUD – Can be heard only when played when not under shroud
+
|default=SCREEN
*PLAYER – Can be heard only by the player causing this sound event to be played
+
|types={{Categ|SoundList|VocTypes}}
*LOCAL – Can be heard only at its point of origin and at the distance from its Range=
+
|ra2=yes
*SCREEN – Can be heard only if a player is viewing the part of the map on which it is played
+
|yr=yes
*GLOBAL – Can be heard by all players across the whole map
+
|rp=yes}}
  
DeeZire also lists
+
This flag controls how and under which circumstances this section's sound is played.
*NOISE_SHY – Over-ride, sound does not play if other sounds are being played
 
*GUN_SHY – Over-ride, sound does not play if sounds with greater Volume= are being played
 
but like most of his priority-values, these are nowhere to be found in the INI. It is possible that they were found in the EXE, if anyone has verified these values, please edit this page accordingly.
 
  
Notice that, like indicated in the default-field, you can use multiple values on <tt>Type=</tt>, seperated by a blank space. As with <tt>Priority</tt>, while the values are all all-caps in the comments, they vary in their capitalization when actually used.
+
=== Special values ===
 +
 
 +
All of these are case-insensitive.
 +
 
 +
*AMBIENT
 +
*VIOLENT
 +
*MOVEMENT
 +
*QUIET
 +
*LOUD
 +
*GLOBAL - Can be heard by all players across the whole map
 +
*SCREEN - Can be heard only if a player is viewing the part of the map on which it is played
 +
*LOCAL - Can be heard only at its point of origin and at the distance from its Range=
 +
*PLAYER - Can be heard only by the player causing this sound event to be played
 +
*NORMAL - no effect
 +
*GUN_SHY - Over-ride, sound does not play if sounds with greater Volume= are being played
 +
*NOISE_SHY - Over-ride, sound does not play if other sounds are being played
 +
*UNSHROUD - Can be heard only when played when not under shroud
 +
*SHROUD - Can be heard only when played under shroud
 +
 
 +
=== See Also ===
 +
* {{TTL|Control}}
  
 
==eva(md).ini==
 
==eva(md).ini==
{{flag|name=Type|files=eva(md).ini|values=QUEUE, STANDARD, INTERRUPT, QUEUED_INTERRUPT (case-insensitive)|special=None|default=STANDARD|types={{Categ|DialogList|VoxTypes}}|ra2=yes|yr=yes|rp=yes}}
+
{{flag
 +
|name=Type
 +
|files={{Ini|eva}}
 +
|values={{Values|Stringlist|hardcoded values, see below|separator=Whitespace}}
 +
|default=STANDARD
 +
|types={{Categ|DialogList|VoxTypes}}
 +
|ra2=yes
 +
|yr=yes
 +
|rp=yes}}
 +
 
 
In eva(md).ini, this flag, if present, is only set to QUEUE. There are, however, hundreds of sections omitting it, suggesting there's a default value. Whether this is QUEUE or something else is not known.
 
In eva(md).ini, this flag, if present, is only set to QUEUE. There are, however, hundreds of sections omitting it, suggesting there's a default value. Whether this is QUEUE or something else is not known.
 
If this flag is present and set to QUEUE, the voice in it's section will be played after the currently playing voices have finished (the alternative being that it gets ignored).
 
If this flag is present and set to QUEUE, the voice in it's section will be played after the currently playing voices have finished (the alternative being that it gets ignored).
  
 
''Note that this questions the use of the alleged QUEUE and QUEUE_INTERRUPT values of <tt>[[Priority]]</tt>. What would you need a priority of QUEUE for, if the type tells the game to queue the sound anyway?''
 
''Note that this questions the use of the alleged QUEUE and QUEUE_INTERRUPT values of <tt>[[Priority]]</tt>. What would you need a priority of QUEUE for, if the type tells the game to queue the sound anyway?''
[[Category:INI Flags]]
+
 
[[Category:sound(md).ini Flags]]
+
== Special values ==
[[Category:eva(md).ini Flags]]
+
 
 +
{{NeedTesting}}
 +
All of these are case-insensitive. More information is needed to determine their exact effects.
 +
*QUEUE
 +
*STANDARD
 +
*INTERRUPT
 +
*QUEUED_INTERRUPT
 +
 
 +
[[Category: sound(md).ini Flags]]
 +
[[Category: eva(md).ini Flags]]

Revision as of 19:48, 25 April 2008

This page is about the usage of Type= in relation to sound-files; for the use on Superweapons, see Types.

sound(md).ini

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: Type
File(s): sound(md).ini
Values: Whitespace-separated list of strings. (Limited to: hardcoded values, see below)
Default: SCREEN
Applicable to: VocTypes


This flag controls how and under which circumstances this section's sound is played.

Special values

All of these are case-insensitive.

  • AMBIENT
  • VIOLENT
  • MOVEMENT
  • QUIET
  • LOUD
  • GLOBAL - Can be heard by all players across the whole map
  • SCREEN - Can be heard only if a player is viewing the part of the map on which it is played
  • LOCAL - Can be heard only at its point of origin and at the distance from its Range=
  • PLAYER - Can be heard only by the player causing this sound event to be played
  • NORMAL - no effect
  • GUN_SHY - Over-ride, sound does not play if sounds with greater Volume= are being played
  • NOISE_SHY - Over-ride, sound does not play if other sounds are being played
  • UNSHROUD - Can be heard only when played when not under shroud
  • SHROUD - Can be heard only when played under shroud

See Also

eva(md).ini

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: Type
File(s): eva(md).ini
Values: Whitespace-separated list of strings. (Limited to: hardcoded values, see below)
Default: STANDARD
Applicable to: VoxTypes


In eva(md).ini, this flag, if present, is only set to QUEUE. There are, however, hundreds of sections omitting it, suggesting there's a default value. Whether this is QUEUE or something else is not known. If this flag is present and set to QUEUE, the voice in it's section will be played after the currently playing voices have finished (the alternative being that it gets ignored).

Note that this questions the use of the alleged QUEUE and QUEUE_INTERRUPT values of Priority. What would you need a priority of QUEUE for, if the type tells the game to queue the sound anyway?

Special values

Template:NeedTesting All of these are case-insensitive. More information is needed to determine their exact effects.

  • QUEUE
  • STANDARD
  • INTERRUPT
  • QUEUED_INTERRUPT