Scripts / Shadow text in panels

Author
Message
gd
7
Years of Service
User Offline
Joined: 21st Jul 2016
Location: Small Darkroom with no red light
Posted: 13th Sep 2016 20:03 Edited at: 15th Sep 2016 12:53
Hi all, not sure if this is in the forum, so here goes...

This is how you add text shadow for the panels in-game with lua.

You may want your text to stand out a little. This is based on the core GG fonts. This has not been tested on other fonts yet.

All you need to do is duplicate the text line.
So copy & paste it to a new line, change the colour.
Now add .1 to the x,y locations for each.

Have a look in the image attached for a better example and in the code below.





I have also included the sci-fi panel graphics for anybody who what's to add a little blue colour to their panels. If you need the panels to change colour just use any image program which will allow you to change the hue saturation values then save and export to GG.

Back-up, Back-up, Back-up!
Copy & Paste to the locations below. But remember to back-up your old ones first, as these images will be override your core GG panel images.

\Steam\SteamApps\common\Game Guru\Files\languagebank\neutral\gamecore\huds\panels

Update

Also keep this in mind when you want to use double quotes in text to use a back slash like so \" look at the two examples below.

TextColor(20.5,60,1,"Duplicate the text line e.g. TextColor(20.5,70,1,\"This is the shadow text colour.\",64,64,64)",255,255,255)

TextColor(20.5,65,1,"Quote of the day - \"Maybe I should get a electric shock every time I forget a THEN in lua script. \" - Lee Bamber",255,255,255)


gd Ed.
Dark Base 900 Pro OJ: Rampage V Ed.10, i7 6950x non-OC, DDR4-3333 64 GB RAM, Win 10/64, Asus Strix GeForce 1080 x 2 MDA mode, Air cooled

Laptop - M17xR3

Attachments

Login to view attachments
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 13th Sep 2016 21:05
looks good but what's wrong with dave?
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 13th Sep 2016 21:52
Quote: "but what's wrong with dave?"

His wife go away, I though. LOL.

@ gd
This looks nice, gives some relief to the text, it can be use specially in titles; thanks for sharing.

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM
gd
7
Years of Service
User Offline
Joined: 21st Jul 2016
Location: Small Darkroom with no red light
Posted: 14th Sep 2016 19:11 Edited at: 17th Sep 2016 20:28
Thanks guys lol,
I think Dave needs to resume HAL from his last session, as I may have funk-up his lua script!

I guess if I give Dave enough SPACE he will ODYSSEY sort things out and leave things alone.

Edit - Just like GG when you forget to close it down and put your pc in hibernation GG resumes from last session. Text taken from the film - SPACE ODYSSEY. - for anybody who did not get the joke.
Dark Base 900 Pro OJ: Rampage V Ed.10, i7 6950x non-OC, DDR4-3333 64 GB RAM, Win 10/64, Asus Strix GeForce 1080 x 2 MDA mode, Air cooled

Laptop - M17xR3
PM

Login to post a reply

Server time is: 2024-05-21 08:45:16
Your offset time is: 2024-05-21 08:45:16