Usage:
ObjectTemplate.LoadSoundScript
soundscript
Argument values:
argument 1: | ../../../../../Objects/Vehicles/Land/AA_Base/Sounds/AA_AlliesGunBase.ssc, ../../../../../Objects/Vehicles/Land/AA_Base/Sounds/AA_Allies_Cannon.ssc, ../../../../../Objects/Vehicles/Land/AA_Base/Sounds/AA_Allies_Carriage.ssc, ... |
Description: Sets the sound script for a particular object.
Used in object types (and how often in each type): ActiveKitPart (100%), AnimatedBundle (18%), AreaObject (100%), Bundle (3%), ClusterProjectile (100%), EffectBundle (35%), Engine (81%), FireArms (79%), HandFireArms (96%), LandingGear (22%), PlayerControlObject (1%), Projectile (61%), RotationalBundle (35%), SonarObject (100%), SupplyDepot (61%), Winch (100%), Wing (14%), simpleobject (3%)
Used in a total of 683 .con files: Anzio_river.con, Beach1.con, Beach2.con, Beach3.con, Beach4.con, Beach5.con, Biglake.con, Birdintree.con, Birds.con, Birds_and_trees.con, Church_bell.con, Coastline.con, Coastlineisle1.con, Coastlineisle2.con, Coastlineisle3.con, Coastlineisle4.con, Coastlineisle5.con, Crane_chains.con, Crickets.con, Easter.con, Effects.con, Harbor_waves.con, Hilfe.con, Island1.con, Island2.con, Island3.con, Island_shore.con, Island_shore2.con, Lake.con, Lake2.con, Lake3.con, Objects.con, Ocean1.con, Ocean2.con, Ocean3.con, Ocean4.con, Ocean5.con, Ocean6.con, Physics.con, Pond.con, Projectile.con, River.con, River4.con, River5.con, River_salerno.con, River_santocroce.con, Rivermid.con, Riverside.con, Riverside2.con, Seagulls.con, Siren.con, Smokeidlexpack.con, Soldiersound.inc, Telemark_river.con, Top_hill.con, Turbinesound.con, Waterunderbridge.con, Weapons.con, Windybridge.con
Parent directories of these .con files: objects/Vehicles, objects/Vegetation, objects/Stationary_Weapons, objects/Soldiers, objects/MOVE_FILES, objects/Items, objects/HandWeapons, objects/Effects, objects/Buildings, Bf1942/Levels
Example: (from objects/Effects/e_shotgun/Effects.con)
rem *** e_shell_Shotgun ***
ObjectTemplate.Create EffectBundle e_shell_Shotgun
ObjectTemplate.SaveInSeparateFile 1
ObjectTemplate.LoadSoundScript ..\common\Sounds/shells.ssc
rem -------------------------------------
ObjectTemplate.AddTemplate Em_shell_Shotgun
ObjectTemplate.SetPosition 0/0.01/-0.265
ObjectTemplate.SetRotation -9.994/-4.995/0
ObjectTemplate.TimeToLive CRD_NONE/-1/0/0
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.