Good old trigger hurt in Quake - deal out 666 damage :P

Michael Shimmins
Sesechial Software

Phone: +613 9504 3665
Fax:     +613 9504 3488
Mobile: 0407 643 414
_______________________________________________________
Important - This email and any attachments may be confidential. If received
in error, please contact us and delete all copies. Before opening or using
attachments, check them for viruses and defects. Regardless of any loss,
damage or consequence, whether caused by the negligence of the sender or
not, resulting directly or indirectly from the use of any attached files our
liability is limited to resupplying any affected attachments. Any
representations or opinions expressed are those of the individual sender,
and not necessarily those of Sesechial Software.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tony "omega"
Sergi
Sent: Friday, 29 August 2003 7:52 AM
To: [EMAIL PROTECTED]

If you can do all that.. wouldn't it be easier to like, call TakeDamage on
the player at like 300 damage? ;p


-omega
Blackened Interactive - http://www.blackened-interactive.com
Omega Wing - http://owing.blackened-interactive.com
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of voogru
Sent: August 28, 2003 4:02 PM
To: [EMAIL PROTECTED]

I have a kinda h4xy way to do it, but this is how I do damage:

Change the health on the player, detect when the value of the players health
+ damage will be below 0, when it is, spawn a trigger_hurt, make it do like
40 damage, force the player to touch it, then kill it.

Now, that will work, but you will notice the deathmsg will show that they
killed themelf, so block the original deathmsg and replace it with your own.

Dont forget the log line as well.

- voogru.


----- Original Message -----
From: "Admin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 28, 2003 3:43 PM
Subject: [hlcoders] Looking for a good way to kill players


> I am working on a server side mod to add some new weapons to CS. I am
> having some difficulties finding a good way to kill a player.
>
> If I use pfnClientKill() the kill gets logged as a suicide in place of a
> player on player kill.
>
> Alternatively I have tried sending Damage, Death, and Health messages;
> setting the players health to zero. None of these seem to trigger the
> logging of a kill and ending of a round.
>
> Anyone have any suggestions of what to try to get the server to log a
> player on player kill?
>
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
>


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders




_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to