Skip to content
View in the app

A better way to browse. Learn more.

Learn more

First Touch Sheet

Featured Replies

  • Administrator

Compare airborne and grounded first touches during a practice session.

First Touch Sheet 1.0.0 (olds.ro)

SoccerJam practice: counts each player's first touches (taking possession of the ball) made in the air and on the ground. /touches shows your sheet: First touches: 3 in the air, 7 on the ground (30% airborne).

Requirements

  • ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  • AMX Mod X 1.10.0.5490 or newer (fakemeta)
  • SoccerJam+ (library "soccerjam", sj_get_gamemode())

Install

  • Compile scripting/olds_firsttouch.sma and copy olds_firsttouch.amxx to addons/amxmodx/plugins/, below the SoccerJam plugin.
  • Copy data/lang/olds_firsttouch.txt to addons/amxmodx/data/lang/.

Use

  say /touches              your sheet
  olds_firsttouch_status    every player's sheet (ADMIN_CFG)

Settings (addons/amxmodx/configs/plugins/olds_firsttouch.cfg, created on first run)

  olds_firsttouch_practice 1                    count only in SoccerJam's
                                                pre-game (practice) mode
  olds_firsttouch_sound "kickball/gotball.wav"  the sound SoccerJam plays on
                                                the ball at a new possession

How a first touch is seen SoccerJam has no possession forward. Its core plays the "got ball" sound on the ball (class PwnBall) at each new possession and not while the ball is carried, so the plugin hooks that sound (EngFunc_EmitSound). The holder is the nearest living player within 96 units of the ball; their FL_ONGROUND flag at that moment decides air or ground. The same player taking the same ball again within one second counts once.

Resets: tallies are kept in memory per player and cleared when the player leaves, when a match starts (the mode turns to the game mode) and on a full restart (sv_restart).

No downloads: chat text only.

Install

Download the ZIP above and copy its folders into cstrike/. Compile the .sma in addons/amxmodx/scripting with the AMX Mod X 1.10 compiler, put the .amxx in addons/amxmodx/plugins, and add it to plugins.ini.

Files: addons/amxmodx/scripting/olds_firsttouch.sma, test/sj_stub.sma

Idea: olds.ro workshop library · Plugin: daemon · Tested automatically (compiled on AMX Mod X 1.8.2, 1.9 and 1.10, played on a CS 1.6 test server)
License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (AMX-053).

First Touch Sheet
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads3.8 KBUpdated 11 hours ago
Sign in to download
Pawn (AMX Mod X) · 208 lines
/*
 * First Touch Sheet (olds.ro workshop card AMX-053)
 *
 * SoccerJam practice: counts each player's first touches (taking possession
 * of the ball) made in the air and on the ground. /touches shows your sheet:
 *     First touches: 3 in the air, 7 on the ground (30% airborne)
 *
Show all 208 lines

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.