Frictional Games Forum (read-only)
Names of levels for saved games? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Names of levels for saved games? (/thread-12710.html)



Names of levels for saved games? - Shadowfied - 01-19-2012

When you use the load game button after selecting custom story, it just says "AutoSave - - Date", is there any way to make the name of the level appear there?

Thanks in advance.



RE: Names of levels for saved games? - Apjjm - 01-19-2012

You will want to use:
Code:
SetMapDisplayNameEntry(string& asNameEntry)
In your script. The entry points to an entry in the language files. The category it looks in will be the "levels" category.



RE: Names of levels for saved games? - Shadowfied - 01-19-2012

(01-19-2012, 10:15 AM)Apjjm Wrote: You will want to use:
Code:
SetMapDisplayNameEntry(string& asNameEntry)
In your script. The entry points to an entry in the language files. The category it looks in will be the "levels" category.
I just put it in void OnStart for every level?





RE: Names of levels for saved games? - Elven - 01-19-2012

Interesting Big Grin!!!


RE: Names of levels for saved games? - Apjjm - 01-19-2012

(01-19-2012, 10:17 AM)Shadowfied Wrote: I just put it in void OnStart for every level?
Yes, the main game has this in the OnStart event.




RE: Names of levels for saved games? - Shadowfied - 01-21-2012

(01-19-2012, 07:50 PM)Apjjm Wrote:
(01-19-2012, 10:17 AM)Shadowfied Wrote: I just put it in void OnStart for every level?
Yes, the main game has this in the OnStart event.
Thanks, it works. Smile