User:Eft-BoonDock

From WolfWiki
Revision as of 01:39, 16 August 2007 by Eft-BoonDock (talk | contribs)
Jump to navigation Jump to search

BoonDock's TJ mod

  • Version 0.2 (16.8.2007)
  • Thanks to Bennz for his helping hand

Description

This trickjump mod enables players to save their position and load it within the same map/round. It is based on Kotoko's TJmod but enables saving only when the player is not moving or dead. This prevents abusing exploits (like saving when jumping, falling down, sliding on ice, etc.).

Additionally, players can move themselves to another player's position or move another player to their position. To prevent an abuse of these features, an admin mod is necessary and these commands have to be assigned to admin levels.

This mod is intended for Trickjumping servers only.

Commands

/save          saves the player's current position
/load          restores the player's saved position
!goto <player> moves the player to another player's position (Admin mod necessary)
!call <player> moves another player to the player's position (Admin mod necessary)
!goback        moves the player back to the previous position before he was called (Admin mod necessary)

Installation

ETPro

This installation is necessary to run the TJ mod on the server.

  • Extract the file BoonTJ.lua to the etpro directory of the server.
  • Add the following line to your server config:
set lua_modules "BoonTJ.lua"

If you allready have set the lua_modules cvar, you can add mods by seperating them with a blank, i.e.

set lua_modules "combinedfixes.lua BoonTJ.lua"

Admin mods (optional)

If one of these admin mods is running on the server, the commands !goto, !call, and !goback can be used. Otherwise, only /save and /load are available.

Etadmin_mod
  • Add the following lines to the [alias] section of your etadmin.cfg file:
# BoonTJ
goto   = goto   "<CLIENT_ID>" "<PART2ID>"
call   = call   "<CLIENT_ID>" "<PART2ID>"
goback = goback "<CLIENT_ID>"
  • Add the following lines to the [permissions] section of your etadmin.cfg:
# BoonTJ
1 = goto
1 = call
0 = goback

!goback should be assigned to level 0, feel free to assign other admin levels to the !goto and !call commands.

KMOD
  • Add the following lines to the end of your commands.cfg file:
#BoonTJ
1 - goto   = goto   <CLIENT_ID> <PNAME2ID>
1 - call   = call   <CLIENT_ID> <PNAME2ID>
0 - goback = goback <CLIENT_ID>

!goback should be assigned to level 0, feel free to assign other admin levels to the !goto and !call commands.

Version history

Version 0.1

  • Initial release

Version 0.2

  • Made movement check interval adjustable to save server load
  • Added a check to prevent saving when a player is dead

Download


Contact

Homepage: eft//europeanfunteam
E-Mail: boondock@eft-clan.com
IRC: #eft-clan