CreateUnitSound: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 19: | Line 19: | ||
|yr=yes | |yr=yes | ||
}} | }} | ||
{{w}} {{f|Factory|InfantryType|link}} or {{f|Factory|UnitType|link}} | {{w}} must have {{f|Factory|InfantryType|link}} or {{f|Factory|UnitType|link}} or {{f|Factory|TerrainTypes|link}} or {{f|Factory|CloningType|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> |
Revision as of 05:49, 14 October 2024
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=.
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=TerrainTypes or Factory=CloningType 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.