| 03-03-2010, 01:24 AM | #1 |
So what I wanna know, is how that cool opening is done in the forementioned maps, where the screen is totally black, it plays some cool sound(aotz/DoE) with the name of the map and the author centered, then it fades out into all the heroes. How is that done? Because I think it would be great to learn how to do it. I just hope it's not vJASS...I have no talent in JASS of any kind...xD |
| 03-03-2010, 01:53 AM | #3 |
I believe so, I will be testing this out, get back to you then. |
| 03-03-2010, 10:09 PM | #4 |
| 03-05-2010, 12:32 AM | #5 |
Oh thanks fled, that confirms what TheKid suggested Sorry about buggin you guys with such a noobish question, but I needed a finger pointing the right direction. EDIT: Okay, new problem, how do you get the words to center? |
| 03-05-2010, 03:30 AM | #6 |
You play around with them. You could include the text in your fade filter too that way you could center the text in image editing software. |
| 03-05-2010, 10:13 PM | #7 |
How is that done? |
| 03-06-2010, 08:29 AM | #8 |
I guess you could use native DisplayTimedTextToPlayer takes player toPlayer, real x, real y, real duration, string message returns nothing The X and Y value in that function decides where the text is situated on the screen. Edit: Oops, noticed to "no jass" thing... Dunnu the GUI name of that function. |
| 03-06-2010, 05:36 PM | #9 |
No no, that's very useful, I don't believe it's doable with GUI |
| 03-06-2010, 06:08 PM | #10 |
As explained before, you can display text with lots of spaces in the front to "move" text horizontally across the screen... Code:
This will be displayed on the left Code:
This will be displayed somewhere in the middle then its just trial and error to find the middle point (add or remove spaces). And to shift text up the screen (so it isn't at the bottem) just display text messages that contain a space. |
| 03-06-2010, 08:17 PM | #11 |
It doesn't work |
| 03-06-2010, 08:41 PM | #12 |
Maybe post what you have and what the outcome is. Saying "it doesn't work" doesn't provide anyone with any information about what the problem could be... |
| 03-06-2010, 09:04 PM | #13 | |
Quote:
I've already shown you a screen-shot of it working, so yes, it does work. |
| 03-06-2010, 09:46 PM | #14 | |
No, you posted a screenshot of the code, not of it actually working ingame, I used your advice and experimented, and guess what? It ignored the spaces, and still appeared at the left of the screen I don't say, it doesn't work without having tested things out first, most likely I did something wrong, but I'm somewhat doubtful of that fact, I put in the spaces, I used multiple strings filled with just spaces to make it appear at the top of the screen, then spaced the text so it would appear in the middle, just like you said. As stated before, it still appeared at the left, to my irritation So...perhaps you have something more constructive to offer? Is there a text code that can center text, change font size, etc? Quote:
I did try this, but I think I messed it up, I noticed you could import textures to use as the filter, so I tried making a black screen, with the words where I wanted them It didn't work, so how is this done? Is a certain path required or am I totally on the wrong path so to speak? |
| 03-06-2010, 10:07 PM | #15 | |
Quote:
What's really ironic is that he didn't post a screenshot of code. He posted code properly, using [trigger] tags. Also, stick the attitude up your ass. Especially considering you're too damn stupid to see a picture that fucking big. |
