PDA

View Full Version : Need some help editing the splash death message



[209]
12-12-2007, 07:45 PM
Well as i sugested i am trying to edit the message that pops up when you get killed, ever sisnce the new patch the "(weaponamehere)" thing has been added and i'm trying to remove it

ie.
you were killed by Rook! (Rocket Launcher)

and i want to make it look like

you were killed by Rook!

now i figured out that the name in between "(" and ")" is taken from the basic language files but as soon as i remove the name there it replaces it with a name from a diferent language.

So i need to find the string that links towards those so i can eighther change or remove it.

is there anyone here that can show me where to find it? or is there someone that can fix it for me?

I am not realy big on coding and i'm not getting anyreal help from the trollers in the general forum section.

thx in advance

Bob_Gneu
12-12-2007, 08:18 PM
Short story is as follows:

you are going to have to get into the coding as thats going to be something that you will need to subclass and overwrite. I dont think that there is going to be a quick light switch style update to get your output to look like that. My first suggestion is to jump into the code and look for the localized string for that formatting. if you could let me know what that is i would probably be able to help you out.

Cheers

[209]
12-12-2007, 08:39 PM
well the file with the naming content is utgame.int

next part has the static values used for the message

[UTVictimMessage]
YouWereKilledBy="You were killed by"
KilledByTrailer="!"
OrbSuicideString="You decided to be a hero."
RunOverString="(Hit and Run)"
SpiderMineString="(Spider Mine)"
ScorpionKamikazeString="(Scorpion Self Destruct)"
ViperKamikazeString="(Viper Self Destruct)"

the name inbetween "(" and ")" (can't remember the english word for those)
is taken from
[UTWeap_Translocator]
ItemName=Translocator <------------------------ here this is the same for all the weapons (when changed these change in game as well)
PickupMessage="Translocator"

they all have little headers starting with [UTWeap_ (i assume these are used for locating and using the right item name

as for a string i'm afraid i wasn't able to find it in this file any suggestions on where i could find the code refering to this info?

[209]
12-13-2007, 04:16 AM
bump anyone?

[209]
12-15-2007, 11:03 AM
anyone? i'm kind of stuck atm :S

agentq_71
12-15-2007, 10:51 PM
Looking at the code, I don't think you're going to be able to do this unless you create your own gametype.