Author Topic: Custom Command Sounds  (Read 2478 times)

lazyanttu

  • Guest
Custom Command Sounds
« on: 25 January 2012, 00:52:38 »
If I'm wrong and this is already doable, then correct me!

Well, currently there are "selection" and "command" sounds per unit, which is fine. However I think it could be good, if every command could have its own sounds. For example, if I have Archmage unit, the "move", "static fire", "ice nova" could have its own sounds. I'm not meaning this should be added to the MagiTech tech tree, but as an overall feature.

I came across this when I was designing the style of the units. Some times, the command sound for attack for example would not sound good during move. And if there are some epic abilities, then it could be great if they could have their own sound effects.

For example, within my first faction I came across following:
Spec Ops: "This bullet has his name" would sound good with the attack command, but rather out of place with movement command.
Advocate of Supremacy: "For the Emperor!" This sound effect could be in move/attack, but this unit has a special ability "Will of the Emperor", so it could be just more epic if the "For the Emperor!" phase would be said only when the WoE is activated. The unit is anyways elite and in very high in tech tier.
Interceptor: "Target lock in" also for attack, not very good for just attack-move.

Also, when an unit is finished and pops out from building, it could have some sound effect. Like the legendary Terran Marine in SC1 (You wanna piece of me, boy?). But this latest was discussed in some other topic.

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Custom Command Sounds
« Reply #1 on: 25 January 2012, 13:17:26 »
Well, you can give a sound to the unit's SKILL. Skills are used by commands and could be used by more than one (for example, a move skill could be used for both the move and attack command, though you could also make two move skills so that attack would have a unique animation, such as Magitech's swordman charging). All skills can add sound effects, which play once per skill cycle.
Code: [Select]
<sound enabled="true" start-time="0">
<sound-file path="sounds/swordman_die1.wav"/>
<sound-file path="sounds/swordman_die2.wav"/>
</sound>

However, command sounds are slightly different, as command sounds are played just once when you, the player, gives the unit the command (eg, clicking the attack button, the unit might say "Yes sir!".

In short, the sound tag on skills is for sound effects related to the skill, while command sounds are a sound effect played just when giving the unit that command (generally voices). With that being said, individual command sounds would still be useful as the unit could state something specific to the command ("Yes sir, I'll attack!"), though it may not be what you're looking for.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

lazyanttu

  • Guest
Re: Custom Command Sounds
« Reply #2 on: 25 January 2012, 13:31:16 »
In short, the sound tag on skills is for sound effects related to the skill, while command sounds are a sound effect played just when giving the unit that command (generally voices). With that being said, individual command sounds would still be useful as the unit could state something specific to the command ("Yes sir, I'll attack!"), though it may not be what you're looking for.

That was just what I was looking for. That when I give some command to unit (eg. attack), it would say something like ("Yes sir, I'll attack!"), which would be rather weird with move command. And if for example some aoe slow spell, the unit could say ("They ain't goin' nowhere"). As the sound within skill, it repeats every time :/. I was looking for command sounds that could be skill-specific. With that, some epic lines could be created to some skills/attacks :D.

 

anything