GithubHelp home page GithubHelp logo

exagone313 / etlegacy-lua-scripts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from etlegacy/etlegacy-lua-scripts

0.0 0.0 0.0 142 KB

Lua scripts for the Legacy mod

Home Page: https://legacy-lua-api.readthedocs.io/en/latest/

Lua 100.00%

etlegacy-lua-scripts's Introduction

Lua scripts

banners

Banner management system for legacy mod.

Reserves next cvars to configure banners:

  • g_bannerTime sets banner change interval (default 5000)
  • g_bannerLocation sets banner print location (default top)
    Possible values:
    • top top of the screen, banner print spot (bp)
    • left popup messages (cpm)
    • center center print (cp)
    • chat chat print (chat)
  • g_bannerN (where N is a number in range of 1 to 10) sets banner messages

All cvars should be filled before lua module gets initialized.

  • This script is intended for legacy 2.77+ mod.

dynamite

  • Clients can toggle dynatimer with setu v_dynatimer 1/0

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

etlegacy-lua-scripts's People

Contributors

rmarquis avatar ir4t4 avatar jansimek avatar rafal1137 avatar sheldarr avatar estorado avatar isryven avatar aranud avatar kuromiii avatar harleking avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.