(05-17-2012, 06:49 AM)Homicide13 Wrote: (05-17-2012, 05:59 AM)vvanus Wrote: (05-16-2012, 05:51 AM)Cranky Old Man Wrote: You could also look into the ProgLog() function. Maybe you can solve what it does.
Sorry but I can't figure it out what does this function actually do?
Haha that's the point... None of us know....
I just found that if I turn UseProgLog in user_settings.cfg to true, I can use ProgLog() function to print out the text to ProgLog file. Is this new?
I found that this is useful because it logged the total gameplay time, health, sanity, oil, tinderbox at each entry that ProgLog() get called. and there are also some log that I didn't print on the log like enemy in range or player died
--- Amnesia Progress Logger ----
Player: dev_user Date: 18/5 - 2012
---------------------------------
# High # 00:00:29 | 01_old_archives | H:100 | S:88 | O:100 | T:0 | C:0
> Collide trigger grunt
# Low # 00:00:29 | 01_old_archives | H:100 | S:88 | O:100 | T:0 | C:0
> Enemy 'servant_grunt_1' is in range
# Low # 00:00:29 | 01_old_archives | H:100 | S:88 | O:100 | T:0 | C:0
> Enemy 'servant_grunt_1' is in range
# Low # 00:01:21 | 01_old_archives | H:100 | S:73 | O:100 | T:0 | C:0
> Forced Instant Exit in Journal (player finished reading).
# High # 00:04:14 | 01_old_archives | H:-31 | S:13 | O:100 | T:0 | C:0
> Player died!
# Low # 00:04:14 | 01_old_archives | H:-31 | S:13 | O:100 | T:0 | C:0
> Enter main menu.
# Low # 00:04:15 | 01_old_archives | H:-31 | S:13 | O:100 | T:0 | C:0
> Return to game from menu
# Low # 00:04:19 | 01_old_archives | H:-31 | S:13 | O:100 | T:0 | C:0
> Enter main menu.