Adding music to games
-
@Frostion I just tried the Iron War map, and that's almost exactly what I was asking for (the only difference would be to play the music on a loop). Since I'm new to this, does the map/game making tutorial do a good job to explain how to implement sound and music as you did, or should I look for supplementary information? Is that something you can provide? The graphics are great btw, good job! I appreciate the dialogue.
-
@JoeyP Long story short, that is just a "start turn" sound that plays for a long time, thus gives the feeling of a background sound, but it would still not work in case your turn comes after another turn of yours (like if you are both Americans and Russians), since TripleA doesn't actually have "start turn" sounds, but just sounds that play when it is your turn, after someone else turn (you could assign a sound to the first phase, as long as it is never skipped alone, but that would require removing the start game sound, to avoid them playing over each other).
The first question would be how long your sounds actually play, without looping, and how long you would want them actually playing (remember that, if you end the turn too fast, the sounds will mix in a cacophony). Once these are answered, I assume @Frostion could teach you how to obtain a final result similar to Iron War.
-
@Cernel Yea, I played through an entire round, some slower than others, and there is definitely music overlap when moving quickly. It works well when enough for the initial effect as @Frostion noted. It's a very nice touch/feature and certainly breathes life into the game giving it some nice immersive properties. Kind of turns the game from a virtual board game to an interactive experience. Now if Battle sound effects can loop during each battle turn/round that would increase immersion as well.
-
@JoeyP I have no knowledge of any sound tutorial / documentation that can explain and guide the mapmaker to utilize all the (limited) possibilities the engine supports. I can only advise you to study other maps extensively and in detail. Study the XML when it comes to how to make use of notification sounds and study the notification and sound .properties files in regards to just what sounds can be played, how and what to name them.
One thing to learn is what code to write in the files to make use of sounds, but another thing is ofcours also to be able to construct/edit the actual sound files, so that they sound good and fit the theme/game. YouTube and Google is your friend. Also, get a usable sound file/mp3 editor.
Iron War is a good map to study and "reverse engineer", but I am sure that there are other maps that are worth studying also. You could download as many maps as you can, then go to map directory and sort the map zip files by size. As MP3 files tend to increase the map zips in size, most of the larger map zips could be maps that use custom sounds.
Map making is complex work with a lot of manual editing, trial and error and very few short cuts (besides the collection of map making tools you find in the engine). So I hope you are up for a looong endeavour

-
@Frostion Thanks for the info and pep talk! Keep up the great work, it's really amazing what you all have accomplished on your own time, it's good to see passionate people doing what they love. Stay Healthy and Safe
-
@JoeyP so you are just adding sounds to a mod you play or are you making a mod that we can play and try some day?
-
@Captain-Crunch Well, if he intends to use copyrighted sounds, it may only be for personal use (at most).
-
@Captain-Crunch The endgame would be to achieve the latter; however, for the time being, it would be the former to play with friends and family.
-
@JoeyP no wai. I'm so surprised (not) since half these threads are someone trying to think of random obscure questions and then the mod or idea they are wanting to do is never seen again ... read my sig

Angry admin abuse me?
-
@Captain-Crunch Cool dude!
-
@Captain-Crunch i don't get it. Seems like you are steering every conversation into this rediculous conspiracy theory of yours lately. When challenged you never back it up. Put up or shut up lol.
-
@Captain-Crunch said in Adding music to games:
@JoeyP no wai. I'm so surprised (not) since half these threads are someone trying to think of random obscure questions and then the mod or idea they are wanting to do is never seen again ... read my sig

It has always been this way. Only a small minority of TripleA projects come to a conclusion, let alone fruition (and most are not really finished or polished). In turn, only a small minority of those that do become any popular.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login