Staredit Network

Staredit Network -> UMS Assistance -> Text Help
Report, edit, etc...Posted by Forsaken on 2005-09-02 at 23:23:10
Well, it's been awhile since I have made one of these topics! ermm.gif


Anyway, what I am asking is, what is the easiest way to center text? And I don't mean just using the "back" tab. What I mean is have it so it is lined up directly where I want it.

I.E.

For starters, I would like bits and peaces of the text to just be smack-dab in the middle of the screen. While I have others to the far left. Something like this:


-----------------Title of Map-----------------
(That right there is in the middle of the screen)
Random Text-----------------Random Text


I think I may have confused people with this. So, I'll try and make this much easier to understand. Is there an easier way to align text to your needs rather than have to do a trial-and-error method? Something faster than having to change every piece of text, because 1 thing isn't alinged.
Report, edit, etc...Posted by r[s]t on 2005-09-02 at 23:32:17
The !! thing then text
Report, edit, etc...Posted by Forsaken on 2005-09-02 at 23:39:13
I specifically said that was NOT what I was asking.

I said it right here:
QUOTE
"And I don't mean just using the "back" tab. "



What I do want, is, a faster way of formatting text. Or, maybe someone coulf tell me the maximum charcter's one line of text takes on the screen.


I.E.

One line has a total of let's say, 250 letters. At 251, it starts a new line. What I am hoping someone can answer me with is, how many character's does a line in SC have before starting a new line?
Report, edit, etc...Posted by DT_Battlekruser on 2005-09-03 at 02:52:26
A few things about strings.

1) The Display Text font is not an equal-space font. There is no easy way to center text.
2) A line of text can go on virtually indefinitely. It won't go to another line unless 0D0A (hex ASCII) is in the string somewhere.
Report, edit, etc...Posted by Forsaken on 2005-09-03 at 10:18:45
Very well then. I guess I'll have to do a lot of trial and error testing. Although, that odes take a long time to do... pinch.gif
Report, edit, etc...Posted by Gigins on 2005-09-03 at 10:51:44
QUOTE(Forsaken @ Sep 3 2005, 05:18 PM)

Very well then. I guess I'll have to do a lot of trial and error testing. Although, that odes take a long time to do... pinch.gif
[right][snapback]304334[/snapback][/right]

Why can't you use the good old overlapping back? It seem to center text right in the middle. And it is easy&fast to do.
Report, edit, etc...Posted by Forsaken on 2005-09-03 at 10:57:31
Wow... You didn't read the first post either? Again, I will paste this. MAYBE... Someone with half a brain can answer me correctly. Besides BattleKruser.

QUOTE
"And I don't mean just using the "back" tab. "


I already said it twice.


What I am trying to do is, write a paragraph on the screen. But, I do not know the limitations before SC starts a new line of text. The only reason I keep asking this is because I do not like having to redo the paragraph several times before I get it right.
Report, edit, etc...Posted by Gigins on 2005-09-03 at 11:02:43
QUOTE(Forsaken @ Sep 3 2005, 05:57 PM)

Wow... You didn't read the first post either? Again, I will paste this. MAYBE... Someone with half a brain can answer me correctly. Besides BattleKruser.
I already said it twice.
What I am trying to do is, write a paragraph on the screen. But, I do not know the limitations before SC starts a new line of text. The only reason I keep asking this is because I do not like having to redo the paragraph several times before I get it right.
[right][snapback]304350[/snapback][/right]

I read you first post and the second too. I am not saying "use back tab" I just ask why not..... drool.gif
Report, edit, etc...Posted by Forsaken on 2005-09-03 at 11:24:16
Well, because I do not know when to press enter in the line to place the marker. THat is my whole question....
Report, edit, etc...Posted by KABOOM on 2005-09-03 at 11:42:21
Well did what you asked was bored out of my mind so i counted how many letters there can be before it skips to the next line in sc and it is 96. SC can hold 96 letter/numbers in a line. Your Welcome smile.gif
Report, edit, etc...Posted by Forsaken on 2005-09-03 at 11:52:25
Thanks a lot. =)
Report, edit, etc...Posted by DT_Battlekruser on 2005-09-03 at 13:52:34
No, a line of text can go on forever. The Display Text editor in Staredit coniently adds a linebreak whener you reach the end of a line.
Report, edit, etc...Posted by TheOddAngel on 2005-09-03 at 14:49:41
Just test it to see how far it can go with m's... then write you paragraph under it... If your text goes past the row of m's you know it will skip the line... Then when your done with your paragraph deleate the m's...

Wow... that is so simple... I duno why people haven't done that before...
Report, edit, etc...Posted by SacredElf on 2005-09-03 at 15:04:26
what is the Back Stab??
Report, edit, etc...Posted by TheOddAngel on 2005-09-03 at 15:06:25
Open any editor exept the original compain editor and when you chose to write soem text there will be the fron tab and back tab used for overlaping... If you use the back tab and just the back tab in front of the line of text you want it will center on the screen
Report, edit, etc...Posted by KABOOM on 2005-09-03 at 15:18:49
closedeyes.gif Thats what i did i put 123456789|123456789| and repeated it intill it skiped to the next line and it came out to 96 letters or numbers per line that sc can hold on one line smile.gif
Report, edit, etc...Posted by TheOddAngel on 2005-09-04 at 09:03:19
Yes but the question is are the letters the same size as a W or a m or a . or a space in starcraft?
Report, edit, etc...Posted by PCFredZ on 2005-09-04 at 15:32:14
QUOTE(Forsaken @ Sep 2 2005, 11:39 PM)
I specifically said that was NOT what I was asking.

I said it right here:
What I do want, is, a faster way of formatting text. Or, maybe someone coulf tell me the  maximum charcter's one line of text takes on the screen.
I.E.

One line has a total of let's say, 250 letters. At 251, it starts a new line. What I am hoping someone can answer me with is, how many character's does a line in SC have before starting a new line?
[right][snapback]304159[/snapback][/right]

What about combining different Front/Back overlaps for formatting?

E.g. [F]Align Left[B]Align Right, that would come out

Align Left.......................................Align Right

(Isn't that what you meant in the example?)
Report, edit, etc...Posted by (U)Bolt_Head on 2005-09-05 at 00:47:49
QUOTE(DT_Battlekruser @ Sep 3 2005, 01:52 AM)
A few things about strings.

2) A line of text can go on virtually indefinitely.  It won't go to another line unless 0D0A (hex ASCII) is in the string somewhere.

[right][snapback]304247[/snapback][/right]

A new line can simply be created by pressing the Enter Key when editing the string. This is needed for wordwrap because when wordwrap forces the text to a new line the color will be lost.

QUOTE(KABOOM @ Sep 3 2005, 10:42 AM)
Well did what you asked was bored out of my mind so i counted how many letters there can be before it skips to the next line in sc and it is 96. SC can hold 96 letter/numbers in a line.  Your Welcome  smile.gif
[right][snapback]304365[/snapback][/right]


As they have already said each character is a differant size, thus filling the line with l's would be differant than filling it with W's. The only usefull thing to count would be how many spaces you can fit across or tabs since you could find where the start of the text is from there.

I have never considered the trial and error method to be very difficult at all. You can create a map specificlly to test it and display the same line 11 times with varying spaceing and pick the closest one and move the others depending on witch way you want it. It would take no more than 2 test doing it that way. I've created entire animated breifings with display text trigger though trial and error so someone too lasy to do a few test i don't have much simpathy for.

However since your in desperate need for a 'easy' way. Open up starforge and use its string editor. It is designed to display the text exactly the way it is shown in the game. The only flaw is it can't handle multiple alignment characters (and maybe not tabs)
Next Page (1)