Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Formatting briefing ?
Formatting briefing ?
Nov 20 2010, 6:50 pm
By: konstantin.neo  

Nov 20 2010, 6:50 pm konstantin.neo Post #1



Hi.
How do I format the briefing with line breaks? Currently i have a long string in Textmessag() and I want it to have line breaks instead of cluttering it all.



None.

Nov 20 2010, 8:30 pm Jesusfreak Post #2



http://doodle77.dyndns.org/tutorials.php?id=115

That might help. I'm not sure what you're asking, but that's the only broad tutorial on briefings that I know of (I've never gotten far enough in one map to try and create a briefing, so I have no experience, unfortunately). :(



None.

Nov 21 2010, 10:44 am NudeRaider Post #3

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Well I assume you already tried [Enter], so I'm suggesting that you put a bunch of spaces wherever you need that linebreak.




Nov 25 2010, 8:26 pm DavidJCobb Post #4



To add line breaks to strings in Text Trigedit (and the text Mission Briefing Editor), type \r\n into the string.



None.

Nov 30 2010, 6:31 am O)FaRTy1billion[MM] Post #5

👻 👾 👽 💪

Why not just \n?



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!

Dec 1 2010, 12:06 am Roy Post #6

An artist's depiction of an Extended Unit Death

People like to do \r in front of \n because just doing \n yields a different result in some applications. For SC, I don't believe returning is necessary.




Dec 1 2010, 3:31 am O)FaRTy1billion[MM] Post #7

👻 👾 👽 💪

If the application (such as StarEdit) doesn't support it, it just appears as a zero-length space. It also takes up 1 less byte than \r\n.



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!

Dec 2 2010, 10:44 pm DavidJCobb Post #8



Quote from O)FaRTy1billion[MM]
If the application (such as StarEdit) doesn't support it, it just appears as a zero-length space. It also takes up 1 less byte than \r\n.
When using the classic briefing editor and then switching to the text briefing editor, you'll find that all line breaks use \r\n. Whether the carriage return code is necessary for StarCraft is another matter; I merely posted what SCMDraft2 uses.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
[2026-7-16. : 6:26 am]
NudeRaider -- I mean yes, maps - through EUDs - were theoretically able to do that as well, but that was patched quickly.
[2026-7-16. : 6:25 am]
NudeRaider -- Symmetry
Symmetry shouted: Ohhh imagine a SC map that could delete itself
not the map, the editor
[2026-7-16. : 2:28 am]
Symmetry -- I vaguely remember Voy doing some ACE back in the day, but I had no idea EUDs could do that kind of shit. I am very much catching up on the technology
[2026-7-16. : 2:28 am]
Symmetry -- Ohhh imagine a SC map that could delete itself
[2026-7-15. : 8:51 pm]
NudeRaider -- Symmetry
Symmetry shouted: NudeRaider Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
yeah an editor that isn't allowed to write files sounds rather pointless, so I'd assume it can. Like most other programs too btw. and yes, obviously that's dangerous, but also kinda necessary. MS introduced that virtualization for exactly that reason.
[2026-7-15. : 4:10 am]
Ultraviolet -- I don't think so. I think they shut that shit down after 1.16, maybe even earlier
[2026-7-15. : 2:19 am]
Symmetry -- NudeRaider
NudeRaider shouted: Symmetry I can't tell if it's relevant. You provided literally no context so I was providing an equally generic answer.
Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
[2026-7-14. : 11:43 pm]
Ultraviolet -- let's take each other's clothes off :teach:
Please log in to shout.


Members Online: Oh_Man