Lua scripts for the Legacy mod
Find a file
2019-06-27 16:16:57 +02:00
announcehp modname and version added 2016-02-06 16:58:13 +01:00
banners lua: fix for missing while loop 2017-09-04 00:00:29 +02:00
dynamite dynatimer: quick and dirty fix for lua 5.2.3, refs #609 2014-12-05 22:29:45 +01:00
irc fixed wording 2017-04-02 19:59:13 +02:00
killing-spree Announcing end of killing spree 2018-02-11 17:33:42 +01:00
medic-syringe-heal fixed heal sound index for syringe healing 2019-06-27 16:16:57 +02:00
spawn-invul-fair expanded spawn-invul-fair script 2019-05-18 17:03:50 +02:00
TESTS added all CS constants 2016-09-08 17:40:24 +02:00
xpsave scripts: adjusted xpsave permissions 2018-12-16 16:44:26 +01:00
README.md updated README 2019-05-18 14:53:56 +02:00

Lua scripts

banners

  • Banners managment system in lua

dynamite

  • Clients can toggle dynatimer with setu v_dynatimer 1/0

xpsave

  • Save XP between play sessions.
  • LuaSQL module with sqlite3 driver is required

announcehp

  • Killer's HP is displayed to their victims.

medic-syringe-heal

Allows medics to heal nearly dead players using syringe.

If player has less than 25% of the health, medic can use syringe to heal the teammates either to full or half health, depending on medic healing skill level (eg. medic level 3 or more, heals teammate to the full health).

  • This script is intended for legacy 2.77+ mod.

spawn-invul-fair

Remove spawn shield protection when firing.

  • This script is intended for legacy 2.77+ mod.

Notes

  • Please always add modname and version to your lua script
modname="NameofLua"
version="1.0"

function et_InitGame()
        et.RegisterModname(modname.." "..version)
end