• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Can't stop crappy themes

Status
Not open for further replies.
Level 20
Joined
Jul 6, 2009
Messages
1,885
This would play your custom music:
  • Player Group - Pick every player in (All players) and do (Actions)
    • Loop - Actions
      • Custom script: if GetLocalPlayer() == GetEnumPlayer() then
      • Sound - Play Music
      • Custom script: endif
Or you can disable music ingame from start:
  • Init
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Custom script: if GetLocalPlayer() == GetEnumPlayer() then
          • Sound - Stop music Immediately
          • Custom script: endif
 
This would play your custom music:
  • Player Group - Pick every player in (All players) and do (Actions)
    • Loop - Actions
      • Custom script: if GetLocalPlayer() == GetEnumPlayer() then
      • Sound - Play Music
      • Custom script: endif
Or you can disable music ingame from start:
  • Init
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Custom script: if GetLocalPlayer() == GetEnumPlayer() then
          • Sound - Stop music Immediately
          • Custom script: endif
That did not work either. All I want to do is permanently get rid of the terrible music that plays when the map starts. But I also want to be able to play my imported sounds and music. When my cinematic ends it still plays the unwanted music themes.
 
It does not work in my map. It is the trigger called "Music". Ohhh it is because I have .wav....I still need to solve this problem though.
Edit: There are going to be many cinematics in my maps and the music I will use which are .mp3s will be cut off when a cinematic plays and when it ends the themes will start to play.
 

Attachments

  • Starship Troopers Game.w3x
    1.5 MB · Views: 98
Level 20
Joined
Jul 6, 2009
Messages
1,885
Let the Music trigger stay and copy
  • Player Group - Pick every player in (All players) and do (Actions)
    • Loop - Actions
      • Custom script: if GetLocalPlayer() == GetEnumPlayer() then
      • Sound - Play SFX_ambient_battle_close02 <gen>
      • Custom script: endif
and paste it after every cinematic (Or you might use other music for different parts of map). For example,you'll need to paste it at the end of your first trigger.
Seems that turning off cinematic mode starts playing default Warcraft music and that's why you have to do it.
 
Status
Not open for further replies.
Top