Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, dr_panther), 1,282 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Sound that follows an object #108419
01/21/07 11:07
01/21/07 11:07
Joined: Aug 2006
Posts: 128
Papua New Guinea
I
Impaler Offline OP
Member
Impaler  Offline OP
Member
I

Joined: Aug 2006
Posts: 128
Papua New Guinea
I think the answer to this is so simple I don't want to post it on scripting :
I want sounds to stay with a moving object instead of getting left behind when ent_playsound is called. how?


Murphey's Law:
<< if anything can go wrong, it will >>

(Murphey was an optimist).
Re: Sound that follows an object [Re: Impaler] #108420
01/21/07 11:34
01/21/07 11:34
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
of getting left behind when ent_playsound is called.

What? A 3D sound is always panned and faded as the object is related to the listener (camera) in 3D space.

Re: Sound that follows an object [Re: HeelX] #108421
01/22/07 11:30
01/22/07 11:30
Joined: Aug 2006
Posts: 128
Papua New Guinea
I
Impaler Offline OP
Member
Impaler  Offline OP
Member
I

Joined: Aug 2006
Posts: 128
Papua New Guinea
I mean for example an engine sound is supposed to stay with the car object rather than it being left behind the car when the car moves on. I want the sound to be constantly emitted from where the car is.


Murphey's Law:
<< if anything can go wrong, it will >>

(Murphey was an optimist).
Re: Sound that follows an object [Re: Impaler] #108422
01/22/07 11:50
01/22/07 11:50
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
If I assign an sound with ent_playSound to an entity while it moves, the 3d sound moves with the object.

Compile a testdemo whereas you demonstrate this bug!

Re: Sound that follows an object [Re: HeelX] #108423
06/25/07 11:56
06/25/07 11:56
Joined: Aug 2005
Posts: 94
Oberhausen
Taratoga1 Offline
Junior Member
Taratoga1  Offline
Junior Member

Joined: Aug 2005
Posts: 94
Oberhausen
Hi,

even the thread is a bit older. I found the same problem:

If an entity is emitting the sound and is moving, the sound stays at the place, where it was started. (The sound is left behind.)

Example: The player is speaking, while going. The camera is flying backwards by watching the speaking player. The sound is faded out, even the distance between player and camera dont change.

This is happen with ent_playsound. My question is if it is needed to update the location of the entity? But as I understand the situation, this is not necessary.

Kind regards

Taratoga

Last edited by Taratoga1; 06/25/07 12:16.

Working on a Machinima Production System based on GS6.
www.taratoga.de

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1