View Full Version : How do I make head shots show up with console comments in SW
imported_DesuMacchi
01-11-2004, 03:01 PM
Like when someone gets a headshot I want my console to say
Blah Blah has just pierced through BlahBlah's forhead...
that knida thing
ANyhelp would be appreciated.
or when you bash someone with your gun a saying for that too...
A listof all varibles would help us noobs out with SW alot
imported_Enforcer
01-11-2004, 05:34 PM
Hi,
some posts in the majorkillingforce.com maybe helps.
http://www.majorkillingforce.com/php/modules.php?name=Forums&file=viewtopic&t=625&highlight=variables
http://www.majorkillingforce.com/php/modules.php?name=Forums&file=viewtopic&t=338&highlight=data
Basically you have to setup an console message event.
That should be based on a kill event.
Now you have to filter the headshots only and that must be done with a right regexp at the description field.
What is a regexp ?
http://www.majorkillingforce.com/php/modules.php?name=Forums&file=viewtopic&t=634&start=0&postdays=0&postorder=asc&highlight=case
http://www.majorkillingforce.com/php/modules.php?name=Forums&file=viewtopic&t=781&highlight=regexp
I hope it helps and i hope you can understand that i dont have the time to explain it extra for every case.
Good Luck
Beltic
01-12-2004, 11:01 PM
Man, i hate sounding like im beating a dead horse, but those links dont help me.
I guess what Im really after is a bit more detail on how to setup a KILL EVENT. ive posted in another tread, and on majorkillinforce.com threads, but no answers yet.
I can get the player name and weapon, but how do i get the "kill zone" or "hitbox" location to show?
forgive me for being ignorant here, i just dont get it.
My config has a kilzone setup of like.. but how to use???
Kill Zone/ Filter
Left Foot / left_foot$
Parrot
01-13-2004, 09:46 AM
stop buy our server 64.21.15.105 sometime.
If this is what you want to do, I could help set it up. I only run serverwatch in the afternoon/evening hours (eastern USA) when the server is busy.
Beltic
01-13-2004, 09:48 AM
Thanks Parrott - ill do that.
Cobra
01-13-2004, 06:47 PM
Man, i hate sounding like im beating a dead horse, but those links dont help me.
I guess what Im really after is a bit more detail on how to setup a KILL EVENT. ive posted in another tread, and on majorkillinforce.com threads, but no answers yet.
I can get the player name and weapon, but how do i get the "kill zone" or "hitbox" location to show?
forgive me for being ignorant here, i just dont get it.
My config has a kilzone setup of like.. but how to use???
Kill Zone/ Filter
Left Foot / left_foot$
Well i am working on this help file...
So it might be that you can understand how i made the message i show in this page.....
http://home.online.no/%7Epeevjen/sw-pages/consolemessagesevent/consolemessageevent.htm
Beltic
01-14-2004, 08:02 AM
OK, I Think i understand now.
First, you have to create a KillZone to get SW to monitor for that string.
Second, create a msg event based on that string (not the variable you define in killzone.)
I have one working for snipers, but, when tring to setup the one you show in your help file - it will not work. Ill keep at it,
Thanks for ALL help! You and Enforcer are doing a GREAT JOB!
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.