Assist Chain 1.0.0 (olds.ro)
============================
SoccerJam: when a goal is confirmed, chat names the scorer and the last two
different teammates who passed the ball on the way:
[Goal] Goal: Charlie, assist Bravo, Alpha
Requirements
- AMX Mod X 1.10.0.5490 or newer (engine module)
- A SoccerJam core whose ball entity is "PwnBall" and which shows goals in
the team score, such as Soccer Jam 2.07a or SoccerJam+ 2.x
Install
1. Compile scripting/olds_assistchain.sma and copy olds_assistchain.amxx to
addons/amxmodx/plugins/; add it to plugins.ini.
2. Copy data/lang/olds_assistchain.txt to addons/amxmodx/data/lang/.
Use
olds_assistchain_status current holders and passers per team (ADMIN_CFG)
Settings (addons/amxmodx/configs/plugins/olds_assistchain.cfg, created on first run)
olds_assistchain_win 8 a pass older than this many seconds at the goal
does not count (1-60)
How it works
The SoccerJam cores have no ball-touch or goal forwards for other plugins,
so this plugin reads what the core itself uses:
- possession: the ball ("PwnBall") touching a player;
- a confirmed goal: the core raising a team's score in the TeamScore
message, which it does only after it has accepted the goal;
- a ball reset: the ball jumping to another spot faster than it can fly.
Rules
- Touching the ball again yourself is one possession, not a pass.
- A teammate taking the ball makes the previous holder a passer; each team
keeps its two latest distinct passers, newest first.
A to B, B to C, C scores: "Goal: C, assist B, A".
A touches twice, passes to B, B scores: "Goal: B, assist A".
- An opponent touching the ball clears the other team's chain, so a goal
after an interception has no assists from before it. A goal, a ball reset
and a new round clear both teams.
- The scorer is the last player of the scoring team to touch the ball. An
own goal (the scoring team's chain was cleared) announces nothing.
No downloads: the announcement is chat text only.