This repository has been archived by the owner on Dec 26, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #1 - support Urban Terror 4.2 new hitlocation values
Also : - change default config file format to .ini (.xml still works) - add automated tests - code cleanup
- Loading branch information
Courgette
committed
Aug 18, 2012
1 parent
2d7052b
commit 2cba802
Showing
16 changed files
with
594 additions
and
130 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# TravisCI config file. See http://travis-ci.org | ||
language: python | ||
python: | ||
- 2.6 | ||
- 2.7 | ||
|
||
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors | ||
install: | ||
- pip install -r tests/requirements.txt --use-mirrors | ||
- pip install -e git+git://github.com/courgette/big-brother-bot.git@iourt42#egg=b3 --use-mirrors | ||
|
||
# command to run tests, e.g. python setup.py test | ||
script: PYTHONPATH=extplugins nosetests --where=tests |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
heashotsurt plugin for Big Brother Bot (www.bigbrotherbot.net) | ||
============================================================== | ||
|
||
http://www.bigbrotherbot.net | ||
|
||
Inspired from the spree plugin by Walker. | ||
|
||
|
||
Description | ||
----------- | ||
|
||
When a player makes a headshot (ie: a kill with last bullet in head or helmet), display in console how many headshots the killer made so far. | ||
|
||
|
||
|
||
Requirements | ||
------------ | ||
|
||
This plugin will only work with B3 parsers iourt41 and iourt42. Other games won't work. | ||
|
||
|
||
|
||
Installation | ||
------------ | ||
|
||
- copy headshotsurt.py into b3/extplugins | ||
- copy plugin_headshotsurt.ini in same directory as your b3.xml | ||
- update your main b3 config file with:: | ||
|
||
<plugin name="headshotsurt" config="@conf/plugin_headshotsurt.ini"/> | ||
|
||
**Note:** for Urban Terror 4.2, you have to use the iourt42 B3 parser for this plugin to detect headshots correctly | ||
|
||
|
||
|
||
Commands | ||
-------- | ||
|
||
!headshots (or !hs) | ||
Tells you how many headshots kills you made so far | ||
|
||
!headshots (or !hs) <player> | ||
Tells you how many headshots kills a given player made so far | ||
|
||
|
||
|
||
|
||
|
||
Contrib | ||
------- | ||
|
||
- *features* can be discussed on the `B3 forums <http://forum.bigbrotherbot.net/plugins-by-courgette/heashotsurt-plugin-v0-2-0-%28urt4-1%29/>`_ | ||
- documented and reproducible *bugs* can be reported on the `issue tracker <https://github.com/courgette/b3-plugin-headshotsurt/issues>`_ | ||
- *patches* are welcome. Send me a `pull request <http://help.github.com/send-pull-requests/>`_. | ||
|
||
.. image:: https://secure.travis-ci.org/courgette/b3-plugin-headshotsurt.png?branch=master | ||
:alt: Build Status | ||
:target: http://travis-ci.org/courgette/b3-plugin-headshotsurt |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[settings] | ||
|
||
# reset_headshots: Reset spree stats for all clients at map rotation | ||
# values : yes/no | ||
reset_headshots: yes | ||
|
||
# min_level_headshots_cmd: The minimum level to be able to use the !spree/@spree command | ||
min_level_headshots_cmd: 1 | ||
|
||
# show_awards: Should awards be shown. yes/no --> | ||
show_awards: yes |
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
This file was deleted.
Oops, something went wrong.
Empty file.
Oops, something went wrong.