#kill count leadership board
1 messages · Page 1 of 1 (latest)
Are you wanting to use the in game leaderboards, like the ones that are on a little projector? If so it's as simple as adding the Set Local Leaderboard chip and every time a player gets a kill increment the chip by 1
If your looking for something different it looks like you'll need to provide more info.
Yea just the leadership board that rec has. I just wasn’t sure if I needed to specifically connect things to the cv2 shown above
In the picture I don't see any reference to "kills"
Do the chips in the pic handle kill counts?
Im not sure
The only thing that I think is the kill would be there green numbers. But not sure if that is correct
Should I add an event to this?
So you need a local execution to fire each time a player is killed for the player who did the killing. Feed that exe into the Set Local Leaderboard.
You may be bale to add it outside that system as I still cant quite tell what those chips are all doing
I see in thoes chips you have a level being incremented. you may be able to attach it to an event where "Leve changes" fire event
Okay I’ll give this a try right now
What’s the specific chip you are referring to for local execution ? Very beginner to cv2
BUMPing this… still lost and need help
So executions can either be global, local or on room authority.
A local execution is an action done by the local player. For example. If I hit a trigger zone I'm the one locally executing the trigger zone and only ill run the chips attached to the trigger zone. Does that make sense?
yea that makes sense. so if its a global execution that means it runs for everyone in game?
😬
Yes. Global executions come from event senders configured to all. And other events by default and global like "player entered"
so then a local execution will 'count' a kill for the person who killed (what chip is used to distinguish this?)
If your able to determine what player is doing the killing you can use the "if local player should run " chip. That ship turns a global execution into a local execution for whoever you plugged into the yellow player pin.
However if you're using something like a projectile launcher, The person shooting the gun is going to be the local executing player.
Hmm. Yea no projectile launchers in here. Just the rec room guns
Okay. How are you detecting a pyer has been hit and or killed? Theres a few ways you can do that.
Is there a CV1 game running?
No cv1
Event receiver hit.
Do you know whos running that. The attacker and or the victim.
or. Is that global....
I believe this is just for the victim. It is connected to the health system
Gunna check right now
that's not quite how it works.
So. In a player definition board chip. there are events you can make to get whos attacking the player and run that on the attacker.
From there youd need to check if the defending player has died and then increment up the leaderboard chip.
Oh.. 😫
yeah... Ive done it a few times and its not as simple as it might first seem.
@warm mist Heres the thread. Since you did this for hardpoint and such could you provide more detailed info?
here is a screenshot that may help ya
Okay I’ll give it a go. Thank you
That’s literally what’s inside the PDB
I made the system
I literally told you what to do 🤦♂️
Did you not DM me a few hours ago?
lol you didn’t give me details
Looks like you might just need to add the "attacking player" to the Player Hit Event
🤦♂️
Why are you frustrated?
I’ll go in the room and look at the Cv2 and type out the steps in detail and explain how much I can
because you’ve made like 3 posts and sent me a few dm’s after i told you what to do
then you check if the player that got hit died. You would then need another event to send the "kill" over to the attacking player so that you can increase the leaderboard stat/cloud variable
And yea three posts so I can get help from anyone
I literally reached out to you once today about it
I don’t get what what so hard about that… have you even tried to search up the three things i listed?
Two of them contain the word’s leaderboards
One of the chips you literally have to go and find in the health system that was made for you
👍🏻
Gimme a sec i’ll type them out
I will say this there ain’t a kill variable that’s my fault though I made it whenever i made it a few weeks ago 🤷♂️
Hence the reason I was confused.
How to add one to kills
Create a new variable and name it “kills”, this will keep count for the kills, also enable cloud, that will save it when you leave the game
Look for the Event Receiver (Reward), it should be under your xp system that has all the text display stuff
Wire you XP variable execution to the Kill Variable
Like the XP variable place a add chip under it and wire it to the Kill variable in a X wiring shape
Enter in in number 1 for the empty value, this will add one to the variable when you kill someone
—-
Now for showing it on the leaderboard
Wire the outputs of the Kill variable to the
Leaderboard Set Player StatsEXECPT THE CHANNEL INPUT
Now place a leaderboard and configure it, and edit the channel names and delete any unnecessary channels
The channels are order from 0 - The channel limit
So on the
Leaderboard Set Player Statsmake sure it matches up with the channel inside the Leaderboard
@verbal bluff
Ok thanks. I’ll do it tomorrow.
So on the Leaderboard Set Player Stats make sure it matches up with the channel inside the Leaderboard:
**do i configure it to Increment?, **
@graceful oyster
also do i change the value at all? its at 0
pretty sure i did everything correctly... however now the health is not changing when players shoot someone
yuhhh perfect
just wire the reward event to the xp
and wire your kill variable output into the leaderboard stat chip (value)