ππ¨π¨π π¦π¨π«π§π’π§π , ππ―ππ«π²π¨π§π! Welcome to another Californian Guide! (Yes, I know you love them!) In this guide, I will be explaining, if not instructing, you how to make a randomized, yes randomizedβ¦, Loot Hunt!
This guide isnβtβ(uh, Ermβ¦) too difficult itself, but it requires some knowledge of block code, soβyeah, be ready. Butβlet me explain this to you-- ππππ ππ NOT πππππππππππ’ πππππππ ππππππππ£πππ πππππ. πππ, πΈ will ππ πππππ ππππππππ£πππππ, πππ ππππβπ ππππ’ πΏπ°ππ ππ πππ ππππππ πππππ! πΎπΊ? π°ππ, πππ πππ πππππ, πππβπ ππππππππ£π ππ πππ πππ πππππππ πΈ πππ, πππππππ ππ πππππ ππ π ππππ!
OK, mini-rant finished, letβs get on with the
extremely-lengthy-and-somewhat-entertaining-essay. Oh, all rightβthatβs not really what it is, but fine, letβs get on with the guide.
Making the Loot System
This part is fairly simple. Actually, not really, to some people, and we all used to be one of them, but this time, Iβm gonna explain it as simply as possible. With
pictures!
.
I wish every guide had them! Ok, letβs be serious now.
Now, in some parts, Iβm gonna break them into dropdowns so you can do that, but in the easier and less brain cells obliterating time consuming parts, Iβll explain them here. So, first, we need to make sure we have a method of players collecting items. In my example, Iβll use sand piles as the collecting stations in the hunt.
Now, how are players going to collect it? You can use a variety of items, such as buttons, triggers, zones, game overlays, you know, simple stuff like that. And since this guide is supposed to be simple, Iβm gonna go Plain Jane and use the good-olβ fashioned BUTTON!
( Hallelujah music plays in the silent background)
Place down your method of collecting items. Personally, I would NOT use the trigger because it is one of the only devices that can successfully grant items in block code! Unless you have some other fabulous method, I would stick to a zone or button! And also thatβs the only device weβre really using that has block code in it! Youβve been warned!
Place down your button (obtainment method) somewhere near a prop or something, if youβre using one. Iβm using a sand pile to make it visual, but you donβt have to do anything.
OR
Then, promptly use a channel OR wire to connect it to a TRIGGER. You can probably handle the channel name on your own, but when you wire, it should be:
Button pressed < Trigger
. You get the basic idea of what weβre doing here.
BONUS FACT: The Trigger was ranked the BEST device to overuse!
Also, the tenth worst. Somehow? But! If you want to see the others, go here!
The Randomization
α΄α΄α΄Κ, Κα΄Κα΄βκ± α΄‘Κα΄Κα΄ Ιͺα΄ Ι’α΄α΄κ± κ±α΄Ιͺα΄Κ!
No, I didnβt bring any California Reaper peppers! All right, thatβs not what I meant, everyone, I just meant you might get lost on this part, but not really, because itβs just randomizing and
isnβt that difficult at all youβll be just fine, darlings!
π§βπ» TαΌE α·αͺOαK αOαͺE
-
Open the trigger and open the Block Code section. This should be the
When Triggered
one, so make sure you do that right, even though thereβs only one option, but you never know.
-
Now, before we begin, be thankful that there are multiple randomizing guides, and all of them work! Randomizing is simple in general, but if you need any help, you could always read those!
-
Use a Variable block and name it Items. Use the
Set Items to
block. Use another Math block code that is the randomizing integer one. It should say,Random Integer from # to #
. Connect the two together.
-
Now you need two number blocks. You can find them in the math section. One should be the number 1 and the next number should be the maximum number of options. In this example, I will have five different possible items, so my second integer will be 5.
-
Now, we need to make sure players can receive the items. We can use channels to grant them, but letβs make sure there are possible options first. Use an
If/do
Logic block. Use another Logic block, the one that is:___ = ____
. Insert your primary variable into the first blank, and then one of your possible integer outputs or outcomes in the second blank. Itβs best to go in order, (in this case 1-5,) so it should be 1. Then, promptly use aBroadcast Message On Channel
block on the Essentials section and place it below in theDo
section. Whatever channel is granting the item is the one youβll put. In this case:
-
Repeat the process for each possible outcome. You repeat by using the same
Variable
code block inside of the first blank on the___ =____
block, and then in the second blank you put a number block for the next input. The next one should be 2, then 3, then so on. EachBroadcast Message On Channel
should have a unique or different channel name to grant the item. When youβre finished, it should look similar to this:
-
Now youβre done with the
ultimately-brain-cell-wrecking time consuming processhard part! Since weβve gotten that over with, weβre going to make sure players can receive their items!
The Items
π πππ πππππ
-
Since weβve got five different outcomes, we need five different ways to grant the items. The simplest way to do this is: using an ITEM GRANTER! We really need five of these because we have five various items to grant! Whichever five or more or less you choose is fine, but I will be using fish in mine! Place down your item granters.
-
After youβve placed down your number of item granters, or five in this case, change the item to be granted when it receives their corresponding channel. Itβs best practice to match the item to its channel name so you donβt get confused.
Especially the incompetent ones.
-
Repeat this process five times. Here is an example of using the corresponding channel to grant the correct item, along with the previous block code to grant the item for clarification:
-
Now youβre done with this section!
Making The Timer
In a Loot Hunt, (as defined by me) you only have a limited amount of time to collect the possible items. To do this, we need to make a Timer! You can do this by making a Repeater-Counter timer, a simple trigger loop, or any other method to do so. I will describe how to use both methods below, briefly, if not lengthy.
Donβt get mad at me for using a repeater because this guide is basically for simplification for everybody!
π Repeater - Counter Method
Fairly simple. Use a Repeater and Counter. In the Repeaterβs settings, change the task interval to 1.0
seconds and change the stop strategy to a number of repetitions
. The number of repetitions
will be the total amount of time you want, and I want players to have a minute to collect the resources. Set the number of repetitions to your equivalent time in seconds, which in case will be 60.
Wire the Repeater to the Counter: Repeater runs task < Increment counter.
The Counter should have a Target value
of the amount of seconds. Now, wire or use a channel to connect the counter to the button (obtainment method) to deactivate it: Target value reached < deactivate button
. Make sure the scope is to the player! This limits the player from collecting all of the same resources, or having a fun limit as well. On to the next considerable and community-loved strategy method.
π½ Trigger Loop Method
Now, actually, I really donβt understand trigger loops just yet. Honestly.
So you might need these: click 1, 2, or 3.
Make sure you deactivate the buttons when it reaches the END of the timer! If you donβt, youβre gonna be
extremely screwed and cooked having some trouble!
Extra Stuff + Tips + Memes
This section is for anything extra you probably wanna do that is completely unnecessary and if youβre bored for fun! Some if it is completely related to the guide, others are exuberantly not related but still exciting for the worthwhile less.
π Notifications
Soβif you wanna do something thatβs more interactive and extra and not required then probably make notifications for each different item collected! Use the same channels and everything! Iβm not even giving any examples or steps because itβs too self-explanatory.
YOU: I thought you said you were going to explain everything simplified!
ME: I canβt get more simple enough!
YOU: Butβ
ME:
Silence! Moving on from that part!
π¬ Custom Activity Feed Messages
You can do this easily by using some of the guides I will list later! OK? Basically, youβre using a notification block code or trigger or something and using an Activity Feed
and Text
block. Create the text and even use the triggering playerβs name for personalization! This is kinda the same thing above, but it can be modified differently.
ME: Good! No oneβs asking any questions!
YOU: When are you adding them?
ME:
Adding what exactly?
YOU:
(considering my intelligence) Uh, the guides?
ME: Oh, those? Um-- Ermβ¦donβt knowβ¦
YOU:
π Item Collection Zone
How about a haven where players can collect their items? That was my original plan, so you guys can do that as well. Not that you should! Itβs just a better idea suggestion.
You stressed the length of this guide β
Adding more ideas, suggestions, memes soon!
Enjoy what I have now! Or else! Thanks!