Staredit Network

Staredit Network -> UMS Assistance -> Text Messages (?!?!?)
Report, edit, etc...Posted by luisv on 2006-09-19 at 20:44:04
I have several text messages in my map but I can't get them to display long enough. I use the "display text trigger" and I cannot increase my string count because I am almost at the max. (I use Hypers so I doubt the transmission trig will work) The text is this:

THE LIBERALS
Mass fiscal deficits weaken Dollar. (-800 Minerals)

It displays for like 2 seconds which is NOT enough time to read it.. so how do I increase the time it displays?
Report, edit, etc...Posted by MoonlighTurtle on 2006-09-19 at 20:47:34
Simply make it redisplay the same message. Pretty much the only way.
Report, edit, etc...Posted by fritfrat(U) on 2006-09-19 at 20:51:55
I would suggest to add spaces to the message to make it longer, but if you're near the string limit, then I wouldn't. Usually if you're paying attention you can read it in the time it gives you for the length of the message, especially if you use a bright color that really stands out.
Report, edit, etc...Posted by Zell.Dincht on 2006-09-19 at 21:00:10
Instead of using the display trigger, use a transmission. That way you can put in the text with a certain amount of milisecond wait. You also have to put in a sound or a null sound.
Report, edit, etc...Posted by luisv on 2006-09-19 at 21:54:58
QUOTE
Simply make it redisplay the same message. Pretty much the only way.


I'm almost at the string max.. pinch.gif

QUOTE
I would suggest to add spaces to the message to make it longer, but if you're near the string limit, then I wouldn't. Usually if you're paying attention you can read it in the time it gives you for the length of the message, especially if you use a bright color that really stands out.


Spaces? Are you sure that will work?

QUOTE
Instead of using the display trigger, use a transmission. That way you can put in the text with a certain amount of milisecond wait. You also have to put in a sound or a null sound.


I have a question with transmission, it says to display for an X amount of time, does that mean the message must display for that time BEFORE going onto the next trigger? Or does it just display the text and goes to next trigger right away regardless of if the text is still displaying? helpsmilie.gif
Report, edit, etc...Posted by Zeratul_101 on 2006-09-19 at 22:22:23
QUOTE(luisv @ Sep 19 2006, 07:54 PM)
I'm almost at the string max..  pinch.gif
[right][snapback]564205[/snapback][/right]


irrelevant, you don't use up anymore strings by repeating the same string.

QUOTE(luisv @ Sep 19 2006, 07:54 PM)
Spaces? Are you sure that will work?
[right][snapback]564205[/snapback][/right]


the longer the message, the longer it displays. although adding spaces will eat up your string byte limit(i believe).
Report, edit, etc...Posted by Zell.Dincht on 2006-09-19 at 22:31:41
QUOTE(luisv @ Sep 19 2006, 07:54 PM)
I'm almost at the string max..  pinch.gif
Spaces? Are you sure that will work?
I have a question with transmission, it says to display for an X amount of time, does that mean the message must display for that time BEFORE going onto the next trigger? Or does it just display the text and goes to next trigger right away regardless of if the text is still displaying?  helpsmilie.gif
[right][snapback]564205[/snapback][/right]

It will basically display for that amount of time and then go onto the next action.
Report, edit, etc...Posted by Zeratul_101 on 2006-09-19 at 22:41:42
also, when you say limit, are you referring to the 1024 'limit'? cause if you are, you should realize that limit isn't valid for SCMD2. SCMD2 has a limit of 65535 characters. i believe there is 1 character per line and an additional two per string, in addition to what you type out.

ADDITION:
concerning transmission, triggers won't be stopped(unless they have waits in them). however, i believe a transmission wait is identical to a normal wait. in that case, any trigger actions after the transmission will stop until the transmission is finished.
Report, edit, etc...Posted by Cole on 2006-09-19 at 22:55:04
You might need some CHK knowledge to fully understand this post. If you don't know what a CHK is, you do not have CHK knowledge.

Actually the limit is (4gigs - RestOfMap). However only the furthest string defined [from the section header] can do so.


Staredit(I believe Scmdraft 2 and Starforge to) default the string number to 1024. This means 65536 - (2 + (2 * 1024)) = # of Characters you can have not including the last string [when you have the string number set to 1024]. This also includes the null character and formatting characters(Color, new line, etc..).

A better way to say it would be this:
65536 - (2 + (2 * x)) = # of characters left to define where a string starts.

x = number of strings defined in first 2 bytes after section header.


If you want me to get more detailed with the specs PM me.
Report, edit, etc...Posted by TheKeyToKilling on 2006-09-21 at 10:26:03
I ran out of available strings on my Talking Battleship map, which can be downloaded from the tactical warfare section of this site!

I had a lot of triggers left to do, but I had no way of commenting them, because I couldn't add anymore strings.

What I did was, I opened up my older triggers which I knew I most likely wouldn't need to edit anymore... then I opened up the comment on them... deleted the text in the comment... and left it as a blank comment. This freed up space for more strings to be used and made it easier for me to work with my newer triggers.

Also if you use the Display Text Message way, you could go to the start of the message before any of the text that you typed in... and then just hold down the enter/return key until you can't type any more into the Display Text Message thing... this will make the message as long as possible... and it will make the text message display for a longer time. If this doesn't work you could do as the other guy suggested and just repost the message.
Report, edit, etc...Posted by smasher25 on 2006-09-25 at 01:20:41
Why dont you use the "wait" trigger?
Report, edit, etc...Posted by Ahli on 2006-09-25 at 08:08:32
wait has no effect on displaying text mesages
Report, edit, etc...Posted by TheKeyToKilling on 2006-09-28 at 12:16:40
QUOTE(smasher25 @ Sep 25 2006, 12:20 AM)
Why dont you use the "wait" trigger?
[right][snapback]567706[/snapback][/right]


wait is the timing between action executions.

Blizzard has a preset time that it uses to remove text messages, but it has it set to remove 1 message at a time. Therefore, since some messages are longer then others, they have it setup to wait a certain length of time per line of the message. Since it's 1 message on multiple lines, and it has to remove the whole message at once, the more lines that the message takes up, the longer it will take to get removed.

Therefore, wait times have no effect on how long the message is displayed, unless you use a wait time and then use the display message action to display the same message again.
Next Page (1)