UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #2608 hurtsound never working...
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    Battlescape
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    4. Useful
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/2608 Item 2608] imported from sourceforge.net tracker on 2013-01-28 19:43:45

The last bug tracker item was closed automatically, but hurtsound still never works.
The definitions for hurtsound in team_*.ufo are correct & defined the same way like deathsound is, so I suppose the bug is hidden somewhere in the C code.
I think it should be called in line 781 in cl_localentity.c, while deathsound is called in line 114 in e_event_actordie.c, which always seems to work, so maybe this info somehow helps in bugfinding & fixing...
I think fixing this would be a great improvement, also for 2.3.1, so I hope someone can find some time to look into this issue.
===== Comments Ported from Sourceforge =====

====== crystan (2010-07-03 17:35:37) ======

I think the cause of this is that sounds are played depending on the position (and also direction) of the soldiers and not the camera. This explains why some sounds do not play.
====== crystan (2010-07-03 18:15:16) ======

Actually I thought it might explain why some sounds and especially this sound wont play. Have expressed myself wrong. I noticed this as a soldier came close to a fire and suddenly the sound started to play.
====== mcr2010 (2010-07-05 18:58:55) ======

Crystan, thanks for sharing these observations (sound not depending on camera position, but on soldiers position). This maybe really should be looked at also from developers side, but this is not related to never hearing anybody shouting out when just hit, while you can hear the soldiers or aliens die, although both of those sounds are defined the same way in team_*.ufo (hurtsound & deathsound)
====== tlh2000 (2010-07-05 21:49:48) ======

that behaviour was intended while the code was written - see S_SpatializeChannel. what would you propose?
====== mcr2010 (2010-07-05 22:24:33) ======

/offtopic on

I can understand the thought behind this behaviour, as you could use the camera during the aliens turn to cheat & listen to their footsteps & to other sounds they are making to locate them, even though your soldiers would not hear all of this because of their position.

Nevertheless this behaviour feels unnatural as you would expect the camera view to be your eyes & EARS, just like a cameraman also does not hear things through other people's ears, but through his own :))

That is why I would suggest that all ambient sounds but also shooting sounds & all the voices made by the actors @ least should be leveled in a way that feels natural for the player & that also means that the camera would have the mic mounted on itself ;)

/offtopic off

But the bug report posted here is not about this, but about hurtsound NEVER being played ?!
But I agree strongly with Crystan that the soundsystem feels 'unnatural' @ least. (Never seen someone who has 16 ears after all ?!)

====== mcr2010 (2010-08-03 10:31:52) ======

Crystan, do you agree with the assumptions regarding sound origin & playback made in my last post ?

Mattn, hurtsound still does never play ?!

====== tlh2000 (2010-08-03 16:55:04) ======

fixed in http://sourceforge.net/apps/trac/ufoai/changeset/31202
====== mcr2010 (2010-08-03 18:44:31) ======

Great job !
How such a small change can have such a big effect ;)
The lowering of the distance-scaling was imho a good improvement on the sound-front also ;)
====== crystan (2010-08-03 20:01:14) ======

Yeah i absolutely agree. Already asked mattn about it yesterday. :)
====== mcr2010 (2010-08-05 14:28:12) ======

I set this to 'pending' as the initial bug from this report seems to be fixed.
====== sf-robot (2010-09-29 19:00:07) ======

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif