View Single Post
Old 09-04-2020, 02:49 PM   #2
Matt Arnold
OOTP Developer
 
Matt Arnold's Avatar
 
Join Date: Jun 2009
Location: Here and there
Posts: 15,724
I don't know if we directly enumerate them anywhere.

Result are the following:
K
BB
OUT (generic, likely shouldn't appear in csv outputs since it usually gets translated to GO/FO)
GROUND_OUT
FLY_OUT
SINGLE
DOUBLE
TRIPLE
HOMERUN
HP
CI

Hit Location should basically map to the ballpark locations you can set in 3D: https://manuals.ootpdevelopments.com...park_locations It may end up being +/- 1 depending exactly on indexing, and there may be a few special case elements near the end of the list that don't mark to those park locations, but are stuff like home plate/1B/etc.., although I don't know off-hand which may or may not be used in the csv outputs.

hit_xy is a little complicated, but it's basically an index into the above zone for where the ball lands (or for infield plays, where the fielder supposedly picks up the ball). It's probably not really necessary or useful for what it sounds like you're trying to build, since it's more useful internally for mapping game action and 3D action.
Matt Arnold is online now   Reply With Quote