View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003292 | The Dark Mod | Design/Coding | public | 19.01.2013 18:29 | 21.01.2013 03:54 |
Reporter | Obsttorte | Assigned To | grayman | ||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | TDM 1.08 | ||||
Target Version | TDM 2.00 | Fixed in Version | TDM 2.00 | ||
Summary | 0003292: Wrong objective level names in end mission screen | ||||
Description | If you change the names of the difficulty levels then the default names still show up in the end mission statistics screen. | ||||
Steps To Reproduce | Create a map and add the spawnarg(s) difficultyXname, where X=0,1,2 to any worldspawn. Add some names there. These names will show up correctly in the difficulty selection screen at the beginning of the mission, but not in the statistics screen in the end. You can test this out in the example map. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
In game/DifficultyManager there is a function idStr GetDifficultyName(int level) defined. I guess this one should be executed in the end-mission screen to get the actual name of the difficulty level (didn't find that part in the code). | |
By the time the Mission Statistics screen asks for the difficulty level name, the map has been shut down and that information is gone. So, with no specific map-defined difficulty names available ("Taffer", etc.), the default names are displayed ("Easy", etc.). The map-defined difficulty names have to be copied to the statistics area before map shutdown, so they can be retrieved from there and displayed on the Statistics screen. |
|
Save a copy of the level names in the statistics data, which is still available when painting the statistics screen. The main copy of the level names is wiped when the map ends, which happens before the statistics screen is painted. rev. 5690: MissionData.cpp MissionData.h MissionStatistics.cpp MissionStatistics.h DifficultyManager.cpp |
|
Date Modified | Username | Field | Change |
---|---|---|---|
19.01.2013 18:29 | Obsttorte | New Issue | |
19.01.2013 18:29 | Obsttorte | File Added: difftest.pk4 | |
19.01.2013 19:51 | grayman | Assigned To | => grayman |
19.01.2013 19:51 | grayman | Status | new => assigned |
20.01.2013 14:58 | Obsttorte | Note Added: 0005019 | |
20.01.2013 20:27 | grayman | Note Added: 0005020 | |
21.01.2013 03:54 | grayman | Note Added: 0005021 | |
21.01.2013 03:54 | grayman | Status | assigned => resolved |
21.01.2013 03:54 | grayman | Resolution | open => fixed |
21.01.2013 03:54 | grayman | Fixed in Version | => TDM 2.00 |
21.01.2013 03:54 | grayman | Target Version | => TDM 2.00 |
21.01.2013 03:54 | grayman | Description Updated |