sound troubles. (unsolveable)

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Commander_Fett
High General
High General
Posts: 847
Joined: Fri Oct 17, 2008 9:59 pm
Projects :: No Mod project currently.

sound troubles. (unsolveable)

Post by Commander_Fett »

Well, I wsas including space ships in MAD, so I wanted to get their sounds. I followed Rends' tut on how to make your own sound file, but I couldn't get it to work, probably for the same reason using stock ones won't work for me. I looked at Manderek's tut, and set up the LUA like so:

Code: Select all

    ReadDataFile("sound\\geo.lvl;geo1cw")
    ReadDataFile("dc:sound\\spa.lvl;spa2cw")
but the space sounds didn't show up. so I did this:

Code: Select all

	ReadDataFile("dc:sound\\spa.lvl;spa2cw")
    ReadDataFile("sound\\geo.lvl;geo1cw")
but now the geo sounds won't show up. Is it possible to fix this without making a new sound .lvl file for everything?

EDIT: I guess not, this can be locked or deleted.
User avatar
swingking
Private Recruit
Posts: 22
Joined: Tue Mar 17, 2009 8:04 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: somewhere in the gum on your shoe
Contact:

Re: sound troubles. (unsolveable, or not)

Post by swingking »

try this:

Code: Select all

    ReadDataFile("dc:sound\\geo.lvl;geo1cw")
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: sound troubles. (unsolveable)

Post by Teancum »

I'm going to unlock this even pending month-old bump that swingking did. To answer the question, you're trying to load waaaay to much into the sound pool. You only have so much memory for sounds, so you can't just put two world sounds in there and hope to have it all fit. In addition often times conflicting sounds will cancel each other out.
Post Reply