Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1965 closed defect (fixed)

Restrict some sound groups by listening player

Reported by: historic_bruno Owned by: stwf
Priority: Should Have Milestone: Alpha 14
Component: Core engine Keywords:
Cc: Patch:

Description

Currently, unit training and building complete sounds are heard by every player with LOS on the new entity. These sounds should only be heard by the owning player, for everyone else they are a distraction.

It was proposed in IRC to add a property to the sound group XML, which the sound manager can use to filter out sounds by player. Suggested filters were: owner, allies, and everyone.

Change History (5)

comment:1 by stwf, 11 years ago

ok, this has been added to the svn trunk. to restrict a sound group to be heard by the owner only set

<Restricted>1</Restricted>

in the xml file.

comment:2 by stwf, 11 years ago

Resolution: fixed
Status: newclosed

comment:3 by fabio, 11 years ago

Milestone: BacklogAlpha 14

comment:4 by stwf, 11 years ago

OK the tag tohas bene changed to

<HeardBy>owner</HeardBy>

The other supported value will be 'all' although since that is the default, anything other than 'owner' will translate to 'all' Documentation to follow

comment:5 by ben, 11 years ago

In 13490:

Sets remaining unit trained and building completed sounds to HeardBy owner only, refs #1965

Note: See TracTickets for help on using tickets.