posted November 05, 2001 05:21 PM
Ah, the good old sound mistake.. every TM modder makes it the first time :-)
Take a look at projectile/nukemissile.ent
You'll see SoundEnt = Doomsiren
Now, I'm guessing what you did was something similar to this:
You made a new WAV file, let's say Test.wav. Then you changed the reference from whatever it's listed at in the projectile's ent file to the new one (DoomSiren to Test, in this case). However, as you see in the parameter name, it's asking for a call to an ENT, not a WAV.
What you need to do is make an ENT of class Sound, that calls the WAV file. Then you can use other ENTs to call the sound ENT using the SoundEnt parameter.
Look in Entities/Sound for examples on how to set up a sound ent.
Also, just to cut off another possible error... Treadmarks doesn't care about ENT filenames. You could rename projectile/NukeMissile.ent to projectile/GrilledCheese.ent, and Treadmarks would still be able to use the file exactly the same. How, you ask? Every ENT file has a Class and Type parameter. Class defines what kind of ENT the file is (weapon, projectile, explo, explosphere, smoke, etc). Type is the name of the individual entity (Nukemissile, Laserbeam1, etc). Most of the time, the stock TM ents have the same name as their types, but not always. So be sure to change the type names if you're making a reference to a new ENT.