Skip to content
View in the app

A better way to browse. Learn more.

Learn more

tower-breach-register/README.txt

README.txt
41 lines · 1.8 KB · Text
Raw
Tower Breach Register 1.0.0 (olds.ro)
=====================================

Tower Defence: for each lane of the map, records the first enemy that damaged
the tower during the wave, and when. At the end of the wave the register is
posted to chat; amx_breach prints the current or last register to the console.

Requirements
  - ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  - AMX Mod X 1.10.0.5490 or newer
  - A Tower Defence mod that reports waves and tower damage through this
    plugin's natives (directly, or through a small bridge plugin)

Install
  1. Compile scripting/olds_breach.sma and copy olds_breach.amxx to
     addons/amxmodx/plugins/. The compiler needs ReAPI's include files.
  2. Copy data/lang/olds_breach.txt to addons/amxmodx/data/lang/.
  3. Copy configs/olds_breach/ to addons/amxmodx/configs/ and write a
     <mapname>.ini for each map from _example.ini.
  4. Copy scripting/include/olds_breach.inc next to the mod's sources.

Use
  amx_breach    the register per lane (ADMIN_MAP)

Settings (addons/amxmodx/configs/plugins/olds_breach.cfg, created on first run)
  olds_breach_enable 1   0 stops recording and reports

Lanes: configs/olds_breach/<map>.ini, one box per line, numbered from 1:
    "Lane name"  x1 y1 z1  x2 y2 z2

For the mod (include/olds_breach.inc, library "olds_breach")
  olds_breach_wave_start(wave)          a wave began; the register is emptied
  olds_breach_tower_damage(enemy)       this enemy entity just damaged the real
                                        tower
  olds_breach_wave_end(bool:cancelled)  the wave ended; cancelled = no report
The enemy's lane is the box holding its origin at that moment; outside every
box it is not recorded. Each lane keeps only its first breach: later damage
ticks, the same enemy again, or a new enemy reusing an old entity index never
overwrite it.

No downloads: chat text and a console table.

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.