View Issue Details

IDProjectCategoryView StatusLast Update
0003763The Dark ModGUIpublic15.03.2021 17:15
Reportergrayman Assigned Tograyman  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 2.02 
Target VersionTDM 2.03Fixed in VersionTDM 2.03 
Summary0003763: Loading bar progress should better represent actual progress
DescriptionThe loading bar measures the number of bytes read from the filesystem as the mission loads, and compares that against the total expected number of bytes to be read.

The problem is that total bytes is a fixed number for all maps, since the first time a map is loaded, TDM can't know what's going to be read ahead of time.

The loading bars of large maps reach 100%, then the loading screen sits there for a very long time as the mission continues to load. Some maps make use of this time by posting tips, but for most maps the player just sits there waiting, with no feedback.
Additional InformationRather than gauging progress using a total byte count that has nothing to do with what actually needs to be read, change to a progress-based system. Identify key points of the load process, find the times at which those points are reached, and construct a map of the loading progress.

Using 10 missions of varying size, average the key point times and use those averages to paint the loading bar as a mission loads.

Leave 5s after the loading bar reaches 100% to allow for the reading of any posted tips.

This method provides feedback to the player for the entire loading process (minus the 5s pause at the end), and is psychologically better than the present method.
TagsNo tags attached.

Relationships

related to 0005118 resolvedstgatilov No 'Press attack to start' anymore if error message stops first attempt to load map 

Activities

grayman

grayman

27.06.2014 22:59

viewer   ~0006685

Changed Loading bar progress to show progress at key points of loading a map. Averaged the progress at those points for 10 maps.

Rev. 6048:

main.cpp
CollisionModel_load.cpp
CollisionModel_local.h
Common.cpp
Common.h
DeclManager.cpp
Session.cpp
Session.h
Session_local.h
Entity.cpp
Game.h
Game_local.cpp
Game_local.h
AAS_local.h
AAS_routing.cpp
EAS.cpp
decltdm_matinfo.cpp
Image_init.cpp
ModelManager.cpp
RenderSystem_init.cpp

Issue History

Date Modified Username Field Change
19.06.2014 15:19 grayman New Issue
19.06.2014 15:19 grayman Status new => assigned
19.06.2014 15:19 grayman Assigned To => grayman
27.06.2014 22:59 grayman Note Added: 0006685
27.06.2014 22:59 grayman Status assigned => resolved
27.06.2014 22:59 grayman Resolution open => fixed
27.06.2014 22:59 grayman Fixed in Version => TDM 2.03
15.03.2021 17:15 stgatilov Relationship added related to 0005118