61
BOBs / Re: Tip of the Spear BOB Hunt (MAJOR UPDATE)
« on: February 01, 2012, 03:17:39 »
So basically, Niles confirmed what I theorized earlier in this thread in this post where I called it the "1.4 Condition"... except that he's claiming that it should still work (and the fourth condition is a completely different spawn.)
A quick refresher:
So value 4 correlates to the missing BOB spawn. Of the three remaining values (1-3), two must correlate to the "BOB squad" at the end of the level (5-B-01) and one to the BOB spawn at mission start (5-S-01). This would give 5-B-01 the 50% spawn probability.
As mentioned in that crazy post of mine, perhaps they think they are generating a random number from 1-4 and instead they are getting a number from 0-3. This would cause their evaluation code to work for values 1-3 (as we see it does) but the code in their "final function" which conditions on the value being greater than 3 would always evaluate to FALSE; thus, the fourth spawn would never occur.
Any way we can politely ask them to double-check their random number generation in this script?
I emailed Urk. We'll see.
A quick refresher:
Quote from: Niles Sankey, Reach Lead Mission Designer
At the top of the script I noticed the random value assigned to the spawn variable was set to a value ranging between 1-4. The script was then evaluating this variable but there was were only three values it was checking for: 1-3. This confused me at first but then someone (thanks Dom!) pointed out that the last function checks for a value greater than or equal to 3. So basically the likelihood that Bob will spawn in the final area is 50% and the other two are 25% each.
So value 4 correlates to the missing BOB spawn. Of the three remaining values (1-3), two must correlate to the "BOB squad" at the end of the level (5-B-01) and one to the BOB spawn at mission start (5-S-01). This would give 5-B-01 the 50% spawn probability.
As mentioned in that crazy post of mine, perhaps they think they are generating a random number from 1-4 and instead they are getting a number from 0-3. This would cause their evaluation code to work for values 1-3 (as we see it does) but the code in their "final function" which conditions on the value being greater than 3 would always evaluate to FALSE; thus, the fourth spawn would never occur.
I emailed Urk. We'll see.