View Issue Details

IDProjectCategoryView StatusLast Update
0005967The Dark ModObjectivespublic11.06.2022 15:38
ReporterObsttorte Assigned ToObsttorte  
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Target VersionTDM 2.11Fixed in VersionTDM 2.11 
Summary0005967: Allow to silenty change the state of an objective.
DescriptionAs per this discussion

https://forums.thedarkmod.com/index.php?/topic/21274-silently-add-a-new-objective-or-make-one-visible/

mappers might be able to disable the acustical and visual notification of objective completion, failure and addition.

For this purpose, a script function setObjectiveNotification(bool ObjNote) has been added to the player code. If objNote is zero, no sound will be played and no text appears. Nonzero values reset to the default behaviour.
TagsNo tags attached.

Activities

Obsttorte

Obsttorte

04.06.2022 20:10

developer   ~0014841

Commited with revision #9925.
Player.cpp/h - added the script function void setObjectiveNotification(bool ObjNote)
MissionData.cpp/h - added condition (ObjNote) to sound and text output
stgatilov

stgatilov

11.06.2022 08:16

administrator   ~0014853

The new flag does not restore properly.
I guess you should handle it in save/restore functions.
Obsttorte

Obsttorte

11.06.2022 11:40

developer   ~0014858

Well, well, it's been a while :( Fix commited with rev. 9928).

Sorry for the inconvenience.
stgatilov

stgatilov

11.06.2022 15:38

administrator   ~0014862

No problem =)

Issue History

Date Modified Username Field Change
04.06.2022 19:59 Obsttorte New Issue
04.06.2022 19:59 Obsttorte Status new => assigned
04.06.2022 19:59 Obsttorte Assigned To => Obsttorte
04.06.2022 20:10 Obsttorte Status assigned => resolved
04.06.2022 20:10 Obsttorte Resolution open => fixed
04.06.2022 20:10 Obsttorte Fixed in Version => TDM 2.11
04.06.2022 20:10 Obsttorte Note Added: 0014841
11.06.2022 08:16 stgatilov Status resolved => assigned
11.06.2022 08:16 stgatilov Note Added: 0014853
11.06.2022 11:40 Obsttorte Status assigned => feedback
11.06.2022 11:40 Obsttorte Note Added: 0014858
11.06.2022 15:38 stgatilov Status feedback => resolved
11.06.2022 15:38 stgatilov Note Added: 0014862