MegaMek / megamek

MegaMek is a networked Java clone of BattleTech, a turn-based sci-fi boardgame for 2+ players. Fight using giant robots, tanks, and/or infantry on a hex-based map.
http://www.megamek.org
GNU General Public License v2.0
297 stars 286 forks source link

Weapon Fire & Sound FX #256

Open BLOODWOLF333 opened 8 years ago

BLOODWOLF333 commented 8 years ago

I dont know how best to implement the animations but, for sound effects I just imagine MM playing the sound when the player clicks fire on a weapon.

Small Laser w/Light Hit (1-4 damage) smalllaser Medium Laser w/Medium Hit (5-9 damage) mediumlaser Large Laser w/Heavy Hit (10-14 damage) largelaser PPC w/Heavy Hit ppc Flamer flamer AC2 & Machine Gun ac2_mg AC5 ac5 AC10 ac10 AC20 w/VeryHeavy Hit (15+ damage) ac20 Gauss gauss LRM w/Ammo Explosion lrmammo SRM w/Engine Explosion srmengine

SFX.zip

pheonixstorm commented 8 years ago

Would be neat but I would think there would need to be time between the end of the firing phase and physical phase to display it unless it should display when the weapon is fired which would really not be worth it as each shot is fired. Would be much better as a feature to be displayed after all weapons on a unit have been fired.

BLOODWOLF333 commented 8 years ago

Yes, that is what Arlith came up with last I talked to him about it. Just a new phase in between that players would have the option of shutting off if they dont want to deal with it or would take too much time (company + games). And I think I forgot to label it but, flamer would probably use the explosion sound effect. Also made physical hit/collision images too in the zip (black and grey confetti like in the wreck images for each unit).

HammerGS commented 8 years ago

My two bits. Like it. A lot.

pheonixstorm commented 8 years ago

With the AC hits I would hope that they would be variable/scriptable since fluff wise std ACs fire multiple rounds.

But even so you didn't sow anything for LB, Ultra, or Rotary. Those in the zip BW or were they forgotten/overlooked?

BLOODWOLF333 commented 8 years ago

I just did the intro tech level weapons + gauss. Are you talking about making different _shot images for the various ACs? Rapid fire/ultras I would just think the animation could play twice but, I didnt get any indicated that this would be put in anytime soon so, didnt really go all out.

pheonixstorm commented 8 years ago

Byond the Ultra/Rotary if you read the fluff on the autocannons it talks about ACs firing various bursts. Like an Ac/20 firing a burst of X number of shells of different sizes which in TT rules are considered a single shot. So translated into an image you could have a tight group of say five shells together while for Ultra or Rotary each shot could be in groups placed farther apart ie 1 group of 5 followed farther behind by another group of 5. Program wise this could be a fluff option to use the group shots. LB weapons firing cluster could have a shotgun style animation of multiple pellets.

Overall wasn't aware of how much you put into this beyond the above examples which is why I asked about the additional imagery. I do hope this makes it in at some point though, I think it would look really good compared to all the attack arrows. SFX I wouldn't use, but the additional GFX I know I would.

BLOODWOLF333 commented 8 years ago

If I made the normal AC shots multiple rounds like in the fluff I worry that would make someone put in a bug report asking if ACs should be cluster hit weapons? It is no problem to make the additional images for the more advanced weapons and will if this gets a green light.

pheonixstorm commented 8 years ago

The images would be for the fluff and optioned accordingly, so if someone thought it bugged and had the fluff option checked they would be told such and the ticket written off as invalid.

So default would be TT with an option for the fluff AC shots

HammerGS commented 8 years ago

Some suggestions

MGM175 commented 8 years ago

Dammit... it's awesome :D What about implementing this as a server-side option?

BLOODWOLF333 commented 8 years ago

Example of an Atlas firing https://www.youtube.com/watch?v=8WgLHTzCYpU&feature=youtu.be