Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Large text message

Discussion in 'World Editor Help Zone' started by ANdROnIQ, Apr 1, 2009.

  1. ANdROnIQ

    ANdROnIQ

    Joined:
    Jul 24, 2007
    Messages:
    205
    Resources:
    3
    Icons:
    1
    Maps:
    2
    Resources:
    3
    Does anybody know how to make a text message appear full-size? I want to make the messages like "You're entering the city of etc." on my map appear fullscreen and centered, like in RPGs. Could use the Upkeep messages for that, but then the list of all locations on the map will be shown at the upkeep window tooltip, which I wanted to use as map version indicator. DisplayTextMessage and Floating text (TextTag) don't change font size.
     
  2. XPQJ

    XPQJ

    Joined:
    Mar 16, 2009
    Messages:
    336
    Resources:
    2
    Maps:
    2
    Resources:
    2
    umm. . . if you use floating text there is an area that is called "Font Size" and at defult is equal to 10, in maps where I need large fonts I use this function generally I use size 100.
    Trigger
    Event - Unit enters region (the city of asdf)
    Action - create floating text at point event response on point of triggering unit font size 100.
    - Wait 4 seconds
    - Destroy last created floating text

    using this trigger just create the region over the entire city and its done as simple as that
     
  3. ANdROnIQ

    ANdROnIQ

    Joined:
    Jul 24, 2007
    Messages:
    205
    Resources:
    3
    Icons:
    1
    Maps:
    2
    Resources:
    3
    Thank you very much, I didn't notice that because the size (argument 'height' in SetTextTagText) is not set with a separate function (I searched for SetTextTagSize/Height). Sometimes it's useful to work in GUI ^^'. Now I should work on setting the text to appropriate position on the screen (my camera rotates with the Hero, so it will be another piece of work...). Can I create a floating text for a local player only, or will it cause desyncs, does anybody know?
     
  4. Just_Spectating

    Just_Spectating

    Joined:
    May 16, 2007
    Messages:
    7,022
    Resources:
    46
    Models:
    11
    Icons:
    9
    Skins:
    26
    Resources:
    46
    instead of Floating Text, i would use a Splat trigger.
     
  5. ANdROnIQ

    ANdROnIQ

    Joined:
    Jul 24, 2007
    Messages:
    205
    Resources:
    3
    Icons:
    1
    Maps:
    2
    Resources:
    3
    Then, you need to draw each of your messages as a texture, that takes a lot of space. But, the previous question is solved: I got out that I can set text tag visible to local player.