• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Shadows?

Status
Not open for further replies.
Level 3
Joined
Jun 11, 2005
Messages
34
Hi, I have 2 questions fabout the World Editor:

1 - I took an already done map and started adding models and icons imported to create a modified melee. Then when I had enough and decided to start making single player from that same map (a LOT of imported stuff to start doing it all again), in what is supposed to be the first level I modified the maps height in different locations and precipices. The thing is, some ugly shadows were left off there in the map, and really looks ugly (cause there is nothing that should be creating such shadows). I can't find my way remove them. Do you know how?

2 - I've exported 5 musics wich i'd like to be reproduced one after the other one while playing (like a reproduction music list). How do I trigger that?

Thx in advance for the help
 
Last edited:
Level 10
Joined
Jan 21, 2007
Messages
576
For your music problem, create a trigger calles "Setup List" andconvert it to custom text (select the trigger and hit edit up on the to of the trigger editor).

Then replace everything in it with this:

JASS:
function Trig_Setup_Music_Actions takes nothing returns nothing
    call SetMapMusicIndexedBJ( ( "Sound\\Music\\mp3Music\\InBetween.mp3;Sound\\Music\\mp3Music\\HandsHeldHigh.mp3;Sound\\Music\\mp3Music\\LessTalkMoreRokk.mp3" ), 0 )
endfunction

//===========================================================================
function InitTrig_Setup_Music takes nothing returns nothing
    set gg_trg_Setup_Music = CreateTrigger(  )
    call TriggerAddAction( gg_trg_Setup_Music, function Trig_Setup_Music_Actions )
endfunction

Have a trigger that runs at initialization with this actions:

  • Trigger - Run Setup List <gen> (checking conditions)
Now to change wich songs you want to be played erase every thing within the qoutes in this part of the jass script:

JASS:
"Sound\\Music\\mp3Music\\InBetween.mp3;Sound\\Music\\mp3Music\\HandsHeldHigh.mp3;Sound\\Music\\mp3Music\\LessTalkMoreRokk.mp3"

And add songs in this manner Sound\\Music\\mp3Music\\InBetween.mp3 Change "InBetween" to your song name. I believe there is a problem with this whole method though, something that it cuts off one of the song names if the list of songs is long enough, but you should be fine with about 5 songs.

As to the shadows thing, can i get a screeny?
 
Last edited:
Level 10
Joined
Jan 21, 2007
Messages
576
Hah those damn things, ive gohem before my reaction usaly is "ah shit the damn show...thingys" becuse i really dont know why they are there.

Now if you raise terrain around them does it move them a litte bit, (not 'raise terrain' i mean like raise a cliff), becuse if it does try and semi circle around one half of them and keep raising by them pushing them off the map, otherwise i got no idea :(.
 
Level 3
Joined
Jun 11, 2005
Messages
34
Nope, can't get those shadows out of my map. Well if anyone else has an idea :)

About the music script, i get an error at

line 200:

" set gg_trg_Setup_Music = CreateTrigger( )" - "Name of Variable?"

and line 201:

" call TriggerAddAction( gg_trg_Setup_Music, function Trig_Setup_Music_Actions ) " - "Name?"


Thx again.
 
Level 10
Joined
Jan 21, 2007
Messages
576
Im not really sure, i got the info i had from multiple tutorials, hitup the jass section theyd know for sure.

For the shadows you prob could hide some of them by placing doodads over them.
 
Level 10
Joined
Jan 21, 2007
Messages
576
Thanks edge for helping him and im sure others, asell as me. This waally anoying when it happened to me ;)
 
Status
Not open for further replies.
Top