x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Do Steam Stats have a limit of 0-10? Or can I set it above 10? Like 100?

The Stat for WriteLeaderboard only works up 'till 10? Or can I set it to 100?

Like "get 100 kills" stat is 0-100 so when it reaches 100 it unlocks that achievement?

Product Version: UE 4.16
Tags:
more ▼

asked Aug 17 '17 at 11:29 PM in Blueprint Scripting

avatar image

JJGG117
28 4 7 10

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

In your Steamworks interface, you can set a max value for each stat:
alt text
I guess yours is set to 10
Keep in mind that if you call the WriteLeaderboard node, it will actually add your value to the original value. This isn't a "set", this is a "add".

steamworks.png (6.8 kB)
more ▼

answered Aug 23 '17 at 11:30 PM

avatar image

Syalen
121 4 9 11

avatar image JJGG117 Aug 23 '17 at 11:33 PM

Oh no, my Stats have default values (0) And for my achievements, I add a Stat then I set the range there, for each achievement. I have some set 0-100

But I did read on forums that there was a bug: people were setting ranges way above 0-10, like 0-100 or 0-1000 or 0-1337 and it was stopping at 10.

Have you tested that it works above values of 10?

Also strangely enough, I read that you have to double up the Stat name like you have nb_games, but I read it only works with nb_games_nb_games

or toast_toast instead of just "toast"

Have these been fixed? lol

I just don't want to not follow the proper procedure, i.e. limit mine to 10 or not double up my Stat names and find it doesn't work lol

avatar image Syalen Aug 23 '17 at 11:39 PM

I don't know if there is a bug, I haven't tested this behaviour yet.
About the double name part, I actually fixed the problem in the source code, by following this tutorial. But I'm working on 4.13, so I don't know about 4.16.

avatar image Syalen Aug 24 '17 at 09:34 PM

I tried to set stats in my own project, and it does exceed 10. You can even exceed 100 (don't know the limit, though).

avatar image JJGG117 Aug 24 '17 at 09:36 PM

So glad! Do you think it'll work out of the box? Or is it only because you edited the source code?

I can confirm in 4.16 the code uses %s_%s But I'm not doing the fix, I'm just leaving as is :P

Does editing the code do anything besides change %s_%s to %s?

avatar image Syalen Aug 25 '17 at 04:15 AM

It'll work out of the box I think.
And editing the code also solves the "add/set" thing, but honestly it's not a big deal, you don't need it.

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question