Skip to content
View in the app

A better way to browse. Learn more.

Learn more

first-touch-sheet/README.txt

README.txt
40 lines · 1.8 KB · Text
Raw
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
  1. Compile scripting/olds_firsttouch.sma and copy olds_firsttouch.amxx to
     addons/amxmodx/plugins/, below the SoccerJam plugin.
  2. 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.

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.