View Issue Details

IDProjectCategoryView StatusLast Update
0004882The Dark ModSoundpublic10.01.2023 02:35
Reportergrayman Assigned Tograyman  
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Product VersionSVN 
Target VersionTDM 2.07Fixed in VersionTDM 2.07 
Summary0004882: When a remote listener is active, allow the player to still hear the sounds around him
DescriptionReference this thread:

http://forums.thedarkmod.com/topic/19623-players-ear-for-207/

With the new idListener entity (issue 4620), a mapper can shift what the player hears from the location of the player's ear to the location of an active idListener entity.

But this supplants the sounds the player would hear at his ear location.

Changes should be made so that the player continues to hear what's arriving at his ear location, as well as what's arriving at a remote listener, or at the shifted door-listening location when the player is leaning against a door.
TagsNo tags attached.

Relationships

related to 0005553 resolvedstgatilov looking in keyhole crash 

Activities

grayman

grayman

19.10.2018 05:27

viewer   ~0010789

Folded into this is a new func_peek entity for peeking through keyholes and wall cracks, since peeking also invokes remote listening.
grayman

grayman

20.10.2018 19:48

viewer   ~0010791

1. Made changes to allow the player to hear the sounds around him while listening to what’s beyond a door or a crack when “peeking”. Listening (only) applies to leaning left or right against a door.

2. Created a new entity, idPeek.

The mapper can place this in their map at the location of a keyhole on a door, on at a crack in a wall. Leaning forward into the door or the wall near this entity will present a “peek” into the area beyond the door or wall. The player will also hear sounds from that area.

Provided overlays for a keyhole and for a crack (a simple circle). The map author can provide his own gui and overlays if he wants to change the graphics. The gui specification is a spawnarg on the entity.

Rev 7740:

game/Actor.cpp
game/Actor.h
game/Camera.cpp
game/Entity.cpp
game/FrobDoor.cpp
game/FrobDoor.h
game/Game_local.cpp
game/Game_local.h
game/Listener.cpp
game/Listener.h
game/Misc.cpp
game/Misc.h
game/Player.cpp
game/Player.h
game/PlayerView.cpp
game/PlayerView.h
game/SecurityCamera.cpp
game/ai/AI.cpp
game/ai/AI.h
game/ai/EAS/EAS.cpp
game/ai/EAS/EAS.h
game/physics/Physics_Player.cpp
game/physics/Physics_Player.h
game/script/Script_Thread.cpp
game/script/Script_Thread.h
sound/snd_emitter.cpp
sound/snd_local.h
sound/snd_world.cpp
sound/sound.h
tools/radiant/EditorEntity.cpp

Rev. 15347:

 dds/guis/assets/hud/crack_overlay_16x10.dds (with props)
 dds/guis/assets/hud/crack_overlay_16x9.dds (with props)
 dds/guis/assets/hud/crack_overlay_4x3.dds (with props)
 dds/guis/assets/hud/crack_overlay_5x4.dds (with props)
 dds/guis/assets/hud/keyhole_overlay_16x10.dds (with props)
 dds/guis/assets/hud/keyhole_overlay_16x9.dds (with props)
 dds/guis/assets/hud/keyhole_overlay_4x3.dds (with props)
 dds/guis/assets/hud/keyhole_overlay_5x4.dds (with props)
 guis/assets/black_background.tga (with props)
 guis/tdm_crack.gui
 guis/tdm_keyhole.gui
 script/tdm_peek.script
 ExtLibsx64.dll
 TheDarkMod.exe
 TheDarkModx64.exe
 def/func.def
 def/misc.def
 script/tdm_events.script
 script/tdm_main.script

Issue History

Date Modified Username Field Change
07.09.2018 14:14 grayman New Issue
07.09.2018 14:14 grayman Status new => assigned
07.09.2018 14:14 grayman Assigned To => grayman
19.10.2018 05:27 grayman Note Added: 0010789
20.10.2018 19:48 grayman Note Added: 0010791
20.10.2018 19:48 grayman Status assigned => resolved
20.10.2018 19:48 grayman Resolution open => fixed
20.10.2018 19:48 grayman Fixed in Version => TDM 2.07
10.01.2023 02:35 Daft Mugi Relationship added related to 0005553