stacking
Jun 16 2008, 11:10 pm
By: Snipe)r(  

Jun 16 2008, 11:10 pm Snipe)r( Post #1



Sorry for anyone whos getting confused... its stacking "text".

Can someone stack some things for me? I used to be able to do this really well, but its been a while and i cant get it.
I need to stack Level1, Level2, etc all the way to 10. Double stacking or tripple stacking will work.



None.

Jun 17 2008, 1:03 am Greo Post #2



Last I checked, you can't anymore.



None.

Jun 17 2008, 1:07 am Falkoner Post #3



??? You can still stack, it just causes games to be unjoinable if stacked in the map title :P



None.

Jun 17 2008, 4:11 am Brontobyte Post #4



Stacking text is rather more of a pain that it is beneficial. Yeah it looks cool and sometimes it can look awesome, but its a time consuming process of "trial and error". There is no way to use a "algorithm" to always have something stacked correctly every time, that has been figured out yet. The text below is a copy from this map which I made quite some time ago, which featured multiple different units with stacked text. In the map I have level 1 all the way to level 20, double stacked. The strings below are all double stacked. All you would have to do is copy and paste these lines into the string editor in Scmdraft 2 and BAM! stacked text in the units name. :D

<13>Level 1<12>Level 1<14>MMMMMMMMMMMll
<13>Level 2<12>Level 2<14>MMMMMMMMMMM
<13>Level 3<12>Level 3<14>MMMMMMMMMMM
<13>Level 4<12>Level 4<14>MMMMMMMMMMM
<13>Level 5<12>Level 5<14>MMMMMMMMMMM
<13>Level 6<12>Level 6<14>MMMMMMMMMMM
<13>Level 7<12>Level 7<14>MMMMMMMMMMM
<13>Level 8<12>Level 8<14>MMMMMMMMMMM
<13>Level 9<12>Level 9<14>MMMMMMMMMMM
<13>Level 10<12>Level 10<14>MMMMMMMMMM


NOTE: If you plan on entering color into the line, just add the color before the first letter that you want to change the color of. (EX: Regular = <13>Level 1<12>Level 1<14>MMMMMMMMMMMll Color = <13><7>Level 1<12><8>Level 1<14>MMMMMMMMMMMll )



None.

Jun 17 2008, 4:57 am O)FaRTy1billion[MM] Post #5

👻 👾 👽 💪

Quote from Brontobyte
MMMMMMMMMMMll
Gross. Learn to use tabs. :X
This is how I do it:
Code
<9><19><_>Level 01<18><_>Level 01<9><9>  
I think that is right... I don't use SCMDraft. That is two spaces after the two tabs. If you don't like the leading zeroes, add another tab at the end and it should be good. <_> = for whatever color you want the back and front to be.
By the way, I haven't tested this. It may take a bit of playing around with.

Post has been edited 2 time(s), last time on Jun 17 2008, 5:03 am by FaRTy1billion.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Jun 17 2008, 12:39 pm Brontobyte Post #6



How does that disgust you? >_>

I did use spaces " " before, but they were less accurate then the Character Offset system that I now currently use. Sometimes I would end up with a tiny space that needed to be pushed over but I couldn't. If I added another space it would mess everything up.

I still think you should try to crack the algorithm that StarCraft uses to stack there text. I would definitely download it. It should also properly be called "Hawt Txt" :D



None.

Jun 17 2008, 12:46 pm Ultraviolet Post #7



D-Von(U) taught me the "algorithm" a long time ago.

<13> = Center Overlap
<12> = Right Overlap
<T> = Tab
<S> = Space

The basic set up is <13>Text<12>Text<T><S><S>

You modify the number of tabs based on the number of characters in the word(s) you want to overlap.

2-3 characters: 5
4-6 characters: 4
7-8 characters: 3
9-10 characters: 2
11-12 characters: 1

If you are using a few very slim or very wide characters such a 'l' or 'W' you maybe need to subtract or add a tab. Just use your discretion. I've never come across a word to overlap that required more than one tab difference from that formula. Unfortunately after 12 characters it's not so predictable :(





Jun 17 2008, 12:52 pm Brontobyte Post #8



Quote from name:NerdyTerdy
D-Von(U) taught me the "algorithm" a long time ago.

<13> = Center Overlap
<12> = Right Overlap
<T> = Tab
<S> = Space

The basic set up is <13>Text<12>Text<T><S><S>

You modify the number of tabs based on the number of characters in the word(s) you want to overlap.

2-3 characters: 5
4-6 characters: 4
7-8 characters: 3
9-10 characters: 2
11-12 characters: 1

If you are using a few very slim or very wide characters such a 'l' or 'W' you maybe need to subtract or add a tab. Just use your discretion. I've never come across a word to overlap that required more than one tab difference from that formula. Unfortunately after 12 characters it's not so predictable :(

I was talking about a program that FaRTy wanted to make but couldn't figure out the algorithm for. The one I am talking about it the one StarCraft uses, not how to overlap text. If you can have a program do it for you, then why not? StarForge does overlapping text, but it comes out all messes up when you look at it in the game.



None.

Jun 17 2008, 12:53 pm Ultraviolet Post #9



It's so easy to do via that method though. It would almost take more time to load up a program to do it for you. You can stack anything in like 10 seconds with that method.




Jun 17 2008, 1:49 pm Brontobyte Post #10



Quote from name:NerdyTerdy
It's so easy to do via that method though. It would almost take more time to load up a program to do it for you. You can stack anything in like 10 seconds with that method.

With how much accuracy? If a program could do it for you with 100% accuracy all of the time, I would use the program.



None.

Jun 17 2008, 2:05 pm Ultraviolet Post #11



Quote from Brontobyte
Quote from name:NerdyTerdy
It's so easy to do via that method though. It would almost take more time to load up a program to do it for you. You can stack anything in like 10 seconds with that method.

With how much accuracy? If a program could do it for you with 100% accuracy all of the time, I would use the program.

I'd say about 90% of the time the formula works. And 100% of the time it works by just adding or subtracting a single tab.




Jun 17 2008, 4:00 pm O)FaRTy1billion[MM] Post #12

👻 👾 👽 💪

Quote from Brontobyte
How does that disgust you? >_>
Because massive amounts of invisible characters are groooss. Tabs, ftw!
Try the one I posted and see how nice it is! <3 Also, if you stack other things they line up properly.

Quote from Brontobyte
I did use spaces " " before, but they were less accurate then the Character Offset system that I now currently use. Sometimes I would end up with a tiny space that needed to be pushed over but I couldn't. If I added another space it would mess everything up.
Tabs. And in that case, you use a comma or a period. (comma is 1px bigger. comma+period=space)

Quote
I still think you should try to crack the algorithm that StarCraft uses to stack there text. I would definitely download it. It should also properly be called "Hawt Txt" :D
Well. I had part of it down for AutoStacker (an old project of mine.) Recently I've been working on the center/right algorithms that SC uses. However, it is proving more difficult than necessary. >.>

Quote from Brontobyte
Quote from name:NerdyTerdy
D-Von(U) taught me the "algorithm" a long time ago.

<13> = Center Overlap
<12> = Right Overlap
<T> = Tab
<S> = Space

The basic set up is <13>Text<12>Text<T><S><S>

You modify the number of tabs based on the number of characters in the word(s) you want to overlap.

2-3 characters: 5
4-6 characters: 4
7-8 characters: 3
9-10 characters: 2
11-12 characters: 1

If you are using a few very slim or very wide characters such a 'l' or 'W' you maybe need to subtract or add a tab. Just use your discretion. I've never come across a word to overlap that required more than one tab difference from that formula. Unfortunately after 12 characters it's not so predictable :(

I was talking about a program that FaRTy wanted to make but couldn't figure out the algorithm for. The one I am talking about it the one StarCraft uses, not how to overlap text. If you can have a program do it for you, then why not? StarForge does overlapping text, but it comes out all messes up when you look at it in the game.
It all has to do with string widths, the different combinations of centers anf rights, and a ton of alignment. I have it working for mission briefings and forces (unfortunately for me, those were removed...)



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Jun 17 2008, 6:50 pm Snipe)r( Post #13



Ya, farty, i had your beta version of that program!
btw im testing all of your methods to see which is best.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:57 pm]
lil-Inferno -- That's legit the only other map trailer I can think of, also by Tux
[10:56 pm]
lil-Inferno -- A&O Saga?
[08:44 pm]
youarenotworthy -- The trailer in question uses that exact music I linked. In fact, it's the main reason I remember it at all, because originally I was thinking it was a Matrix map, but I think it only used that music and that's why i thought that.
[08:43 pm]
youarenotworthy -- Thanks NudeRaider, I found that, it's not it.
[08:25 pm]
NudeRaider -- youarenotworthy
youarenotworthy shouted: If anyone remembers though, the map/trailer for his map used this music: "https://www.youtube.com/watch?v=oGzz_871RRs"
the music is not exactly the same, so I'm not sure if it's another piece entirely or just another version but maybe this is it? https://www.youtube.com/watch?v=k80m6oM1iK0 this would be the trailer to Tuxedo-Templar's Rush map.
[07:48 pm]
youarenotworthy -- If anyone remembers though, the map/trailer for his map used this music: "https://www.youtube.com/watch?v=oGzz_871RRs"
[07:46 pm]
youarenotworthy -- Thanks lil-inferno... I'm not sure if it was tuxedo templar. I remember his stuff being good too, but I can't find the trailer the guy made. I might be mistaken about his name. Either way, thanks. I'm gonna give up on trying to find it XD
[2020-5-28. : 6:40 pm]
Zycorax -- :wob:
[2020-5-28. : 12:51 pm]
KrayZee -- :wob:
[2020-5-28. : 3:06 am]
KlaSsicaL -- thank you
Please log in to shout.


Members Online: Roy, MTiger156