User:Eft-BoonDock: Difference between revisions

From WolfWiki
Jump to navigation Jump to search
Version update
No edit summary
Line 1: Line 1:
== BoonDock's TJ mod ==
== BoonDock's TJ mod ==


* Version 0.3 (17.08.2007)
* Version 0.3b (17.08.2007)


* Based on [[User:Kotoko|Kyoto's TJmod]] 0.4
* Based on [[User:Kotoko|Kyoto's TJmod]] 0.4
Line 86: Line 86:


For configuring the BoonTJ mod, open the ''BoonTJ.cfg'' file with a text editor.
For configuring the BoonTJ mod, open the ''BoonTJ.cfg'' file with a text editor.
==== General configuration options ====
The ''btj_check_ms'' parameter is to configure the interval to check for
ammunition and if a player is moving. 50 ms is the lowest possible value
and gives a good check accuracy but higher values reduce server load.
set btj_check_ms 50


==== Enable/disable features ====
==== Enable/disable features ====
Line 104: Line 112:
* Enable/disable the ''ammunition'' module
* Enable/disable the ''ammunition'' module
  set btj_enable_ammo_mod        1/0
  set btj_enable_ammo_mod        1/0
==== Save/load module ====
The only parameter to configure is the interval to check if a player has been moved. 50 ms is the lowest possible value and gives a good movement check accuracy but higher values reduce server load.
set btj_check_ms 50


==== Kill restriction module ====
==== Kill restriction module ====
Line 125: Line 128:
set the number of extra ammunition.
set the number of extra ammunition.


  -1 for the default number of ammunition
  -1   for the default number of ammunition
   0 for disabling the weapon (make sure you disable both ammoclip and ammo
   0   for disabling the weapon (make sure you disable both ammoclip and ammo)
  >0 for the number of ammunition when spawning
  >0   for the number of ammunition when spawning
>999 for unlimited ammunition


  // common weapons
  // common weapons
Line 185: Line 189:
* Added a check to prevent saving when a player is dead.
* Added a check to prevent saving when a player is dead.


==== Version 0.3 ====
==== Version 0.3b ====


* Moved configuration into a seperate config file.
* Moved configuration into a seperate config file.
* Features can be turned on/off now.
* Features can be turned on/off.
* Added a kill restriction module.
* Added a kill restriction module.
* Added an ammunition amount modifying module.
* Added an ammunition amount modifying module.
Line 196: Line 200:
* [http://www.eft-clan.com/members/boondock/BoonTJ_v0.1.zip BoonTJ v0.1]
* [http://www.eft-clan.com/members/boondock/BoonTJ_v0.1.zip BoonTJ v0.1]
* [http://www.eft-clan.com/members/boondock/BoonTJ_v0.2.zip BoonTJ v0.2]
* [http://www.eft-clan.com/members/boondock/BoonTJ_v0.2.zip BoonTJ v0.2]
* [http://www.eft-clan.com/members/boondock/BoonTJ_v0.3.zip BoonTJ v0.3]
* [http://www.eft-clan.com/members/boondock/BoonTJ_v0.3b.zip BoonTJ v0.3b]




Line 203: Line 207:
Homepage: [http://www.eft-clan.com eft//europeanfunteam]<br>
Homepage: [http://www.eft-clan.com eft//europeanfunteam]<br>
E-Mail: [mailto:boondock@eft-clan.com boondock@eft-clan.com]<br>
E-Mail: [mailto:boondock@eft-clan.com boondock@eft-clan.com]<br>
IRC: [irc://irc.quakenet.org:6667/eft-clan #eft-clan]
IRC: [irc://irc.quakenet.org:6667/eft-clan #eft-clan @ Q-Net]


[[Category:ETPro:Mods]]
[[Category:ETPro:Mods]]

Revision as of 01:27, 17 August 2007

BoonDock's TJ mod

  • Version 0.3b (17.08.2007)
  • Thanks to Bennz for his helping hand


Description

This mod is intended for trickjumping servers. It consists of three parts: A save/load module, a kill restriction module, and an ammunition module.

Save/load module

This modules enables players to save their position and restore it within the same map/round. It is based on Kyoto's TJmod but enables saving only when the player is not moving or is 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.

Kill restriction module

This module counts the number of kills a player made (including teamkills) and kicks them if a maximum number of kills is reached.

Ammunition module

With this part of the mod, the initial amount of ammunition can be set. Setting the initial amount to 0 disables a weapon.


User/Admin 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)

These commands can be used on players of the same team only.


Installation

ETPro

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

  • Copy the files BoonTJ.lua and BoonTJ.cfg into 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.


Configuration

For configuring the BoonTJ mod, open the BoonTJ.cfg file with a text editor.

General configuration options

The btj_check_ms parameter is to configure the interval to check for ammunition and if a player is moving. 50 ms is the lowest possible value and gives a good check accuracy but higher values reduce server load.

set btj_check_ms 50

Enable/disable features

Features can be enabled or disabled by setting the responsive cvar value to 1 or 0.

  • Enable/disable the save/load feature
set btj_enable_save_load        1/0
  • Enable/disable the goto/call/goback feature. This feature works only if an

andmin mod is installed.

set btj_enable_goto_call_goback 1/0
  • Enable/disable the kill restriction module
set btj_enable_killrestriction  1/0
  • Enable/disable the ammunition module
set btj_enable_ammo_mod         1/0

Kill restriction module

For the kill restriction module, 2 parameters can be set: The number of kills a player can make until he gets kicked as well as the time he gets temporarily banned.

set btj_kill_limit 3
set btj_bantime    120

Ammunition module

In this section the amount of ammunition a player spawn with can be set. ammoclip cvars set the amount of ammunition in the weapon, while ammo cvars set the number of extra ammunition.

-1   for the default number of ammunition
 0   for disabling the weapon (make sure you disable both ammoclip and ammo)
>0   for the number of ammunition when spawning
>999 for unlimited ammunition
// common weapons
set btj_ammoclip_luger               -1
set btj_ammoclip_akimbo_luger        -1
set btj_ammo_luger                   -1
set btj_ammoclip_colt                -1
set btj_ammoclip_akimbo_colt         -1
set btj_ammo_colt                    -1
set btj_ammo_mp40                    -1
set btj_ammoclip_mp40                -1
set btj_ammo_thompson                -1
set btj_ammoclip_thompson            -1
set btj_ammoclip_axis_grenades       -1
set btj_ammoclip_allies_grenades     -1

// soldier weapons
set btj_ammoclip_panzerfaust         -1
set btj_ammoclip_flamethrower        -1
set btj_ammo_mortar                  -1
set btj_ammoclip_mg42                -1
set btj_ammo_mg42                    -1

// medic weapons
set btj_syringe_adre                 -1

// engineer weapons
set btj_ammoclip_axis_engi_rifle     -1
set btj_ammo_axis_engi_rifle         -1
set btj_ammo_axis_rifle_nade         -1
set btj_ammoclip_allies_engi_rifle   -1
set btj_ammo_allies_engi_rifle       -1
set btj_ammo_allies_rifle_nade       -1

// fieldops weapons

// covertops weapons
set btj_ammoclip_sten                -1
set btj_ammo_sten                    -1
set btj_ammoclip_fg42                -1
set btj_ammo_fg42                    -1
set btj_ammoclip_axis_covert_rifle   -1
set btj_ammo_axis_covert_rifle       -1
set btj_ammoclip_allies_covert_rifle -1
set btj_ammo_allies_covert_rifle     -1


Version history

Version 0.1

  • Initial release.

Version 0.2

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

Version 0.3b

  • Moved configuration into a seperate config file.
  • Features can be turned on/off.
  • Added a kill restriction module.
  • Added an ammunition amount modifying module.


Download


Contact

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