TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    Adding music to games

    Scheduled Pinned Locked Moved Feature Requests & Ideas
    24 Posts 6 Posters 5.5k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      Cernel Moderators Lobby Moderators @Frostion
      last edited by Cernel

      @Frostion said in Adding music to games:

      Also this approach requires me to make "fake steps" in the XML so that a player controlling several nations with a turn sequence that has the nations set up in a row, still get a "required your turn series" sound played when the new nation has its turn, so that music is played for every nation, not just the first in the row.

      Yeah, that's really sad. Off topic, but I would fix that so that the "required your turn series" plays each time a new game power starts a phase (except if you are loading the game, of course), instead of only when it is also played by a different player than the previous one. The counter argument, however, that the current behaviour is based upon, is that you need to have that sound only when you need to do your turn after having been inactive, therefore it doesn't play if you were already the active player (the original intent of that sound, as Veqryn said in the past, was as an automatically given "slap", to inform a previously inactive player that it is now its turn to play the game).

      1 Reply Last reply Reply Quote 1
      • J Offline
        JoeyP @Frostion
        last edited by

        @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.

        C FrostionF 2 Replies Last reply Reply Quote -1
        • C Offline
          Cernel Moderators Lobby Moderators @JoeyP
          last edited by

          @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.

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            JoeyP @Cernel
            last edited by JoeyP

            @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.

            1 Reply Last reply Reply Quote -1
            • FrostionF Offline
              Frostion Admin @JoeyP
              last edited by

              @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 ☺

              Map maker of: Star Wars: Galactic War + Star Wars: Tatooine War + Caribbean Trade War + Dragon War + Age of Tribes + Star Trek: Dilithium War + Iron War + Iron War: Europe + Warcraft: War Heroes

              J 1 Reply Last reply Reply Quote 1
              • J Offline
                JoeyP @Frostion
                last edited by

                @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

                Captain CrunchC 1 Reply Last reply Reply Quote 0
                • Captain CrunchC Offline
                  Captain Crunch Banned @JoeyP
                  last edited by

                  @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?

                  C J 2 Replies Last reply Reply Quote 0
                  • C Offline
                    Cernel Moderators Lobby Moderators @Captain Crunch
                    last edited by Cernel

                    @Captain-Crunch Well, if he intends to use copyrighted sounds, it may only be for personal use (at most).

                    1 Reply Last reply Reply Quote -1
                    • J Offline
                      JoeyP @Captain Crunch
                      last edited by

                      @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.

                      Captain CrunchC 1 Reply Last reply Reply Quote -1
                      • Captain CrunchC Offline
                        Captain Crunch Banned @JoeyP
                        last edited by Captain Crunch

                        @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?

                        J ubernautU C 3 Replies Last reply Reply Quote 0
                        • J Offline
                          JoeyP @Captain Crunch
                          last edited by

                          @Captain-Crunch Cool dude!

                          1 Reply Last reply Reply Quote -1
                          • ubernautU Offline
                            ubernaut Lobby Moderators @Captain Crunch
                            last edited by

                            @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.

                            "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

                            1 Reply Last reply Reply Quote 1
                            • C Offline
                              Cernel Moderators Lobby Moderators @Captain Crunch
                              last edited by Cernel

                              @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.

                              1 Reply Last reply Reply Quote 1

                              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
                              • 1
                              • 2
                              • 2 / 2
                              • First post
                                Last post
                              Powered by NodeBB Forums