Scripts / [SOLVED] radar on game

Author
Message
nazco
4
Years of Service
User Offline
Joined: 8th Nov 2019
Location:
Posted: 4th Dec 2020 01:36
hi:
i was looking at the programs that are in gg
in the mapbank....
in this case was the big escape....
i was testing it
and i saw at the top right of the test program ..a radar
that shows the position of the enemies
how is this is done??? i would like to know...
so i can learn how to use it on my levels..
i would apresiate any help..from you guys
thanks in advance
waiting your repply at your earliest conveinance
thanks very much
nazco

The author of this post has marked a post as an answer.

Go to answer
PM
Teabone
Forum Support
17
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 4th Dec 2020 04:04
You must add this script to an entity with always active on, in your map:

scriptbank \ radar \ radar.lua
Store Assets - Store Link
Free Assets - Resource Link

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GTX 960
nazco
4
Years of Service
User Offline
Joined: 8th Nov 2019
Location:
Posted: 4th Dec 2020 04:06 Edited at: 4th Dec 2020 04:09
This post has been marked by the post author as the answer.
hi: teabone
i solved the problem
did what you told me
used a cover zone and put the radar script on it and it worked fine
so my post is closed

so thanks for your help
nazco
PM
Teabone
Forum Support
17
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 4th Dec 2020 04:10
Glad you found a solution. Keep in mind though scripts assigned to zones may not operate if the player strays too far from them. So if for any reason the Radar disappears its due to that.
Store Assets - Store Link
Free Assets - Resource Link

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GTX 960
thatandplay
4
Years of Service
User Offline
Joined: 11th Oct 2019
Location:
Posted: 5th Feb 2021 18:57
Why is my radar distorted and to the top right? I want it to look like this https://www.youtube.com/watch?v=QTri_9XfE0U
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 5th Feb 2021 23:22
well if you watch the video you linked it explains how to move the radar
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 7th Feb 2021 20:45
As to why it is distorted; what screen resolution are you using? GG doesn't handle ultra widescreen so if you are using one of those modes that would explain it.
Been there, done that, got all the T-Shirts!
PM

Login to post a reply

Server time is: 2024-03-29 01:14:48
Your offset time is: 2024-03-29 01:14:48