Author
Message
thatandplaygames
4
Years of Service
User Offline
Joined: 12th Feb 2020
Location: In a creative space
Posted: 7th Apr 2022 18:18
Any ideas how to get the radar from Dvader aka retrogamebloke to work in GGmax?

Thanks
Necrym59
8
Years of Service
User Offline
Joined: 2nd Jul 2016
Location:
Posted: 7th Apr 2022 23:13 Edited at: 7th Apr 2022 23:14
Not yet there have been changes in MAX that require fixes to the script
try looking at smallg's scripts i think he has one like a skyrim style that works possibly adapt that im looking at it myself
PM
thatandplaygames
4
Years of Service
User Offline
Joined: 12th Feb 2020
Location: In a creative space
Posted: 7th Apr 2022 23:44
Necrym59, awesome!!!
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 8th Apr 2022 13:45
https://vimeo.com/697368846
Been there, done that, got all the T-Shirts!
PM
thatandplaygames
4
Years of Service
User Offline
Joined: 12th Feb 2020
Location: In a creative space
Posted: 8th Apr 2022 14:32
AmenMoses, the GameGuru Master Nice. Are the scripts from GG Classic? Can u share how you did this with us?

Thanks!
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 8th Apr 2022 14:37 Edited at: 8th Apr 2022 14:40
Here it is, it's just the classic one fiddled with a bit.

Attach the radar script to an always active entity, use Dynamic Lua settings to tweak position, size and radar range.

Attach the objectives script to some active entities and dot around the map, use Dynamic Lua settings to select the colour of the objective and whether to remove it from the radar when the player arrives at it.
Been there, done that, got all the T-Shirts!

Attachments

Login to view attachments
PM
thatandplaygames
4
Years of Service
User Offline
Joined: 12th Feb 2020
Location: In a creative space
Posted: 8th Apr 2022 16:46
Thank you!
thatandplaygames
4
Years of Service
User Offline
Joined: 12th Feb 2020
Location: In a creative space
Posted: 8th Apr 2022 17:03 Edited at: 8th Apr 2022 17:08
I think that I'm missing something. Please see attached image.
I'm not sure how to get into the Dynamic Lua settings.

Also, should the scripts be placed here:
Documents\GameGuruApps\GameGuruMAX\Files\scriptbank\new_radar

Thanks!

Attachments

Login to view attachments
thatandplaygames
4
Years of Service
User Offline
Joined: 12th Feb 2020
Location: In a creative space
Posted: 8th Apr 2022 17:18 Edited at: 8th Apr 2022 17:25
OK... I was using STATIC objects (rocks) to test it and that's why it was not working. It is now.

I need to figure out how to make it (an objective) disappear when I find it. hmmmm SOLVED - A simple Destroy(e) works

for k, v in pairs( objectives ) do
if not v.reached and
U.PlayerCloserThan( k, 150 ) then
PromptDuration( "You have reached objective " .. v.name, 3000 )
PlaySound( e, 0 )
Destroy(e)
v.reached = true
break
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 8th Apr 2022 18:45 Edited at: 8th Apr 2022 18:46
Should be Destroy( k )

Actually the PlaySound should also be k, makes more sense as then each objective can play a different sound when reached.
Been there, done that, got all the T-Shirts!
PM

Login to post a reply

Server time is: 2024-12-22 05:01:09
Your offset time is: 2024-12-22 05:01:09