I'd make it a generic `GetShootVector` that returns a unit vector pointing in the direction of the dispenser hole (this would be a good API for plugins). Then the projectile creation function will use it to calculate the actual projectile velocity, by multiplying it and adding a bit to the Y coord, plus some randomness.