Page 1 of 1

Damage from barbwire

Posted: Thu Apr 15, 2004 7:00 pm
by Dave
Not sure if this is a mapping or scripting issue, but here goes....

Have simple map and have put in some barbwire. Have managed to configure this to do damage to the player, but if you're daft enough to let yourself be killed by it the message in MOH comes up mentioning 'cratered'.

Any hints on how I change the kill message that comes up?

Thanks
Dave

[S.E.C.S]=Bobby_Bad_Boy
www.secs-clan.co.uk

Posted: Thu Apr 15, 2004 7:14 pm
by Yarik
I think there is a way to do it by making a localization. But Other then that I guess you will have to wait for our elite scripters to come in and take over the topic. Sorry if I didnt help much.

Posted: Thu Apr 15, 2004 10:19 pm
by blue60007
Localization is one way , also I think using a message/value for the trigger would do it only if it kills you instantly...

Posted: Thu Apr 15, 2004 10:45 pm
by crunch
Von and I used this simple little script that he wrote to hurt a the player when running into barbed wire.
The death message is "You killed yourself" and in red, "[name of player] died"

barbwire:
//called by trig_multis in bsp.
//Goal inflicting damage to players who run into the barbwire
local.poorboy = parm.other
local.poorboy damage local.poorboy 5 local.poorboy (0 0 0) (0 0 0) (0 0 0) 1 9 0 0
end





This takes 5 health every second, so dead in 20 seconds if staying in contact.

Posted: Sun Apr 18, 2004 6:56 pm
by Dave
Great, thanks for the quick replies.

Dave

Posted: Sun Apr 18, 2004 9:55 pm
by bdbodger
if you do local.poorboy hurt 5 I think it just says "died"