Quantcast
Channel: The Battle for Wesnoth Forums
Viewing all articles
Browse latest Browse all 2247

WML Workshop • Re: Next next question

$
0
0
I want to play a short bugle call and show a picture on the scenario start screen.

Picture works fine. (well, it won't scale; can the picture's size be changed? The text window covers the bottom, would like the pic not to overflow into the text window) Music won't play. It was placed in the "add-ons/3rd_army/music folder and was created using Audacity as an .ogg...
Would sound= work better?
You'll need to move boots_and_saddles.ogg to your campaign's sound folder (assuming that's the short bugle call sound you want).
Inside [part], to change the music I think you just need music=.
(Don't know if you can specify multiple music tracks inside of [part].)

I don't know of an (easy) way to scale/size the picture (I'm guessing that because different players will have different screen sizes running at different resolutions, you can't simply create a single image that looks the way you want for all players).
But, as is often the case, I could be wrong...

If you haven't already done so, it might be worth looking at how other campaigns code their [story] sections?
It certainly helped me early on.
E.g the relevant file in Heir to the Throne is bigmap.cfg in that campaign's utils folder.

Hope this helps in some small way.

Cheers!
-- Spannrbag

Statistics: Posted by Spannerbag — Yesterday, 9:38 pm



Viewing all articles
Browse latest Browse all 2247

Trending Articles