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
m (Stylistic Edits and minor fixes)
(Combined with Types)
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]].'''''
+
==For SupwerWeaponTypes==
 +
{{Flag
 +
|values={{Values|strings|hardcoded values{{Sup|[[{{PAGENAME}}#Accepted_Values1|{{Arr|d}}]]}}}}
 +
|types={{Categ|SuperWeaponTypes}}
 +
|ts=yes
 +
|fs=yes
 +
|ets=yes
 +
|ra2=yes
 +
|yr=yes
 +
|rp=yes
 +
}}
 +
This determines the effect of a [[SuperWeaponType]] once it is activated by a player.
 +
 
 +
=== <span id="Accepted_values1">Accepted values</span> ===
 +
 
 +
==== In Tiberian Sun====
 +
{| class="table_descrow" cellpadding="5"
 +
!Value
 +
!Internal ID
 +
!Remarks
 +
|-
 +
|<code>MultiMissile</code>
 +
|0x00
 +
|
 +
|-
 +
|<code>EMPulse</code>
 +
|0x01
 +
|
 +
|-
 +
|<code>Firestorm</code>
 +
|0x02
 +
|
 +
|-
 +
|<code>IonCannon</code>
 +
|0x03
 +
|
 +
|-
 +
|<code>HunterSeeker</code>
 +
|0x04
 +
|
 +
|-
 +
|<code>ChemMissile</code>
 +
|0x05
 +
|
 +
|-
 +
|<code>DropPod</code>
 +
|0x06
 +
|
 +
|}
 +
 
 +
==== In Red Alert 2====
 +
{| class="table_descrow" cellpadding="5"
 +
!Value
 +
!Internal ID
 +
!Remarks
 +
|-
 +
|<code>MultiMissile</code>
 +
|0x00
 +
|The Nuke
 +
|-
 +
|<code>IronCurtain</code>
 +
|0x01
 +
|
 +
|-
 +
|<code>LightningStorm</code>
 +
|0x02
 +
|
 +
|-
 +
|<code>ChronoSphere</code>
 +
|0x03
 +
|This is the SuperWeapon selecting the units to chronowarp.
 +
|-
 +
|<code>ChronoWarp</code>
 +
|0x04
 +
|This is the SuperWeapon selecting the chronowarp destination.
 +
|-
 +
|<code>ParaDrop</code>
 +
|0x05
 +
|
 +
|-
 +
|<code>AmerParaDrop</code>
 +
|0x06
 +
|
 +
|}
 +
 
 +
==== In Yuri's Revenge====
 +
In addition to the accepted values in Red Alert 2, the following are also valid:
 +
{| class="table_descrow" cellpadding="5"
 +
!Value
 +
!Internal ID
 +
!Remarks
 +
|-
 +
|<code>PsychicDominator</code>
 +
|0x07
 +
|
 +
|-
 +
|<code>SpyPlane</code>
 +
|0x08
 +
|
 +
|-
 +
|<code>GeneticConverter</code>
 +
|0x09
 +
|
 +
|-
 +
|<code>ForceShield</code>
 +
|0x0A
 +
|
 +
|-
 +
|<code>PsychicReveal</code>
 +
|0x0B
 +
|
 +
|}
 +
 
 +
==For VoxTypes==
 +
 
 +
===In sound(md).ini===
  
==In sound(md).ini==
 
 
{{flag
 
{{flag
 
|files={{Ini|sound}}
 
|files={{Ini|sound}}
|values={{Values|stringlist|hardcoded values{{Sup|[[{{PAGENAME}}#Accepted_Values1|{{Arr|d}}]]}}|separator=Whitespace}}
+
|values={{Values|stringlist|hardcoded values{{Sup|[[{{PAGENAME}}#Accepted_Values2|{{Arr|d}}]]}}|separator=Whitespace}}
 
|default=SCREEN
 
|default=SCREEN
 
|types={{Categ|SoundList|VoxTypes}}
 
|types={{Categ|SoundList|VoxTypes}}
Line 13: Line 127:
 
This flag controls how and under which circumstances this section's sound is played.
 
This flag controls how and under which circumstances this section's sound is played.
  
=== <span id="Accepted_values1">Accepted values</span> ===
+
==== <span id="Accepted_values2">Accepted values</span> ====
  
 
All of these are case-insensitive.
 
All of these are case-insensitive.
  
{| align="center" cellpadding="4" class="table_descrow"
+
{| class="table_descrow" cellpadding="5"
 
!Value
 
!Value
 
!Effect
 
!Effect
Line 64: Line 178:
 
|}
 
|}
  
=== See also ===
+
==== See also ====
 
* {{TTL|Control}}
 
* {{TTL|Control}}
  
==In eva(md).ini==
+
===In eva(md).ini===
 +
 
 
{{flag
 
{{flag
 
|name=Type
 
|name=Type
 
|files={{Ini|eva}}
 
|files={{Ini|eva}}
|values={{Values|Stringlist|hardcoded values{{Sup|[[{{PAGENAME}}#Accepted_Values2|{{Arr|d}}]]}}|separator=Whitespace}}
+
|values={{Values|Stringlist|hardcoded values{{Sup|[[{{PAGENAME}}#Accepted_Values3|{{Arr|d}}]]}}|separator=Whitespace}}
 
|default=STANDARD
 
|default=STANDARD
 
|types={{Categ|DialogList|VoxTypes}}
 
|types={{Categ|DialogList|VoxTypes}}
Line 83: Line 198:
 
''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?''
  
=== <span id="Accepted_values2">Accepted values</span> ===
+
==== <span id="Accepted_values3">Accepted values</span> ====
  
 
{{NeedTesting}}
 
{{NeedTesting}}

Revision as of 02:10, 28 April 2008

For SupwerWeaponTypes

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: Strings: Normal text. (Limited to: hardcoded values)
Applicable to: SuperWeaponTypes


This determines the effect of a SuperWeaponType once it is activated by a player.

Accepted values

In Tiberian Sun

Value Internal ID Remarks
MultiMissile 0x00
EMPulse 0x01
Firestorm 0x02
IonCannon 0x03
HunterSeeker 0x04
ChemMissile 0x05
DropPod 0x06

In Red Alert 2

Value Internal ID Remarks
MultiMissile 0x00 The Nuke
IronCurtain 0x01
LightningStorm 0x02
ChronoSphere 0x03 This is the SuperWeapon selecting the units to chronowarp.
ChronoWarp 0x04 This is the SuperWeapon selecting the chronowarp destination.
ParaDrop 0x05
AmerParaDrop 0x06

In Yuri's Revenge

In addition to the accepted values in Red Alert 2, the following are also valid:

Value Internal ID Remarks
PsychicDominator 0x07
SpyPlane 0x08
GeneticConverter 0x09
ForceShield 0x0A
PsychicReveal 0x0B

For VoxTypes

In 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)
Default: SCREEN
Applicable to: VoxTypes


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

Accepted values

All of these are case-insensitive.

Value Effect
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 Template:TTL
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

In 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)
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?

Accepted values

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

  • QUEUE
  • STANDARD
  • INTERRUPT
  • QUEUED_INTERRUPT