TheAdipose

12-09-2012, 09:08 AM

This is a list of useful figures to go into the threshold gadget to measure various things like race position, lap etc etc. This isn't an exhaustive list, so if anyone adds any other sets of numbers below I'll add it to the main post.

To calculate them I took the total number of players/laps and minus'd one. I then did 100 divided by that figure. I then rounded the result up and down to give me minimum and maximum. I then added that figure on repeatedly until I got back to 100 to give me all the other stages.

If that doesnt make sense its cos I wrote it at 7am. It makes sense in my head... and most importantly works in game :D

There may well be other ways of calculating this in game using various tools. This is the method I used using just a position sensor and threshold gadget.

To find a single player in a certain position

2 player

1st place. Minimum 100. Maximum 100.

2nd place. Minimum 0. Maximum 0.

3 player

1st place. Minimum 100. Maximum 100.

2nd place. Minimum 50. Maximum 50.

3rd place. Minimum 0. Maximum 0.

4 player

1st place. Minimum 100. Maximum 100.

2nd place. Minimum 66. Maximum 67.

3rd place. Minimum 33. Maximum 34.

4th place. Minimum 0. Maximum 0.

8 player

1st place. Minimum 100. Maximum 100.

2nd place. Minimum 85. Maximum 86.

3rd place. Minimum 71. Maximum 72.

4th place. Minimum 57. Maximum 58.

5th place. Minimum 42. Maximum 43.

6th place. Minimum 28. Maximum 29.

7th place. Minimum 14. Maximum 15.

8th place. Minimum 0. Maximum 0.

To find any player above/below a certain position

To do this you use the figures above but widen the range of the threshold.

For example...

3 player game. Below 1st place. Minimum 0. Maximum anything under 100.

8 player game. 1st-3rd place. Minimum 71. Maximum 100.

8 player game. 6th and 7th place. Minimum 14. Maximum 29.

4 player game. 3rd and below. Minimum 0. Maximum 34.

To find players on a certain lap

The progress sensor will be slightly different in that players make incremental progress throughout the range rather than moving directly from one lap number to another. This allows you to trigger events at any stage throughout any lap.

Calculations for a 3 lap race

Duration of 1st lap. Minimum 0. Maximum 34. (depending on your purpose you may wish max to be 33)

Duration of 2nd lap. Minimum 34. Maximum 67. (depending on your purpose you may wish max to be 66)

Duration of 3rd lap. Minimum 66. Maximum 100.

Start of 2nd lap. Minimum 33. Maximum 34.

Start of 3rd lap. Minimum 66. Maximum 67.

Calculations for a 5 lap race

Duration of 1st lap. Minimum 0. Maximum 20. (You may wish to adjust these figures if you don't want overlap)

Duration of 2nd lap. Minimum 20. Maximum 40.

Duration of 3rd lap. Minimum 40. Maximum 60.

Duration of 4th lap. Minimum 60. Maximum 80.

Duration of 5th lap. Minimum 80. Maximum 100.

Start of 2nd lap. Minimum 20. Maximum 20. (You may wish to make the range wider if a single digit proves inconsistent)

Start of 3rd lap. Minimum 40. Maximum 40.

Start of 4th lap. Minimum 60. Maximum 60.

Start of 5th lap. Minimum 80. Maximum 80.

It is entirely possible I've made a mistake here or there are better figures to use. If so, let me know and I'll edit.

Adi

To calculate them I took the total number of players/laps and minus'd one. I then did 100 divided by that figure. I then rounded the result up and down to give me minimum and maximum. I then added that figure on repeatedly until I got back to 100 to give me all the other stages.

If that doesnt make sense its cos I wrote it at 7am. It makes sense in my head... and most importantly works in game :D

There may well be other ways of calculating this in game using various tools. This is the method I used using just a position sensor and threshold gadget.

To find a single player in a certain position

2 player

1st place. Minimum 100. Maximum 100.

2nd place. Minimum 0. Maximum 0.

3 player

1st place. Minimum 100. Maximum 100.

2nd place. Minimum 50. Maximum 50.

3rd place. Minimum 0. Maximum 0.

4 player

1st place. Minimum 100. Maximum 100.

2nd place. Minimum 66. Maximum 67.

3rd place. Minimum 33. Maximum 34.

4th place. Minimum 0. Maximum 0.

8 player

1st place. Minimum 100. Maximum 100.

2nd place. Minimum 85. Maximum 86.

3rd place. Minimum 71. Maximum 72.

4th place. Minimum 57. Maximum 58.

5th place. Minimum 42. Maximum 43.

6th place. Minimum 28. Maximum 29.

7th place. Minimum 14. Maximum 15.

8th place. Minimum 0. Maximum 0.

To find any player above/below a certain position

To do this you use the figures above but widen the range of the threshold.

For example...

3 player game. Below 1st place. Minimum 0. Maximum anything under 100.

8 player game. 1st-3rd place. Minimum 71. Maximum 100.

8 player game. 6th and 7th place. Minimum 14. Maximum 29.

4 player game. 3rd and below. Minimum 0. Maximum 34.

To find players on a certain lap

The progress sensor will be slightly different in that players make incremental progress throughout the range rather than moving directly from one lap number to another. This allows you to trigger events at any stage throughout any lap.

Calculations for a 3 lap race

Duration of 1st lap. Minimum 0. Maximum 34. (depending on your purpose you may wish max to be 33)

Duration of 2nd lap. Minimum 34. Maximum 67. (depending on your purpose you may wish max to be 66)

Duration of 3rd lap. Minimum 66. Maximum 100.

Start of 2nd lap. Minimum 33. Maximum 34.

Start of 3rd lap. Minimum 66. Maximum 67.

Calculations for a 5 lap race

Duration of 1st lap. Minimum 0. Maximum 20. (You may wish to adjust these figures if you don't want overlap)

Duration of 2nd lap. Minimum 20. Maximum 40.

Duration of 3rd lap. Minimum 40. Maximum 60.

Duration of 4th lap. Minimum 60. Maximum 80.

Duration of 5th lap. Minimum 80. Maximum 100.

Start of 2nd lap. Minimum 20. Maximum 20. (You may wish to make the range wider if a single digit proves inconsistent)

Start of 3rd lap. Minimum 40. Maximum 40.

Start of 4th lap. Minimum 60. Maximum 60.

Start of 5th lap. Minimum 80. Maximum 80.

It is entirely possible I've made a mistake here or there are better figures to use. If so, let me know and I'll edit.

Adi