A dozen men accused of murdering a teenager during an armed attack in a park had gathered weapons and driven to the scene in convoy of cars, a jury has heard.