Looks good, gj.
|
Hey, so I've been working on a party room system for my project, and I think that it's worthy of a show-off because I think I did a good job, and I'm proud of the results.
So this party room system has a custom interface that is alike the one that you would see in current RuneScape, where you put items in and it goes to a box, and if you actually want to add the items to the drop, well then you click accept and the items will be added to the drop party.
So I made a video that shows the party room, sped up the video, so it may be hard to understand what's going on at some points or realize the special features of this system. So for that reason I will list the main features and how it works.
Features:
-When items are added to the 'Items waiting to be dropped' box, the items in the interface will be updated for everyone
-After items are added to the items waiting box, a player can pull the lever.
-Once the lever is pulled, a timer will start to count down. Items can still be added to the chest while the timer is going down.
-Once the timer has reached 0:00, if there was a drop party already going on, the balloons will get deleted, and all items left in the items being dropped box will be removed. the items in the 'items waiting to be dropped' box will then be moved to the items being dropped box, and balloons will start to fall, one balloon every 600ms.
-When a player pops a balloon, if the item is stacked in the chest, he will receive a random amount of that item, and each stacked item can split into at most 5 different stacks.
-After a balloon is popped, the item from that balloon will appear on the ground, however about 1 in 5 balloons will be empty, so it is random and the party will last for a while so it's enjoyable for all players.
-Items can be added in multiple stacks, for example if I want to drop 10 max cash stacks, it is possible to do so, and it all works perfectly, just add them to the chest and they will be dropped.
-Multiple people can add items to the chest at once, the drop party does not necessarily need to be hosted by one person.
-When the lever is pulled, a message goes out to all players with an estimated value of all the items together which is calculated with a BigInteger which you will see in the video when I add 2b rare sets to the chest.
-Party pete is at the party room and he can tell you an estimated value of the drop party at any time.
-Balloons don't drop at a spot where there are already balloons
VIDEO:
please leave feedback, and suggestions!
Looks good, gj.
thanks any suggestions?
the timer decreases every 17 game ticks, which is about 10.2 seconds (planning on making it every 3 seconds or so)
and I will explain in depth how items per balloon works.
for every item inside the chest, there will be 5 balloons, meaning that if there is 4 items in the chest, there will be 20 balloons in total.
Since there are 5 balloons for each item, some will be empty, but if the items are stacked, then the 5 balloons will each take a random amount from that total stack, maybe only 2, or 3 balloons out of the 5 will have stacks in them, but then after each balloon got a random amount, if there is still more of that stack to be dropped, the final balloon for that item will have it.
Balloons are dropped randomly, not according to the order of the items in chest.
the system is pretty complex and has some things that are hard to explain, but I did my best to explain this.
Thanks for the nice words
and when you say 'how random'
my answer is
Misc.random
ok i thought the timer just looks weird going down every 10s rather than every tick updating it, how are you keeping track of the time? just curious, and that balloon system sounds exactly how i would do it myself if i were doing it. might make my own actually, so good job on that. and to your awnswer to my 'how random' question... lol Good Job tho looks great
I'd make all of the bankers shout something like "1500m drop party at falador!" those were the days lol
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |