shield sfx? -1 reply

Please wait...

Jetfreak

The Real Awesome

50 XP

20th April 2007

0 Uploads

7,526 Posts

0 Threads

#1 11 years ago

Is there a way to add sfx when ships are hit by weapons in a2?




Freyr VIP Member

A2Files Staff

46,875 XP

6th February 2005

11 Uploads

4,275 Posts

0 Threads

#2 11 years ago

I don't believe you could do it without hacking the executable.




Dan1025

Adopt, adapt, improve

50 XP

24th February 2007

0 Uploads

1,454 Posts

0 Threads

#3 11 years ago

yes there is, add the name of a sound file to: // The sound of the ordinance hitting the Target hitSound = "" In the weapon odf Hope this helps :)




Freyr VIP Member

A2Files Staff

46,875 XP

6th February 2005

11 Uploads

4,275 Posts

0 Threads

#4 11 years ago

From the question I believe he wanted to know if it would be possible to assign sound effects to the shields being hit, rather than individually to every single weapon.

Doing that would be quite time consuming, to say the least. Especially if you have to then recreate all of the sounds currently used with the impact sound overlaid over the weapon firing sound.




Guest

I didn't make it!

0 XP

 
#5 11 years ago

KA2 uses this method. You don't need to overlay any sounds, simply use the line of code that was posted. Personally, I used shield impact sounds when primary weapons (Phasers, Disruptors and so forth) hit the ship, and hull impact sounds when secondary and heavy weapons (Photon and Plasma Torpedoes, Heavy Disruptors, Scatterpacks and so on) hit the ship. Not sure where you got the idea you need to make the weapon sound contain the impact sound. Otherwise the impact sound would play before the weapon might have hit (a torpedo for example) and would play even if the weapon missed!




Chiletrek

Warriors from Fluidic Space

50 XP

8th August 2004

0 Uploads

682 Posts

0 Threads

#6 11 years ago

Hello: I agree wth Squire James, it may be time consuming, but it is a safe way to get the effect you want. I remember seeing this code in the Chain Reaction Pulsar special weapon. Well, I look forward to see the results you'll get Jetfreak, keep it up!




Freyr VIP Member

A2Files Staff

46,875 XP

6th February 2005

11 Uploads

4,275 Posts

0 Threads

#7 11 years ago
Squire James;3989950Not sure where you got the idea you need to make the weapon sound contain the impact sound. Otherwise the impact sound would play before the weapon might have hit (a torpedo for example) and would play even if the weapon missed!

Meh, I meant the existing impact sound- I wrote that in the early hours of this morning while I was doing my last round of the sites before going to bed. Its a little dangerous writing anything that early in the morning it it requires any thought. :)




AdmarilRyan

I'm not crazy... Not always

50 XP

17th May 2005

0 Uploads

753 Posts

0 Threads

#8 11 years ago
Freyr;3990568 Its a little dangerous writing anything that early in the morning [COLOR=Red]it it[/COLOR] requires any thought. :)

clearly the middle of the day isn't much better for you either? :p (assuming you are GMT)