CreateUnitSound: Difference between revisions
No edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Flag | ||
|name={{PAGENAME}} | |||
|files={{Categ|Rules(md).ini}} | |||
|values=Strings (names of [[Sound]]s) | |||
|default=none | |||
|types={{categ|AudioVisual}} | |||
|ra2=yes | |||
|yr=yes | |||
}} | |||
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=. | 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 | |||
|name={{PAGENAME}} | |||
|files={{Categ|Rules(md).ini}} | |||
|values=Strings (names of [[Sound]]s) | |||
|default=none | |||
|types={{categ|BuildingTypes}} | |||
|ra2=yes | |||
|yr=yes | |||
}} | |||
{{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> | |||
==See Also== | |||
[[CreateInfantrySound]]<br>[[CreateAircraftSound]]<br>[[CreateSound]]<br> |
Latest revision as of 06:02, 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=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.