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

Type: Difference between revisions

From ModEnc
Jump to navigation Jump to search
m redirecting to "Types"
 
Let's see what I forgot this time
Line 1: Line 1:
#REDIRECT [[Types]]
:''This page is about the usage of <tt>Type=</tt> in relation to sound-files; for the use on Superweapons, see [[Types]].''
 
==sound(md).ini==
{{flag|name=Type|values=GLOBAL, NORMAL, SCREEN, LOCAL, PLAYER, SHROUD, UNSHROUD|special=None|default=NORMAL SCREEN UNSHROUD|games=RA2, YR}}
This flag controls how and under which circumstances this section's sound is played. According to The Guide, the values set the following:
*SHROUD – Can be heard only when played under shroud
*UNSHROUD – Can be heard only when played when not under shroud
*PLAYER – Can be heard only by the player causing this sound event to be played
*LOCAL – Can be heard only at its point of origin and at the distance from its Range=
*SCREEN – Can be heard only if a player is viewing the part of the map on which it is played
*GLOBAL – Can be heard by all players across the whole map
 
DeeZire also lists
*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.
 
==eva(md).ini==
{{flag|name=Type|values=QUEUE|special=None|default=Unknown|games=RA2, YR}}
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 <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]]

Revision as of 15:31, 9 May 2005

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): rules(md).ini
Values: GLOBAL, NORMAL, SCREEN, LOCAL, PLAYER, SHROUD, UNSHROUD
Special Values: None
Default: NORMAL SCREEN UNSHROUD


This flag controls how and under which circumstances this section's sound is played. According to The Guide, the values set the following:

  • SHROUD – Can be heard only when played under shroud
  • UNSHROUD – Can be heard only when played when not under shroud
  • PLAYER – Can be heard only by the player causing this sound event to be played
  • LOCAL – Can be heard only at its point of origin and at the distance from its Range=
  • SCREEN – Can be heard only if a player is viewing the part of the map on which it is played
  • GLOBAL – Can be heard by all players across the whole map

DeeZire also lists

  • 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 Type=, seperated by a blank space. As with Priority, while the values are all all-caps in the comments, they vary in their capitalization when actually used.

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): rules(md).ini
Values: QUEUE
Special Values: None
Default: Unknown


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?