Bridge Commander Central
BC Forums => BC Scripting => Topic started by: Starforce2 on December 16, 2010, 06:54:41 AM
-
If I change the name of a torpedo's projectile file, but leave everything else the same, do I need to change the autoload for the sound too?
-
im gonna toss the thread into Scripting...
you wouldnt need to change anything in the autoload script - the autoload script defines what fire sound (dictated in the torp script) to use, so changing the name of the torp wouldnt matter...
in the torp's projectile script, using TOS photorp as example:
def GetLaunchSound():
return("TOSphotorp")
autoload script:
Foundation.SoundDef("sfx/Weapons/TOS_photorp.wav", "TOSphotorp", 1)