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
Let's see what I forgot this time
Updated header-info and respective changes
Line 1: Line 1:
:''This page is about the usage of <tt>Type=</tt> in relation to sound-files; for the use on Superweapons, see [[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==
==sound(md).ini==
{{flag|name=Type|values=GLOBAL, NORMAL, SCREEN, LOCAL, PLAYER, SHROUD, UNSHROUD|special=None|default=NORMAL SCREEN UNSHROUD|games=RA2, YR}}
{{flag|name=Type|files=sound(md).ini|values=GLOBAL, NORMAL, SCREEN, LOCAL, PLAYER, SHROUD, UNSHROUD|special=None|default=NORMAL SCREEN UNSHROUD|types=Game sound sections|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:
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
*SHROUD – Can be heard only when played under shroud
Line 19: Line 19:


==eva(md).ini==
==eva(md).ini==
{{flag|name=Type|values=QUEUE|special=None|default=Unknown|games=RA2, YR}}
{{flag|name=Type|files=eva(md).ini|values=QUEUE|special=None|default=Unknown|types=EVA sound sections|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.
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).

Revision as of 15:40, 31 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): sound(md).ini
Values: GLOBAL, NORMAL, SCREEN, LOCAL, PLAYER, SHROUD, UNSHROUD
Special Values: None
Default: NORMAL SCREEN UNSHROUD
Applicable to: Game sound sections


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): eva(md).ini
Values: QUEUE
Special Values: None
Default: Unknown
Applicable to: EVA sound sections


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?