Scripts / Radar update

Author
Message
gd
8
Years of Service
User Offline
Joined: 21st Jul 2016
Location: Small Darkroom with no red light
Posted: 29th Jan 2017 07:28 Edited at: 29th Jan 2017 08:05
Hi guys, I was looking over some of my archived HUD's and just thought I would share this with you all.
This will allow you to use one sprite to change the colours of the AI's in the radar which is based on their AI soldier state. It is really simple to update and to achieve this result... so here's how.

Step. 1

Download the below attached sprite image radar-white.png from the attached radar-white.zip file.

Step. 2

Navigate to the GG directory radar then copy & paste the downloaded sprite image into the directory.

..\Steam\steamapps\common\Game Guru\Files\scriptbank\radar

Step. 3

While you are in the radar folder of GG, back-up and edit the file radar.lua like below.

Between lines 23-24 copy & paste this line of code.



Step. 4

Change both lines 48 then 64 to match the code below.



Step. 5

Between lines 83-84 copy & paste this code block.



Step. 6

Now save the file radar.lua

Step. 7

Add the radar to you level in the same way as always, enemies and waypoints. Try spreading them out a bit so you can test your level well.

====================================================================================


That's about it guys.

You will find a youtube video below using this example. It may look a little different but works the same way. Yes my gun skills are not great but I blame the AI's...



I have included as many AI soldier state as possible but if I have missed any please let me know.


Screenshot


Update

I have now added the lua code to the attached zip.

Happy gaming.

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 SLI mode, Water cooled with an old Victorian cast iron radiator and a industrial leather belt driven fan - That's what you call Steampunked.

Laptop - M17xR3


A new competition running for GG

Attachments

Login to view attachments
PM
gd
8
Years of Service
User Offline
Joined: 21st Jul 2016
Location: Small Darkroom with no red light
Posted: 31st Jan 2017 19:26
Hi guys, have any of you tried this out yet?
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 SLI mode, Water cooled with an old Victorian cast iron radiator and a industrial leather belt driven fan - That's what you call Steampunked.

Laptop - M17xR3


A new competition running for GG
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 31st Jan 2017 21:27
This forum appears to be a bit quiet at present.

I already have my own radar scripts that go a bit further.
Been there, done that, got all the T-Shirts!
PM
gd
8
Years of Service
User Offline
Joined: 21st Jul 2016
Location: Small Darkroom with no red light
Posted: 13th Feb 2017 05:16 Edited at: 13th Feb 2017 13:50
HI guys, this is a little update based on Skyrim radar bar compass system. The compass only uses three image sprites so far as all the older ones are now obsolete.

How it works; the objects / objectives are barrels in this example. On the radar compass the objectives are only highlight the closer you get to the object / objective they will become more visible on the radar compass.

You may fine the image below has a better resolution than the YouTube attached.



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 SLI mode, Water cooled with an old Victorian cast iron radiator and a industrial leather belt driven fan - That's what you call Steampunked.

Laptop - M17xR3


A new competition running for GG

Attachments

Login to view attachments
PM
warlock12
8
Years of Service
User Offline
Joined: 12th Sep 2016
Location: Argentina
Posted: 13th Feb 2017 12:44
Interesant job! Felicitations!
The game is a serious thing (El juego es una cosa seria)
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 13th Feb 2017 13:14 Edited at: 13th Feb 2017 13:14
Quote: "Felicitations!"


Haha, i love that word, it's such a shame it hasn't been in general use for over a century

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
Earthling45
8
Years of Service
User Offline
Joined: 3rd Sep 2016
Location: Zuid Holland Nederland
Posted: 13th Feb 2017 14:40
Quote: " Felicitations!"


Dutch roots?
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 13th Feb 2017 15:16
Quote: "Dutch roots? "


It's from the Latin fēlīcitātus meaning something or someone that has been made happy.

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
gd
8
Years of Service
User Offline
Joined: 21st Jul 2016
Location: Small Darkroom with no red light
Posted: 14th Feb 2017 17:39 Edited at: 14th Feb 2017 19:07
Hi guys, I'm thinking of adding the updated script here in the very near future after more tests. Let me know if it will be something you would be interested in?
I'm also going to include icons for different objectives / locations. If you have a list of what you would like to see included please let me know.
Which genres would you guys want me to cover?
I'm working on a Space Sci-fi and 1700's genres / icon's at this point in time.

Thanks guys

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 SLI mode, Water cooled with an old Victorian cast iron radiator and a industrial leather belt driven fan - That's what you call Steampunked.

Laptop - M17xR3


A new competition running for GG
PM

Login to post a reply

Server time is: 2024-12-23 03:13:28
Your offset time is: 2024-12-23 03:13:28