Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Herra Tohtori on October 04, 2006, 03:56:49 pm
-
I don't really know if this is in the right place, but I guess it is one kind of modification... :nervous:
So.
I would very, very much like to hear sound of small pieces of debris hitting the hull of my fighter when I fly close to recently exploded wreckage of a ship.
Is it somehow possible to assign a "fly-by sound" to pieces of debris, so that when you flew past a debris piece, you would hear some clanks and thuds caused by small debris pieces hitting your fighter? Something akin to sounds heard on the background of this sound clip (http://users.tkk.fi/~lmiettun/Kuvat/FS2_Open/nothingbuttherain.wav).
Making the sound effect would not be a problem, just drop some pebbles or pieces of plastic onto different surfaces - mainly metallic plate would be the ideal platform, given that the fighters presumably are made of metal - record the sound, make a few loops; perhaps three or four would give good results. Then make it so that a piece of debris has a certain area at which you start hearing the looping sound.
If there are a lot of pieces of debris around you - for example, after a capital ship explosion, when the huge debris pieces fly around and you are in middle of them - you would hear more impact sounds because more of the loops would be playing.
Is this in any way possible? Can the debris pieces even have a fly-by sound, as they have no thruster?
Of course ou could do it perhaps by mission SEXPs - perhaps by setting an area around explosion centers, in which you would hear some looping sound of impacts, but I would really like the idea of flying closely past a recently exploded fighter, and hearing the sound of small pieces hitting me. :nod:
Same applies to asteroids, by the way. There's bound to be a lot of small stones in asteroid zones besides the big rocks; it would be just sensible if there was some way of observing them, even if you couldn't see them. If it's possible, same technique could be applied to asteroids.
-
Not sure if this belongs in here or the SCP forum.. it might be difficult to do with modding alone, I'll see if anyone comes up with any ideas that don't involve coding, but if not, I'll move it over :)
-
You know that could be useful... especially if you want WC5 style cap ship deaths, where the capship hull debris crackle and explodes for a long period of time afterward.
-
use scripting. see if youre flying within a certain radius of a dibrits object, and play the sound from the script. it should be fairly sttraight forward and can be done with a loop, scan through dibrits objects, and if your close enought to one break the loop and play the dust sound.