• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

beat to quarters?

lukemax

Landlubber
Hi all

Is it possible to make a script where you can press a butten and a certain soundclip played?

I thought a cool little feature would be?

EG

see a enemy ship and you press the "B" key

Then a soundclip would play something like master and commander
where drums go and someone shouts

"beat to quarters!"
the sound of drums play and the sound of cannon flaps opening and guns rolling out <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/bounce.gif" style="vertical-align:middle" emoid=":b:" border="0" alt="bounce.gif" />

If you think its cool `E-Mail` me and we can try 2 get it ingame <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />

Luke.steel@btinternet.com

Thx
Luke
 
It might be possible, to my knowledge, the sounds that play when you chain ammo was added in. So maybe you could add a line somewhere to play another sound.
 
I think you might put it in the spot where we now have "All hands to your stations!" when you decide to engage the enemy from the overhead sea map. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/yes.gif" style="vertical-align:middle" emoid=":yes" border="0" alt="yes.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />

Do you have a soundbyte like that, Luke?
 
It´s definitely possible. I´ve done a bit of scanning the sound system, but where to implement it depends on whether it´s supposed to be a background music or a sound effect. Background music is controlled by the sound.c file and the pieces that are played are defined in music_alias.ini. For that, also take a look into the M&C music V2 thread.

Sound effects are a bit more complicated, as they can be triggered almost everywhere. For the loading anouncements ("load guns with *ammo*, aye captain") it´s the AIballs or AIShips (not sure right now), so, you might have to do a bit searching. If you just want to replace the sound that´s played when engaging ships, you´ve got to find the particular soundfile in the /sounds directory and replace it with the one you want to have played.
 
would it actually be possible to make a mod that makes you role in and out the cannons??... i know that it would be hard to do the animation with the excisting ships, but maybe with new ships??
 
I think its possible to record it off the DVD, I'll try it when I get the chance, but if music is playing in the background, it will won't sound right. I have a drum sound but its not really close to the one played in M&C.
 
Hey lukemax, if you need the beat to quarters sound, I got it off M&C, it sounds pretty cool. Its a little long for the game purposes I think, so it might need some shortening. Or, If anyone decided to take up this project and need the file, drop me a line.
 
well... what i thought of, was animation as well.... so the gun ports opens and the cannon muscels comes out
 
I checked it out. File size is now bad. However it is a bit long and there is a fair deal of talking. The "We Shall Beat to Quarters!" part is very good....now to clean up the drum beat and get rid of all the background noise.....If i had the tablature I could record the drum. I have been playing the drums for 15 years and have access to music recording equipment.
 
Hey Muddy, im sending you a revised version, I cut the and pasted a little, its not perfect but probablly better than the first file I sent.
 
<!--`QuoteBegin-Sofus`+--><div class='quotetop'>QUOTE(Sofus)</div><div class='quotemain'><!--QuoteEBegin-->well... what i thought of, was animation as well.... so the gun ports opens and the cannon muscels comes out[/quote]I wanted to do that for the Frigate.it would be a very nice touch.I even been looking into having the rear windows glow.that wouls look sweet in nite battles.If anyone has a clue let me know.or post it in the Surprise thread.I dont want to hijack this one <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />
 
(Similiarly, there was talk not too long ago about getting lanterns on all the ships at night...)

Kind of a silly question, but when you board a ship, is the soundbyte saying, "Boarding parties away" or "boarding passes away"?
 
Boarding <b><i>parties</i></b> away. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />
 
Yeah, I realize that now... but for the longest time I thought it was the other. So, like, I pictured a salty bosun dressed as a stewardess, collecting tickets before pirates could swarm over the gangplank...
 
Heh, `la-dee`-dah, that sounds like a French custom! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="icon_wink.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" />
 
Regarding beating to quarters.

Why not go further? Not allow the cannons "recharging"--in fact, not allowing the cannons to be _loaded_--until you've cleared for action, and, once cleared for action, suffer penalties in `sail-related` tasks (since the crew is Otherwise Engaged).
Mehrunes did this automatically (whenever you fire an arc men are taken away from sail duty) but it'd be nice to have control over it.

(Must...not...think of General Quarters klaxon--WRONG WAR!)

Regarding the actual topic...
The function is PlayStereoSound("pathfilename.wav");
Or Play3DSound(sound, x, y, z) if you want the sound localized.
 
<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->suffer penalties in `sail-related` tasks (since the crew is Otherwise Engaged).  <!--QuoteEnd--></div><!--QuoteEEnd-->
Well, wouldn´t that depend on crew size? I mean, if you´ve got more enough men to handle the guns (four to six per gun, or rather, half that, because normally one gun crew would be responsible for two guns, one on each side), there´s no need to take men from the sailing operation. And, going on with this line of thougt, a ship with minimum crew should not be able to fire at all, since "minimum crew" means precisely that amount of crewmen that are absolutely needed to hande the ship. As well, if the guns on both sides are fired, guns only on one side (preferably the one where the enemy is closer) can be reloaded, only after that is done the ones on the other side are reloaded as well.
 
Good point.

I don't recall whether we ever merged in Mehrunes's code on this...
Well, sounds like a project. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
 
Back
Top