Kill on location.
Moderator: Moderators
Kill on location.
I am currently make mods for the stock maps and I know a lot of ways to get behind or under the map. I have been trying to script it so if you go on the spot it kills you, but I know I'm not doing it right at all. I have no idea on how to do it so if someone could help me I would appreciate it. 
Now I have another problem
. I am trying to make it so when a person tried to get to the spot where it kills them, it will make them say something and a game message will come up and say someting. I got the game message to work, but the player doesn't say the text. Here's my script:
local.killbrush = spawn trigger_hurt "targetname" "oob1"
local.killbrush damage 100
local.killbrush.origin = ( xxx xxx xxx)
local.killbrush setsize ( xxx xxx xxx) ( xxx xxx xxx)
local.killbrush setthread kill
kill:
local.player stufftext "say I JUST TRIED TO GET BEHIND/UNDER THE MAP. PLEASE HAVE AN ADMIN BAN ME!"
iprintln "A PLAYER WAS JUST BEHIND/UNDER THE MAP AND SHOULD BE BANNED!"
end
ah, i assume you're using MOH:AA and not SH or BT. in AA the trigger_hurt's don't work as they're suppsoed to, in any other version they do. ty making that a trigger_multiple and have the parm.other kill line in there before the print's. 
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
well maybe try volumedamage 9000 (hopefully it'll kill right off). so try this...
it might work....
it's worth a try.
Code: Select all
local.killbrush = spawn trigger_multiple "targetname" "oob1"
local.killbrush damage 100
local.killbrush.origin = ( xxx xxx xxx)
local.killbrush setsize ( xxx xxx xxx) ( xxx xxx xxx)
local.killbrush setthread kill
kill:
parm.other volumedamage 10000
local.player stufftext "say I JUST TRIED TO GET BEHIND/UNDER THE MAP. PLEASE HAVE AN ADMIN BAN ME!"
iprintln "A PLAYER WAS JUST BEHIND/UNDER THE MAP AND SHOULD BE BANNED!"
end
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
local.killbrush = spawn trigger_hurt "targetname" "oob1"
local.killbrush damage 100
local.killbrush.origin = ( xxx xxx xxx)
local.killbrush setsize ( xxx xxx xxx) ( xxx xxx xxx)
local.killbrush setthread kill
kill:
local.player=parm.other
local.player stufftext "say I JUST TRIED TO GET BEHIND/UNDER THE MAP. PLEASE HAVE AN ADMIN BAN ME!"
iprintln "A PLAYER WAS JUST BEHIND/UNDER THE MAP AND SHOULD BE BANNED!"
local.player kill
end
local.killbrush damage 100
local.killbrush.origin = ( xxx xxx xxx)
local.killbrush setsize ( xxx xxx xxx) ( xxx xxx xxx)
local.killbrush setthread kill
kill:
local.player=parm.other
local.player stufftext "say I JUST TRIED TO GET BEHIND/UNDER THE MAP. PLEASE HAVE AN ADMIN BAN ME!"
iprintln "A PLAYER WAS JUST BEHIND/UNDER THE MAP AND SHOULD BE BANNED!"
local.player kill
end
Also guys, could you help me with my plane bomb? I know you looked at it lizard, but i don't think you saw my reply. I would appreciate it a lot if you helped me. Here's the link:
viewtopic.php?t=8308
viewtopic.php?t=8308
Yeah you would be able to go under the map in spectator or in the game and go to one corner, get the coords, and then go to the opposite corner and get those coords. The only problem with that (may not be true on all maps) is that there could be a legit point on the map thats lower or just as low as the coords you get so you may die on a legit part of the map
.
this script for the hunt map , i add in the script this ligne for kill player under the map!! i have modified the hunt I added grain elevator but the etant problem which one passes below the map if one is made trample by the cases!
but when one passes below one does not die! why?
but when one passes below one does not die! why?
Code: Select all
//////////////////////////
level waittill spawn
//////////////////////////
local.killbrush = spawn trigger_hurt "targetname" "oob1"
local.killbrush damage 100
local.killbrush.origin = ( -560 -1752.79 -511.88 )
local.killbrush setsize ( 9999 9999 -511.88 ) ( -9999 -9999 0 )
local.killbrush setthread kill
kill:
local.player=parm.other
local.player stufftext "say I JUST TRIED TO GET BEHIND/UNDER THE MAP. PLEASE HAVE AN ADMIN BAN ME!"
iprintln "A PLAYER WAS JUST BEHIND/UNDER THE MAP AND SHOULD BE BANNED!"
local.player kill
end