2
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: headshotsurt plugin [Urban Terror 4.1/4.2]  (Read 44791 times)

Offline beepbeep

  • Full Member
  • ***
  • Posts: 71
Re: heashotsurt plugin v0.2.0 [urt4.1]
« Reply #45 on: May 08, 2010, 09:21:44 AM »
it says i dont have sufficient access to use !headshots when i type the command in game. why?

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: heashotsurt plugin v0.2.0 [urt4.1]
« Reply #46 on: May 08, 2010, 02:41:58 PM »
are you at least a registered user on your server ? or superadmin ?

type !leveltest
type !register

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: heashotsurt plugin v0.2.0 [urt4.1]
« Reply #47 on: August 30, 2010, 06:59:11 PM »
so how can i set percentage of heads' damage?
percentage for headshot\other body's areas.

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: heashotsurt plugin v0.2.0 [urt4.1]
« Reply #48 on: August 30, 2010, 07:02:17 PM »
This plugin does not take into account any dammage. It just counts kills by headshots.

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: heashotsurt plugin v0.2.0 [urt4.1]
« Reply #49 on: August 30, 2010, 07:16:54 PM »
This plugin does not take into account any dammage. It just counts kills by headshots.
okay, so it show every accounts how many headshots do... isn't it?
because in some servers i saw percentage.

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: heashotsurt plugin v0.2.0 [urt4.1]
« Reply #50 on: August 30, 2010, 07:54:49 PM »
maybe the percentage of headshots made compared to total kills

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: heashotsurt plugin v0.2.0 [urt4.1]
« Reply #51 on: August 30, 2010, 08:33:02 PM »
yes, it is. the percentage on total kills.
is it possible show it?
:-O

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: heashotsurt plugin v0.2.0 [urt4.1]
« Reply #52 on: August 30, 2010, 08:47:28 PM »
The ratio is showed on the end-of-round awards

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: heashotsurt plugin v0.2.0 [urt4.1]
« Reply #53 on: August 30, 2010, 08:54:48 PM »
The ratio is showed on the end-of-round awards
ok np, maybe is modified that every headshot of one player, console show headshots\total kills%
if this show at the end is the same, t.y.
(-;

Offline ryry46d9

  • B3 Contrib/Support
  • Sr. Member
  • *
  • Posts: 337
    • Pb| clan
Re: heashotsurt plugin v0.2.0 [urt4.1]
« Reply #54 on: August 30, 2010, 10:47:43 PM »
I think (?) your thinking of the one that is part of poweradminurt

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: heashotsurt plugin v0.2.0 [urt4.1]
« Reply #55 on: August 31, 2010, 07:32:43 AM »
I think (?) your thinking of the one that is part of poweradminurt
really i don't know.
anyway i'll try to see if it's so.
thanks!

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: heashotsurt plugin v0.2.0 [urt4.1]
« Reply #56 on: September 01, 2010, 07:00:54 PM »
I think (?) your thinking of the one that is part of poweradminurt
can you say me which part of poweradminurt?
thank you for the answer!

Offline danger89

  • Full Member
  • ***
  • Posts: 129
    • JoinMyServer - Game Servers
Re: heashotsurt plugin v0.2.0 [urt4.1]
« Reply #57 on: January 17, 2011, 10:04:53 PM »
I recreated/ bug fixed this plugin it will get the information from the XLRStats plugin. But not only the headshots, it's also possible to use the command !kills, !rounds and !weapon which gives you the most used weapon of a player.

You can find the  Statsinfo plugin here!.

- Melroy van den Berg
JoinMyServer.com
Call of Duty 4 Game Servers

JoCondor

  • Guest
Re: heashotsurt plugin v0.2.0 [urt4.1]
« Reply #58 on: August 15, 2012, 11:50:27 AM »

Just a note about UrT 4.2:

accordingly to
http://www.urbanterror.info/forums/topic/29221-incorrect-stats/
if you want use this plugin with UrT 4.2 you have to change some values in headshotsurt.py
(i report double table for clear comparison)

### hit location constants ###
HL_HEAD='0'     # new: 1
HL_HELMET='1'   # new: 4
HL_TORSO='2'    # new: 5
HL_KEVLAR='3'   # new: 6 (VEST)
HL_ARMS='4'     # new: 7 & 8 = left & right arm
HL_LEGS='5'     # new: 9
HL_BODY='6'     # new: ?

# Override with new values 4.2 in order to fix HS
HL_HEAD='1'     # old: 0
HL_HELMET='4'   # old: 1
HL_TORSO='5'    # old: 2
HL_KEVLAR='6'   # old: 3  ("VEST" hit)
HL_ARMS='7'     # and 8  (left and right) - old: 4 both arms
HL_LEGS='9'     # old: 5
# HL_BODY='?'   # searching...


Regards


Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: heashotsurt plugin v0.2.0 [urt4.1]
« Reply #59 on: August 15, 2012, 03:24:39 PM »
Thanks for the report. Follow issue #1
« Last Edit: November 21, 2012, 11:35:17 PM by Courgette »

 


Rate this page +1 at Google Search