Save system and kill counters for streaming


RaukGorth

Recommended Posts

Hi Guys,

 

I hope you are doing well.

 

As part of my TLD streams I have automatic kill counters, which are updated from the game save file.

Since you are updating the save system, would you be able to modify the stats panel in game saves, so it is just a bit more readable?

Currently things like number of deer killed is stored with index -1441106409 in m_StatsDictionary.

    return {
        "SaveName": save['m_DisplayName'],
        "DaysSurvived": m_AchievementManagerSerialized['m_NumDaysSurvived'],
        "Bear": m_PanelStatsSerialized['m_StatsDictionary'][961919109],
        "Wolf": m_PanelStatsSerialized['m_StatsDictionary'][1848017429],
        "Deer": m_PanelStatsSerialized['m_StatsDictionary'][-1441106409],
        "Moose": m_PanelStatsSerialized['m_StatsDictionary'][-1108758926]
    }

Would it be possible to simplify this with the update?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now