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

CreateUnitSound

From ModEnc
Revision as of 06:02, 14 October 2024 by Testid123 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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.


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