Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2018-09-22 00:36:38

Introduction
Member
From: [Content Deleted]
Joined: 2018-08-15
Posts: 153

Portal "Luck" system

With portals, you can do many things, such as simply transporting players from a point A to a point B, make creative minis , make switch systems, and create a "luck" effect. The way you can create a luck effect in portals right now is by making a portal leading to X amount of portals with the same target ID's, and each portal can lead to different/same paths. However, it can take lots of space just to make a 10% chance filter. You would have to build 10 portals which can take quite some space to build. This could be fixed by adding a "luck" filter.

To explain this clearly, let me make an example. Let's make a portal leading to 2 different portals. Without the luck filter, each portal has a 50% chance of being chosen by natural luck. However, what if you "enable" the luck filter for those two portals? Let's say you want to enable the "luck" filter for portals with the ID's corresponding to 2. All portals with 2 as their ID will have a luck filter that allows the player to put in a chance number. Our 2 portals's IDs are 2. With the luck filter, you could make a portal that has a 75% of being teleported into, and another one that has a 25% of getting in. This could save up space in worlds in general.

what do you think of my suggestion guys?


when your signature makes about half your comment //forums.everybodyedits.com/img/smilies/cool

Offline

Wooted by: (2)

#2 2018-09-22 01:21:43

ILikeTofuuJoe
Member
From: Obvervable Universe
Joined: 2018-06-04
Posts: 1,770
Website

Re: Portal "Luck" system

Introduction wrote:

With portals, you can do many things, such as simply transporting players from a point A to a point B, make creative minis , make switch systems, and create a "luck" effect. The way you can create a luck effect in portals right now is by making a portal leading to X amount of portals with the same target ID's, and each portal can lead to different/same paths. However, it can take lots of space just to make a 10% chance filter. You would have to build 10 portals which can take quite some space to build. This could be fixed by adding a "luck" filter.

To explain this clearly, let me make an example. Let's make a portal leading to 2 different portals. Without the luck filter, each portal has a 50% chance of being chosen by natural luck. However, what if you "enable" the luck filter for those two portals? Let's say you want to enable the "luck" filter for portals with the ID's corresponding to 2. All portals with 2 as their ID will have a luck filter that allows the player to put in a chance number. Our 2 portals's IDs are 2. With the luck filter, you could make a portal that has a 75% of being teleported into, and another one that has a 25% of getting in. This could save up space in worlds in general.

what do you think of my suggestion guys?

What about putting 1% chance into each of the two portals, what will happen if the player gets a 98%?


https://wiki.everybodyedits.com/images/8/8f/117_cat ~meow~ https://wiki.everybodyedits.com/images/8/8f/117_cat
Posting Goal: 2000
#Joe Griffin
Signature
Thanks HG for the signature and avatar!!!

Offline

#3 2018-09-22 03:04:34

Grilyon2
Member
From: Chile
Joined: 2015-02-15
Posts: 374

Re: Portal "Luck" system

ILikeTofuuJoe wrote:

What about putting 1% chance into each of the two portals, what will happen if the player gets a 98%?

1%  , 1% equals to 50% , 50% because the "100%'' would be the sum of the percentages, in this case the 100% = 2%

1/2 = 50/100

If two portals have 1% and 98, it would be
1*100/99    and     98*100/99
It gives 10% and 90% = 100%

a% , b%

a*100/a+b = x
b*100/a+b= y

a/a+b = x/x+y
b/a+b = y/x+y

Offline

#4 2018-09-22 04:21:32

CaRmAgE
Member
Joined: 2018-08-17
Posts: 71

Re: Portal "Luck" system

Yes, as Grilyon2 mentioned, using weights instead of percentages makes a lot more sense, as weights aren't dependent on needing a total of 100. To go with your example, instead of 25% and 75%, one portal would have a weight of 1 and the other a weight of 3. The 2nd would be 3x more likely to be picked than the 1st.

That said, I don't think it'll be very useful, since EE's RNG is imperfect to begin with.

Offline

Wooted by: (2)

#5 2018-09-22 13:35:25

Minimania
Moderation Team
From: PbzvatFbba 13
Joined: 2015-02-22
Posts: 6,387

Re: Portal "Luck" system

This could probably help to make Elf Mines better (the world I made that ended up getting into Advent Calendar)


21cZxBv.png
Click the image to see my graphics suggestions, or here to play EE: Project M!

Offline

#6 2018-09-22 16:46:04

LukeM
Member
From: England
Joined: 2016-06-03
Posts: 3,009
Website

Re: Portal "Luck" system

Having a weight system for portal is a nice idea, but I do think its a bit redundant... You would use it rarely enough that you might as well just use the multiple portals technique, chaining them if you want more complicated ratios, (e.g. a 1/5 followed by a 1/3 if you want 1/15)

Offline

Wooted by: (2)

#7 2018-09-23 03:36:49

ILikeTofuuJoe
Member
From: Obvervable Universe
Joined: 2018-06-04
Posts: 1,770
Website

Re: Portal "Luck" system

max weight should be 100


https://wiki.everybodyedits.com/images/8/8f/117_cat ~meow~ https://wiki.everybodyedits.com/images/8/8f/117_cat
Posting Goal: 2000
#Joe Griffin
Signature
Thanks HG for the signature and avatar!!!

Offline

#8 2018-09-23 03:57:47

Slabdrill
Formerly 12345678908642
From: canada
Joined: 2015-08-15
Posts: 3,402
Website

Re: Portal "Luck" system

ILikeTofuuJoe wrote:

max weight should be 100

why not 1


suddenly random sig change

Offline

Slabdrill1537671467725703

Board footer

Powered by FluxBB

[ Started around 1713529105.9724 - Generated in 0.047 seconds, 10 queries executed - Memory usage: 1.46 MiB (Peak: 1.6 MiB) ]