I just need to make a time spent leaderboard cv2
Hey there boss! I went in Rec Rom and made a set up for you! I haven’t messed with leaderboards, so I do apologies if anything is incorrect or something is not working.
Circuits
Here are the basic circuits to get you started. How it works is that when a player joins, it will do a check on what day it is, so the Int variable called, Using the chip called,
Time Get Universal Seconds
. it goes through a Greater Than
chip that combines both Date
and Time Get Universal Time
to see if the player is joining on a day they have already joined. If they haven’t, then it runs through, updates the Date chip, so now that chip is literally, up to date. it then runs through to a DAYS JOINED
which is a simple add combo, which adds up by 1
each time it is updated. It then goes to a Leaderboard Set Local Player Stat
which is airgap connected to the Leaderboard projector, which is a Cv2 Leaderboard projector. You will want the value
in that chip to be connected to the DAYS JOINED
. Every time that the player joins, it will validate that date, and if that haven’t joined it will update the Date
chip, add the DAYS JOINED
chip by one, and update the Leaderboard Set Local Player Set
with the variable from the DAYS JOINED
chip.
Leaderboard Configuration
This part is very easy, you will simply rename
stat 1
to whatever you want, most likely Days Joined
and disable all of the other stats you will not use. The stat formatting to should be set to Integer
.
That should do the trick. Notice that Rec Room is as Weird as it is Innovative. There is a bit of a delay problem when it comes to updating leaderboards. That could potentially be a sample wiring error on my part, but I noticed it took a little bit of ties, sometimes five minutes, before it updated. This should be trivial though since this will be a Days Spent playing stat.
ok thanks do I connect the leaderboard set stat to the projector?
It automatically connects to the leaderboard. However, I have just discovered that ifyou manually enter it on the Leaderboard Projector Set Stat
it will automatically update, and the other why I said, it doesn’t. I don’t know why, but that is a Rec Room “Uh-Oh” moment potentially. Keep an eye out and let me know if you have the exact same issue.
ok thanks!
Of course; Good luck on what you are making!
real quick how do i connect the leaderboard to the set stat?