When you kill an enemy, a message shows up in red. When you gain an award weapon or use ShowMessageText, text shows up in yellow. When you get an award like War Hero, text shows up in cyan.
So my question is: can you output text like ShowMessageText does, but vary the color? Or, can you change the color in any way? Or is this hardcoded?
Message text color
Moderator: Moderators
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: Message text color
My guess would be hardcoded (last time i said that i was wrong
). The reason is (saying this as a beginner programmer) the text colors would be predefined in whatever they use to show message text. Then when it has the variable of what type the message is, it highlights the message before it "posts" it. So, if there is a way to do it at all, it may be thought a lua.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Message text color
That's all covered in the HUD files, which are munged to ingame.lvl
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Message text color
I see - is there any way to change it per message? I want to spawn a few lines of text and be able to have them in different colors, not just one color throughout the entire map.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Message text color
Not that I know of. You can't directly access the HUD files through lua.
