Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
Sound doesnt work mapbased https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=1346 |
Page 1 of 1 |
Author: | Zaitsef [ Tue Apr 12, 2005 11:06 am ] |
Post subject: | Sound doesnt work mapbased |
I tried this: i put airwolf.ssc and airwolf.wav in the EL_Alamein_Day2.rfa under bf1942/levels/El_Alamein_Day2 (same place init.con is) airwolf.ssc script (values of the humvee radio) load /bf1942/levels/El_Alamein_Day2/Airwolf.wav loop minDistance 1 relativePosition 0/0/0 rem dopplerOff priority -7 volume 0.33 *** Start Volume *** beginEffect controlDestination Volume controlSource Distance envelope Ramp param 0.1 param 0.2 param 1 param 1 endEffect *** Distance Volume *** beginEffect controlDestination Volume controlSource Distance envelope Ramp param 5 param 50 param 1 param -0.01 endEffect then i added this to ObjectSpawnTemplates: ObjectTemplate.Active AH64M230Rotation ObjectTemplate.addTemplate AltCallArtillary ObjectTemplate.loadSoundScript ../airwolf.ssc but nothing happens ![]() I think i got the path wrong ... |
Author: | Harry [ Tue Apr 12, 2005 2:50 pm ] |
Post subject: | |
Yup you got somethings wrong. The soundscript, is that a directcopypaste with the soundfile's name changed? You should do that first. Then the files should reside in EL_AL_Day2/Sounds/script.ssc, not just el_al_day2/script.ssc. The path should be ObjectTemplate.loadSoundScript ../sounds/script.ssc i think. |
Author: | Zaitsef [ Wed Apr 13, 2005 5:14 am ] |
Post subject: | |
Author: | Harry [ Wed Apr 13, 2005 7:47 am ] |
Post subject: | |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |