First release, with the rest of YesuBuildKit at 1.0.0.
A trophy dropped on the ground can be kicked with any melee attack: furthest with the unarmed kick, less with a weapon (a heavier one pushes farther), least with a punch. A kick on the run carries the run into the ball. Running into a ball in play nudges it about half a metre ahead. A standing kick carries about 10 metres, a running kick about 15.
A ball in play gets ball physics on its owner: little air drag, a bounce, and collision checked every step so it cannot pass through walls or terrain. The trophy gets its own physics back when play ends; none of it is saved.
Ball.Power (1, from 0.5 to 1.5) scales every touch, and no ball ever leaves faster than 16 metres a second.
A kicked ball is in play for Ball.InPlaySeconds (60), renewed by each touch. Auto-pickup skips it while in play; the Use key always picks it up.
Signs that start with [goal] are goals. Two goals within Goal.PitchRange (60 m) make a pitch; a lone goal counts on its own sign. A ball that comes within Goal.Radius (2.5 m) of the sign scores once per pass; it must go twice that far from the goal before it can score there again. The count is written inside the tag ([goal 3] Red) and the rest of the sign is never changed, and a line tells everyone near who scored. There is no goal sound.
Only the item's owner moves it, and a kick from another player is checked by the owner for distance and ward access. Trophies inside a ward you cannot use are never kicked.
Server settings Ball.Enabled, Ball.KickAnyItem, Ball.InPlaySeconds, Ball.Power, Goal.Radius, and Goal.PitchRange, shown in Althing.
Every player needs the mod, with the suite's version check on join.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.