This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- center prints damage given to the enemy and the distance for testing purposes | |
light_weapons = {1,2,3,5,6,7,8,9,10,11,12,13,14,17,37,38,44,45,46,50,51,53,54,55,56,61,62,66} | |
explosives = {15,16,18,19,20,22,23,26,39,40,41,42,52,63,64} | |
HR_HEAD = 0 | |
HR_ARMS = 1 | |
HR_BODY = 2 | |
HR_LEGS = 3 | |
HR_NONE = -1 | |
HR_TYPES = {HR_HEAD, HR_ARMS, HR_BODY, HR_LEGS} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- full server kick (fsk) script by "a domestic cat" | |
local events = wolfa_requireModule("util.events") | |
local auth = wolfa_requireModule("auth.auth") | |
-------------------- Configuration -------------------- | |
-- Defines delay before issuing a warning [seconds]. | |
-- Default: 180 (3 minutes) | |
WarnTime = 180 | |
-- Defines interval between warning and kick [seconds]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- convert VET/ETPro FOV to ETLegacy | |
function et_InitGame(levelTime, randomSeed, restart) | |
et.RegisterModname("fov.lua "..et.FindSelf()) | |
end | |
function et_ClientCommand(id, cmd) | |
if et.trap_Argv(0) == "say" then | |
args = et.ConcatArgs(1) | |
local args_table = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- mortar radius | |
function et_Damage(target, attacker, damage, damageFlags, meansOfDeath) | |
if (meansOfDeath ~= 52 and meansOfDeath ~= 63) or attacker > et.MAX_CLIENTS or target > et.MAX_CLIENTS then | |
return 0 | |
end | |
if damage < 190 then -- around half from max | |
return 1 | |
else | |
et.G_Damage(target, attacker, attacker, damage, 4, 0) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- likedislike.lua by x0rnn | |
-- commands: !like/!love, !dislike/!hate, !mapresults | |
filename = "likedislike.log" | |
mapname = "" | |
results = {} | |
function et_InitGame(levelTime, randomSeed, restart) | |
et.RegisterModname("likedislike.lua "..et.FindSelf()) | |
mapname = et.trap_Cvar_Get("mapname") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Map: V2 Base | |
// BSP: v2base | |
// Author: SteelRat | |
//x0rnn - added playerclip to prevent tj to objective from spawn | |
game_manager | |
{ | |
spawn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- selftimer.lua by x0rnn, notifies you with sound last 3 seconds before your next respawn so you can selfkill in time | |
-- commands: !timer during match to activate it, !untimer to turn it off | |
ltm = 0 | |
redspawn = 0 | |
bluespawn = 0 | |
redspawn2 = 0 | |
bluespawn2 = 0 | |
players = {} | |
spawns = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ============================================================================ | |
// Map: Fueldump | |
// Last update : 16/06/03 Sock | |
// ============================================================================ | |
// rain - Tue Sep 23 20:24:55 EDT 2003 - fixed setautospawns | |
// bani - Mon Jan 5 23:45:25 PST 2004 - allied spawn at garage commandpost | |
// x0rnn - added assault ramp (fuelramp.pk3 is required on the server! Download: https://github.com/x0rnn/etpro/blob/master/mapscripts/maps/fuelramp.pk3) | |
game_manager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spawnShield = 1 -- seconds | |
levelTime = 0 | |
hs_maps = {"purefrag", "et_headshot2_b2", "mp_sillyctf", "ctf_multi", "multi_huntplace", "badplace4_rc", "te_valhalla"} | |
flag = false | |
function has_value (tab, val) | |
for index, value in ipairs(tab) do | |
if value == val then | |
return true | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- x0rnn: added dynamite "sudden death" mode | |
--------------------------------- | |
------- Dynamite counter -------- | |
------- By Necromancer -------- | |
------- 5/04/2009 -------- | |
------- www.usef-et.org -------- | |
--------------------------------- | |
SHOW = 0 |
NewerOlder