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

Difference between revisions of "CreateUnitSound"

From ModEnc
Jump to: navigation, search
m
m
 
(One intermediate revision by the same user not shown)
Line 19: Line 19:
 
|yr=yes
 
|yr=yes
 
}}
 
}}
{{w}} {{f|Factory|InfantryType|link}} or {{f|Factory|UnitType|link}} is required for this logic to work correctly.
+
{{w}} must have {{f|Factory|InfantryType|link}} or {{f|Factory|UnitType|link}} or {{f|Factory|BuildingType|link}} for this logic to work correctly.
 +
 
 
Specifies the sound this [[BuildingTypes]] makes when it builds or trains an [[InfantryTypes]] or [[VehicleTypes]] and the object emerges from the structure. The sound must be a valid entry from the [SoundList] in SOUND.INI.<font color="red"><br><del>Appears not be used, as the sound for this effect can be tied to each individual {{f|Factory||link}} by the {{f|CreateInfantrySound||link}}, {{f|CreateUnitSound||link}} and {{f|CreateAircraftSound||link}} statements in the [[AudioVisual]] section. In either case, this sound is over-ridden if the produced object itself has a {{f|CreateSound||link}} specified.</del></font>
 
Specifies the sound this [[BuildingTypes]] makes when it builds or trains an [[InfantryTypes]] or [[VehicleTypes]] and the object emerges from the structure. The sound must be a valid entry from the [SoundList] in SOUND.INI.<font color="red"><br><del>Appears not be used, as the sound for this effect can be tied to each individual {{f|Factory||link}} by the {{f|CreateInfantrySound||link}}, {{f|CreateUnitSound||link}} and {{f|CreateAircraftSound||link}} statements in the [[AudioVisual]] section. In either case, this sound is over-ridden if the produced object itself has a {{f|CreateSound||link}} specified.</del></font>
 
==See Also==
 
==See Also==
 
[[CreateInfantrySound]]<br>[[CreateAircraftSound]]<br>[[CreateSound]]<br>
 
[[CreateInfantrySound]]<br>[[CreateAircraftSound]]<br>[[CreateSound]]<br>

Latest revision as of 08:02, 14 October 2024

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: CreateUnitSound
File(s): Rules(md).ini
Values: Strings (names of Sounds)
Default: none
Applicable to: AudioVisual
Warning: One or more numbered subpages exist: CreateUnitSound I. These should be merged into this page.


This specifies the sound to make every time a VehicleType is created and can be any sound as defined in the SOUND.INI file. Although this works, it is unused in the game presumably because it gets a little annoying. Gets overridden by the presence of a units CreateSound=.

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: CreateUnitSound
File(s): Rules(md).ini
Values: Strings (names of Sounds)
Default: none
Applicable to: BuildingTypes
Warning: One or more numbered subpages exist: CreateUnitSound I. These should be merged into this page.


Warning small.png must have Factory=InfantryType or Factory=UnitType or Factory=BuildingType for this logic to work correctly.

Specifies the sound this BuildingTypes makes when it builds or trains an InfantryTypes or VehicleTypes and the object emerges from the structure. The sound must be a valid entry from the [SoundList] in SOUND.INI.
Appears not be used, as the sound for this effect can be tied to each individual Factory= by the CreateInfantrySound=, CreateUnitSound= and CreateAircraftSound= statements in the AudioVisual section. In either case, this sound is over-ridden if the produced object itself has a CreateSound= specified.

See Also

CreateInfantrySound
CreateAircraftSound
CreateSound