Scripts / Radar visual problem after radar change

Author
Message
kcan
8
Years of Service
User Offline
Joined: 13th Dec 2015
Location:
Posted: 9th Feb 2017 17:19
Hello,

I changed the look of the radar, but there was a problem with the view that it appeared in the white square.
Will you help me solve this problem?

Thanks.

[img][/img]
PM
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 9th Feb 2017 20:17
Do not try radar yet, but I notice images are png, does your are too?

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
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 9th Feb 2017 20:33
Needs to have an alpha channel in the image to make the background see through.
Been there, done that, got all the T-Shirts!
PM
TechCo
User Banned
Posted: 10th Feb 2017 08:31
make image background transparent then it will work properly I am sure.
kcan
8
Years of Service
User Offline
Joined: 13th Dec 2015
Location:
Posted: 10th Feb 2017 10:19 Edited at: 10th Feb 2017 10:33
Thanks for all reply,

Yes image is png, ı make transparent in paint but does not work in game.
I could not solve the problem. Need to wait Feature vote update.
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 10th Feb 2017 10:58
Paint does not save transparency to an alpha channel unfortunately, you will need to edit it, add an alpha transparency channel, and delete the white parts in another program.

For a free software i can recommend GIMP

https://www.gimp.org/

If you're using GIMP, all you do is open your image in GIMP, and :

1. Looking over to the right you should have a panel with tabs on, switch to the layers tab.
2. Right click your image in there, and select Add Alpha Channel.
3. Go to the tools panel on the left and select the fuzzy select tool (looks like a magic wand).
4. Click anywhere in the white area of your image, and press the delete button (you will now see the white replaced with a checker pattern).
5. Go to File/Export As and save your image.

It should now have a transparency.

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 10th Feb 2017 12:05 Edited at: 10th Feb 2017 12:06
or paint.net, much like paint but more advanced

all you need to do is delete the white part of the image and save it as a 32bit .png with alpha
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
kcan
8
Years of Service
User Offline
Joined: 13th Dec 2015
Location:
Posted: 10th Feb 2017 12:59
Thank you very much for interested.
Problem Solved

[img][/img]
PM

Login to post a reply

Server time is: 2024-05-21 18:58:47
Your offset time is: 2024-05-21 18:58:47