How to make a king of the hill game! [3/10🟩]

Are you wondering how to make a king of the hill game? Today I will show you how to make one!
(Sorry if some of the pictures are blurry, its on my part.)

Chapter 1 : Zone

Start by taking a zone. This will be your zone to detect if the player is in the zone to increase the amount of time they are in this zone.
Screenshot 2023-12-10 2.32.10 PM

For the zone settings, We just need to activate “Visible In Game” to yes so the players can know the spot on the hill.
Screenshot 2023-12-10 2.33.08 PM

Chapter 2 : Wiring and Seconds on the hill.

Take a Counter and a Repeater you can make the counter invisible if you like. Its more recommended to keep it visible so the player can see the amount they have been on the zone/hill in total.
Screenshot 2023-12-10 2.33.40 PM

The repeater needs to have a 1 second task interval for simple reasons. Then set the stop strategy to “After receiving on a channel” so it never stops until the game ends.

Screenshot 2023-12-10 2.34.23 PM

For the first wire,
Zone (Player Enters Zone) -------> Repeater (Start Repeater)
This makes it so when the player enters it starts the repeater and you will see why in a second we have to start a repeater.

Go to your counter, then look in featured to find “Count Scope” Set it to player. We don’t want it on global so its not everybody’s total. Its supposed to be YOUR total.
Screenshot 2023-12-10 2.35.13 PM

Next, Start your second wire.
Repeater (Repeater Runs Task) --------> Counter (Increment Counter)
Before this wire, we went over to make the repeater a 1.0 second interval for this reason.

I don’t have a screenshot sadly, but place a property and set it to these settings I will go ever them. Create a property name (does not have to be my exact property name it can be anything) the property type has to be number because it is not counter words it is counting numbers, and because I don’t think the leader-board wont count a property that isn’t a number. Make sure the Property Scope is on “player” because the time your on the hill contributes to your score, not the whole lobby.

Go back to your counter and go to “Property” then select yes on “Update Property.” Then select “Property To Update” then select the property you created. So whenever the counter goes up (remember we wired the repeater to the counter to increment it by 1 second so the property will accurately count the exact amount of seconds you were on the hill in total that will show in the leader-board and we will get into that later) the property updates to see how much you have been on the hill in total.
Screenshot 2023-12-10 2.37.20 PM

Then add a wire repeater then we will get into the next steps. This is what you should have right now.
Screenshot 2023-12-10 2.37.56 PM

Lets start wiring the last things.
Zone (Player Leaves Zone) -------> Wire Repeater Node


Wire Repeater Node -------> Repeater (Stop Repeater)

Chapter 3: Leader-board

We have made it! You are on the last step! Go to your settings then go to “Map Options” Then go to “Score.” Select the score type as a property, then select the property you made. Name the score name as anything.

You have finished! You have made your own official king of the hill map! Decorate or add stuff on!

Extras

Want to add a notification to see if the someone has entered or exited the zone?
Take a notification then edit it to say anything.

Wires:
Zone (Player Enter Zone) -------> Notification (Send Notification)

Zone (Player Leaves Zone) -------> Notification (Send Notification)

3 Likes

Uh… How to Make a King of the Hill Type Game! Difficulty 🟨 or 5/10

2 Likes

Mine is easy to understand and easy to make though

3 Likes

lol he almost got the orginal dark

1 Like

@Blizzy, you just ruined his day. He probably spend a good chunk of time on that too.

Not necessarily. And in any case, people can’t just afford to be mad if someone already did what they did… This guide is simpler than @mysz’s, although does cover a little less content, so it’s not exactly the same

2 Likes

This is a nice guide! Good job!