Product Chat / 3D Sound possible in gameguru?

Author
Message
Duchenkuke
GameGuru VBOTB Developer
8
Years of Service
User Offline
Joined: 7th Jun 2016
Location: Germany
Posted: 19th Aug 2019 09:53
Hi Guys,

I want to have like a sound source like a radio or a campfire.

These things normally produce sounds and I want the sound to be heard only within a range of lets say 5 meters.

The farer you get away from the source, the quieter the sound will be until its completely muted.
Do you get what I mean?

Are there existing scripts doing this? If yes, please help me out

- Duchenkuke
Wolf
Forum Support
16
Years of Service
User Offline
Joined: 8th Nov 2007
Location: Luxemburg
Posted: 19th Aug 2019 10:07
I think this is it LINK
Tarkus1971
Audio Media Maker
9
Years of Service
User Offline
Joined: 24th Feb 2015
Location: England, UK
Posted: 19th Aug 2019 10:14
just make sure the sound you are using is a MONO .wav file.

Aftershock Quad Core AMD FM2+ 3.5 GHz 8GB Motherboard and Processor, A7700k apu, Asus GT970 STRIX 4gb Nvidia gfx card.
King Korg Synth, Alesis SR18 Drum Machine, Akai MPX8 sample player, Roland Fantom XA Synth, Axus Digital AXK2 Digital Drum Kit, Novation Ultranova Synth, Waldorf Blofeld Synth, Roland D05 Synth Module, Bluedio Victory V Headphones, AKG K141 Studio Headphones, Lenovo Ideapad, with Windows 10 64bit, 8Gb Ram and AMD A10 7th Gen Graphics. Acer Swift i3 Laptop with Intel Optane memory, Intel 620UHD GPU, Windows 10 64bit.
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 19th Aug 2019 11:48
You might find this useful:

https://forum.game-guru.com/thread/220877#msg2617569
Been there, done that, got all the T-Shirts!
PM
PCS
8
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 19th Aug 2019 12:30
here is one i use for a aircon sound noise.
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 16GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 19th Aug 2019 12:47
I use the one ..
Never had a problem with it. Just attach it to whatever dynamic object you want ( Engine for example ) and add the sound in the object properties. See how you get on with this one.
The only person ever to get all his work done by "Friday" was Robinson Crusoe..

Attachments

Login to view attachments
PM
Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 19th Aug 2019 15:16 Edited at: 19th Aug 2019 15:22
That's a very easy script to put together. When i read 3D sound I thought you meant more of left and right panning based on emission location.

If you want this to work with an even wider distance of fade, make sure to have your script Always Active.
Store Assets - Store Link

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GTX 960
Duchenkuke
GameGuru VBOTB Developer
8
Years of Service
User Offline
Joined: 7th Jun 2016
Location: Germany
Posted: 19th Aug 2019 20:11
Thanks guys!!

It works like a charm
Mr Love
19
Years of Service
User Offline
Joined: 9th Jun 2005
Location: Sweden
Posted: 20th Aug 2019 07:09
So You came back to GG after all?
In My opinion unity sucks.
Glad You joined Us again...
Stop being mediocre, be Yourself...
PCS
8
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 20th Aug 2019 07:41
hehe

Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 16GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 20th Aug 2019 08:26
Quote: "In My opinion unity sucks."


I wouldn't say it sucks, it's far superior than most engines, and light years ahead of gameguru. It's just has a steep learning curve being less click and play than gameguru is.

The amount of times i see people saying things like "doing X Y and Z in gameguru is a nightmare, i shouldn't have to edit this and that file outside the engine blah blah, unity is much easier", and i think to myself that they obviously haven't really delve into unity, because in some cases unity is even worse for external editing than gameguru is, but on the other hand there's stuff in unity that just makes gameguru look clunky, it's six of one and half a dozen of the other really.

Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 20th Aug 2019 18:36 Edited at: 20th Aug 2019 18:37
Quote: "doing X Y and Z in gameguru is a nightmare, "


For having used both Unity and Unreal, I'd have to say that the widget in GG is still incredibly painful to use at times for me personally. Top-down, however, is not so bad, but for complex layering while in free-flight mode... its just really difficult to use and certainly needs some improvements. Positioning, Rotating and Scaling. But its a request going on several years now, so I'm assuming the majority of users find the state of it to be satisfactory.

Regarding sound in Game Guru, it would be interesting to see if it was possible to add effects. Load three of the same sound file and play 1 after the other with delays and lowered volume for echo'ed effect. Maybe pass in different pitches of the subsidiary duplicated audio files to create the sound of being inside a sewer. ETC. I know the other engines have plugins for audio effects like this but it may actually be possible with LUA to achieve similarly. Not sure how many channels one entity can play, layered, but might need to run it by multiple for the delay to work out.
Store Assets - Store Link

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GTX 960
Duchenkuke
GameGuru VBOTB Developer
8
Years of Service
User Offline
Joined: 7th Jun 2016
Location: Germany
Posted: 20th Aug 2019 20:26 Edited at: 20th Aug 2019 20:48
Quote: "So You came back to GG after all?"


shhhhh... lol

It can't hurt to see whats out there, I am just trying to make a game and i will learn as much as I need to finally get this project done. And I will use the tools that fit the best for my project. Unity sure is great and i learned many new things but gameguru has its pro's too.
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 21st Aug 2019 01:10 Edited at: 21st Aug 2019 01:11
Quote: "It can't hurt to see whats out there, I am just trying to make a game and i will learn as much as I need to finally get this project done."

Your last lot of Demos were incredible .. Its you that's stopping yourself .. I have no idea why you gave up on some ?
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Duchenkuke
GameGuru VBOTB Developer
8
Years of Service
User Offline
Joined: 7th Jun 2016
Location: Germany
Posted: 22nd Aug 2019 13:57
Quote: "I have no idea why you gave up on some ?"


I can assure you that I dont drop projects randomly. There is always a reason for it. A reason too big for one man to solve.
GubbyBlips
5
Years of Service
User Offline
Joined: 14th Jan 2019
Location:
Posted: 23rd Aug 2019 02:44
Same here, totally agree.
GG's broken stand- alone's are one thing too big for one man to solve.

Now I don't map games anymore. If I get back into game making, it might be
somewhere else, and definitely would be with a partner. Not saying GG
doesn't have a great idea-- but even the developers now admit that it is NOT
and was never intended to be an AA type engine.

Actually that's too bad to hear. I like the simple UI, but what else?
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 23rd Aug 2019 12:51
Quote: " even the developers now admit that it is NOT
and was never intended to be an AA type engine."

You make it sound like its new news but that's been the case since day One.
We all knew that before Development.
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 23rd Aug 2019 18:34 Edited at: 23rd Aug 2019 18:40
Quote: " " even the developers now admit that it is NOT
and was never intended to be an AA type engine.""


Quote: "You make it sound like its new news but that's been the case since day One.
We all knew that before Development."


yes, i actually think it was a mistake to move away from the easy game maker approach, that was GG's unique selling point, now it's just another game engine that really doesn't stand out in a crowd of much better competition and tried to do too much, was better suited to getting a quick game down and with a set goal in mind it would have been much easier to achieve a final product... now it feels like there's no direction anymore and will quickly become obsolete... though it wasn't an easy call for Lee to make, a lot of users want(ed) more and GG is still easy to use, it just doesn't feel like there's any progress on the original idea anymore which is a shame
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Ertlov
GameGuru BOTB Developer
17
Years of Service
User Offline
Joined: 18th Jan 2007
Location: Australia
Posted: 26th Aug 2019 02:31
Quote: "Quote: " even the developers now admit that it is NOT
and was never intended to be an AA type engine."

You make it sound like its new news but that's been the case since day One.
We all knew that before Development."


Sure thing, but there is a slight difference between "not being an AAA engine" and "not being able to compile a game that meets MVP standards for commercial distribution".

Until 5.X Unity wasn`t an AAA engine either and thousands of viable, partially successful games came from it.
"I am a road map, I will lead and you will follow, I will teach and you will learn, when you leave my sprint planning you will be weapons, focused and full of JIRA tickets, Hot Rod rocket development gods of precision and strength, terrorizing across the repository and hunting for github submits."
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 26th Aug 2019 05:36
GG does not have to be AAA, simply TGC must retake the original idea and work on that line. As smallg said.
An AAA type engine moves light years away from the easy game maker.
With an AAA engine, the easy things will end, and the engine for all is also over, and becomes an engine for a few who gather the necessary knowledge and infrastructure.
This means redoing the engine completely from scratch; Now the X, dbo, etc. files become useless and I think that all the darkbasic code or whatever it is called, which must still have GG, also becomes obsolete.
Taking all that and much more into account, so that GG can be converted into AAA, why not create a new application from scratch and adapted from the beginning to modern times.
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
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM

Login to post a reply

Server time is: 2024-10-06 22:21:44
Your offset time is: 2024-10-06 22:21:44