I don`t want to make a campaign mode, I just want to know how I can add text to the top left of the screen at the start of the game, how to time how long it stays there and if I can trigger it to appear when entering a region. (In standard Conquest). The best example of this is the Battles of the Storm mod.
If I can it would make the map so much better. Thanks
How do I make text appear in the top left? [Solved]
Moderator: Moderators
-
SkinnyODST
- Lieutenant Colonel

- Posts: 545
- Joined: Mon Jul 04, 2016 10:56 pm
- Location: My other account
- Contact:
How do I make text appear in the top left? [Solved]
Last edited by SkinnyODST on Wed Oct 05, 2016 11:58 pm, edited 1 time in total.
-
thelegend
- Sith

- Posts: 1433
- Joined: Thu Jan 23, 2014 6:01 am
- Projects :: Star Wars - Battlefront III Legacy
- xbox live or psn: El_Fabricio#
- Location: Right behind you :)
Re: How do I make text appear in the top left?
ShowMessageText("your.localization.path.in.multilanguagetool", ATTorDEF)
You can put this anywhere where you want. When it comes to triggering/or timing just put it there where usual commands are put in.
You can put this anywhere where you want. When it comes to triggering/or timing just put it there where usual commands are put in.
-
SkinnyODST
- Lieutenant Colonel

- Posts: 545
- Joined: Mon Jul 04, 2016 10:56 pm
- Location: My other account
- Contact:
Re: How do I make text appear in the top left?
Do I make a new path/scope in the localisation tool? If so, where?thelegend wrote:ShowMessageText("your.localization.path.in.multilanguagetool", ATTorDEF)
You can put this anywhere where you want. When it comes to triggering/or timing just put it there where usual commands are put in.
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: How do I make text appear in the top left?
Yes. It technically doesn't matter where as long as the path reference in ShowMessageText correctly points to it, but generally a good place to put these kinds of keys is in "level.ABC" (replacing ABC with your map's ID).SkinnyODST wrote:Do I make a new path/scope in the localisation tool? If so, where?
-
SkinnyODST
- Lieutenant Colonel

- Posts: 545
- Joined: Mon Jul 04, 2016 10:56 pm
- Location: My other account
- Contact:
Re: How do I make text appear in the top left?
Alright well I made a new scope in "level" (my 3 letter map name) and under it a key called "brief". It comes up as (NULL) in game. I named everything right. What am I doing wrong?
My LUA, or at least the section of importance -
My LUA, or at least the section of importance -
Hidden/Spoiler:
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: How do I make text appear in the top left?
You need to include the key's full path separating each scope with a period, like so:
ShowMessageText("level.ABC.brief", ATT)
ShowMessageText("level.ABC.brief", ATT)
-
SkinnyODST
- Lieutenant Colonel

- Posts: 545
- Joined: Mon Jul 04, 2016 10:56 pm
- Location: My other account
- Contact:
Re: How do I make text appear in the top left?
It worked! Thanks for the help mate 
