Skip to content
View in the app

A better way to browse. Learn more.

Learn more

frostbite-slowdown/README.txt

README.txt
45 lines · 2.2 KB · Text
Raw
Frostbite Slowdown 1.0.0 (olds.ro)
==================================

A Snow Wars add-on. A snowball hit no longer kills: each hit makes the
player colder, slower and tints his screen blue. The third hit freezes him
solid for a few seconds and gives the thrower a point; then he thaws and
rejoins at full speed. Rounds last longer and reward accuracy over spam.

Requirements
  - AMX Mod X 1.10.0.5490 or newer, ReAPI, fakemeta, hamsandwich
  - the olds.ro Snow Wars Mode (LIB-2048): its snowballs are grenade
    entities marked with var_iuser4 20481, and a hit is its
    ExecuteHamB(Ham_TakeDamage) with the snowball as inflictor

Install
  1. Compile scripting/olds_frost.sma and copy olds_frost.amxx to
     addons/amxmodx/plugins/ (after the Snow Wars Mode).
  2. Copy data/lang/olds_frost.txt to addons/amxmodx/data/lang/.
  No downloads: the freeze plays the stock sound/debris/glass1.wav.

Settings (addons/amxmodx/configs/plugins/olds_frost.cfg, made on first run)
  olds_frost_step 40    top speed lost per hit (units/s; never below 40)
  olds_frost_hits 3     hits that freeze (1 = the core's one-hit kills)
  olds_frost_time 4     seconds frozen
  olds_frost_decay 6    seconds without a hit before one hit fades

Admins
  amx_frost_status (ADMIN_KICK)   every player's hits, frozen state, top
                                  speed, frags and freezes

How it works
  - RG_CBasePlayer_TakeDamage (pre): damage from a Snow Wars snowball is
    cancelled and counted as a hit instead. With olds_frost_hits 1 the
    damage goes through and kills, as without this add-on.
  - The top speed is lowered by olds_frost_step per hit in
    RG_CBasePlayer_ResetMaxSpeed (post), so weapon switches keep it. A blue
    ScreenFade stays on, deeper with each hit.
  - At olds_frost_hits: FL_FROZEN, a blue glow and glass1.wav for
    olds_frost_time seconds; the thrower gets a frag (Ham_AddPoints) and
    everyone is told. Hits on a frozen player do nothing. Then the player
    thaws: no hits, full speed, no tint.
  - Without new hits, one hit fades every olds_frost_decay seconds.
  - Spawning and dying clear the cold.
  Note: freezes are not kills, so the Snow Wars kill limit is reached only
  by kills (or with olds_frost_hits 1); rounds end on time otherwise.

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.