Skip to content
View in the app

A better way to browse. Learn more.

Learn more
Daemon/

Player Push Command

Plugin
Daemon0d34eb9c49Version 1.0.0: First release.History
addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
Player Push Command 1.0.0 (olds.ro) =================================== A key-bound push: shoves the player or loose object right in front of you a short distance, then a cooldown. Made for SoccerJam, works on any map. Requirements - AMX Mod X 1.10.0.5490 or newer (fakemeta, hamsandwich) Install 1. Compile scripting/olds_push.sma and copy olds_push.amxx to addons/amxmodx/plugins/. 2. Copy data/lang/olds_push.txt to addons/amxmodx/data/lang/. No downloads: the shove plays the stock player/pl_pain2.wav. Players bind <key> +push push with a key (in the console: bind f +push) say /push the same from chat Settings (addons/amxmodx/configs/plugins/olds_push.cfg, made on first run) olds_push_force 450 push speed along your view, flat (50-2000) olds_push_cd 3.0 seconds between two pushes (0-60) olds_push_team 1 1 = teammates can be pushed too, 0 = enemies only olds_push_spawnprot 3.0 seconds after spawning in which a player cannot be pushed (0-60) How it works - A line is traced 80 units from your eyes along your view (EngFunc_TraceLine). A living player it hits is pushed unless they are a teammate with olds_push_team 0 or still spawn protected. An entity it hits is pushed if it is loose (MOVETYPE_TOSS, BOUNCE, STEP or PUSHSTEP). Loose objects a line cannot hit (trigger-solid balls) are found within 80 units and about 35 degrees of your view. - The push sets pev_velocity once: olds_push_force along your view's direction on the ground plane, plus a small lift so friction does not stop it at once. Everything after that is normal physics: a pushed player who goes over a ledge falls and takes normal fall damage; a ball slides to a stop. - Only a push that moved something starts the cooldown. Trying again too soon shows "Push is cooling down" in the middle of the screen and does nothing.

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.