Will This Help Solve TK Issues?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Solderflux

    #1

    Will This Help Solve TK Issues?

    I'm new to this forum, so... "Hi Everybody" :p

    Don't know if anyone else has found this neat little trick yet?
    Basically I noticed everyone was complaining about TK'ing and getting confused -

    This displays the weapon used to do the TK'ing - I believe this could resolve some dodgy issues etc by allowing players to see if someone is doing it accidentally or becoming one of those sad people who like to shoot their own team...

    Go in to the BF2\mods\bf2\Localization\<your language e.g. English>

    Open English.UTXT with a text editor (e.g. MS notepad).

    Search (Ctrl F in MS notepad) for "HUD_HUD_KILLEDBY_TEAMKILLS"
    and add the following at the end of the text (in between #PLAYERNAME2# and the squares):

    " with [§1#WEAPON#§0]"

    Or rearrange it in to whatever order you like ("§1#WEAPON#§0" is the functional bit)
    This trick doesnt work for the "is no more" suicides (at least, it didn't when I tried it!)

    You'll need to restart the game for the changes to take effect.

    This doesn't cause any problems in the online play, as it is only the local in-game text that you are changing.

    Hope this helps!

    -Solder
  • Hugh G. Wrection

    #2
    Very cool. I bet there are some more places where you can add some additional useful info to the text. Like, can you add the name of the player who punishes you in the "you were punished for a teamkill!" message?

    But I have to ask... are you sure this won't get you banned on a PB server doing MD5 checks (pb MD5 checks, not the game's MD5 checks)? Is this one of the files included in the checks?

    Comment

    • C11.Nemisis

      #3
      that is very cool but wont it replace the tk message and make the person think they killed an enemy?

      Comment

      • Solderflux

        #4
        Hugh- Cheers, but not sure about the punish message as there doesn't seem to be a name tag. I think this message (along with the "Is No More" suicides) is just for display. I cant see which "playername" tag to put in, but will give it a go!

        Didn't get me banned, and I dont see why it should :p - its a part-solution to the TK'ing issue, which is supposedly going to be solved anyway in the next patch (1.03). I assume that MD5 checks are some kind of file scanning? I don't know much about it but:
        |a| Its in the "locals" folder, which is going to be different for every language... perhaps unlikely that they set punkbuster to check it for the file sizes and names will be different for each language? Please could you enlighten me about MD5 - I mean, internal game scans? shouldn't that recognise that I renamed the "Movies" folder for an ultra-quick load ? What is (PB's or the game's) likely to do?
        |b| Its working atm... :) (but when does this MD5 thing check?)

        Nemisis - Thanks also... but "the person"... is that "The Player" or "The Other Guy On The Internet"? This edit only affects your end, and what messages are displayed when the program calls that message - I'd describe it as a look-up table, with an element of interactiveness for displaying timers, names, weapons etc.

        §0#PLAYERNAME1# [§1TEAMKILLS§0] #PLAYERNAME2# with [§1#WEAPON#§0]
        Thus the message will appear as "Bill[Teamkills] Ben with AK47"
        I find that having the weapon on the end of the sentence instead of in the middle makes it stand out more (is this what you were referring to?).
        Sorry, I should have put this in the original to avoid confusion!

        Perhaps if anyone discovers/knows of more things that can be done with the language files they could post here please?

        -Solder

        Comment

        • Hugh G. Wrection

          #5
          Actually, it seems the tags are all message-specific. I tried adding WEAPON, PLAYERNAME, PLAYERNAME1, PLAYERNAME2, etc. to a bunch of other messages, but the tags aren't replaced w/actual weapon or player names during play. Eg. tried to see #WEAPON# in the "team damage!" message, etc.

          So I think this only works for the HUD_HUD_KILLEDBY_TEAMKILLS message.

          Cool find!

          Comment

          • Solderflux

            #6
            Yeah, it was pretty lucky I guess!

            (what's md5?...)

            -Solder

            Comment

            • Hugh G. Wrection

              #7
              MD5 is the method for checking whether or not a file has been modified. The game uses it to check many things in the \Mods folder (not the localization file though). Punkbuster can also be configured to do MD5 checks on whatever files you want.

              Comment

              • Solderflux

                #8
                Cheers Hugh :)

                Comment

                Working...