Lua scripts for the Legacy mod
Find a file
2019-05-18 14:48:44 +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 add medic-syringe-heal script 2019-04-13 14:54:44 +02:00
spawn-invul-fair added spawn-invul-fair 2019-05-18 14:48:44 +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 add medic-syringe-heal script 2019-04-13 14:54:44 +02:00

Lua scripts

  • Lua scripts for the Legacy mod.

banners

  • Banners managment system in lua

dynamite

  • This script supports beside legacy mod: ETPro, EtPub & NoQuarter
  • Clients can toggle dynatimer with setu v_dynatimer 1/0

xpsave

  • This script is intended for Legacy mod, but may work in NoQuarter 1.2.9 and above
  • LuaSQL module with sqlite3 driver is required
  • The script could be tweaked to use file backend or other database drivers instead of sqlite3

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.

Notes

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

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