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
Damage from barbwire
Moderator: Moderators
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.
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.



