Promote server

CSB SoccerJam turns a map into a pitch. A bouncing physics ball (MOVETYPE_BOUNCE) is spawned from a per-map data file; touching it kicks it with an impulse along your aim, scaled by how fast you are moving, so you can dribble and blast it. Two goal zones from the data file are watched on a task - putting the ball in the enemy goal scores a point, resets the ball to centre and plays a goal sound. The score is shown on a HUD.

Inspired by SoccerJam by Freecode. Independent GPL re-implementation.

Features

  • Bouncing physics ball kicked by touch, momentum-scaled.
  • Two goal zones loaded from a per-map data file.
  • Goal detection, ball reset and goal sound.
  • Live scoreboard HUD.

Installation

  1. Enable the fakemeta and hamsandwich modules in modules.ini.
  2. Create addons/amxmodx/configs/csb_soccer/<map>.ini with three x y z lines: ball spawn, Terrorist goal, CT goal.
  3. Compile csb_soccerjam.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  4. Change the map.