On the baseball side of the game they released how each at bat is determined a few summers ago. It was a rather lengthy power point with lots of cool information. We refer to it over there as the "event tree". It's more or less how (and in what order) events occur.
If the game was designed by the same people (and I think it was) it would make sense that basketball has a "possesion" event tree. I took a stab at trying to put one together. It's a touch confusing (because I ain't that bright) but maybe we can generate some discussion on how and why things happen in the game.
Based on my knowledge of the baseball game and assuming the logic is similar I think the SIM Engine works something like this:
1. Does the offense shoot the ball?
? I believe you either get a turnover or shot attempt.
? I imagine the calculation involves the Offense's BH, PASS, IQ and the Defense's ATH, SPD, DEF and IQ.
? I assume the PG's BH and PASS are weighed more heavily than other players. I also believe players with high DISTRO are weighed more heavily than players with low DISTO.
? If NO, ball goes to the Defense and event tree starts over for the other team.
? IF YES, goes to step 2.
? I believe there are two factors in this:
? The players set disto (in relationship to the other offensive players on the floor)
? The players defender (good defenders limit offensive players shoots)
Once a player is determined:
Does he get a shot off?
If no:
Is the shot blocked?
? This is probably an opponent’s ATH, DEF and BLK vs the shooters ATH, LP, and/or PER. This may be influenced by a double team.
Does the shooter turn the ball over?
If yes:
- Is it a three point shot?
? This is a factor of the shooter +/- setting and the +/- setting of the defense.
If yes, go to DOES THE SHOT GO IN.
In no,
- Is the shot an inside or outside shot
? Inside shots are determined using LP, ATH, IQ(mainly) and SPD, BH (secondary)
? Inside shots are opposed by ATH, DEF, BLK IQ(mainly) and SPD (secondary)
? Outisde shots are determined by PER, SPD, BH, IQ (mainly) and ATH (secondary)
? Outside shots are opposed by ATH, DEF, IQand SPD (mainly) and BLK (secondary)
Is the player fouled?
Offenses's ATH, SPD, IQ and LP/PER vs Defenses's ATH, BLK or SPEED, IQ
Does the SHOT go in?
Shooters offensive score vs defenders defensive score. I think the shooter would get some sort of multiplier based on the teams passing rating. The defense would get a “bonus” if the shooter was double teamed or the shooter was fouled.
If yes, start the equation over for the other team.
If no,
Who gets the rebound?
Offensive players IQ, REB and ATH vs DEF IQ,REB and ATH. I believe there is a weighted calculation based on what position’s stats are used. I don’t know if it works C vs C or any player from team A vs any player from team B or if it is a team vs team calculation a and then there is a calculation to see which PLAYER gets the rebound after it is decided which team wins the rebound. I would also assume the DEFENSE gets a bonus on this.
If the DEFENSE gets the rebound, start equation over.
If the OFFENSE gets the rebound,
Is there an attempt to tip in?
Work on this (who gets tip in attempts? Is it by position, athleticism, shooter?, see if there is a pattern)
If yes, GO BACK TO Does the SHOT GO IN.
If no, GO BACK TO begining.