
TheNix009
Joined: Jul 14, 2011
|
Posted: Aug 18, 2011 02:58 PM
Msg. 1 of 8
I have a map in progress, when I test, falling on one side does not kill, only slips and falls without a scratch, because it happened that, there is a way that a certain place and die?
Thank you very much for your help
|
|
|

Muscl3r
Joined: May 22, 2010
dont pray 4 easy lives...pray to be STRONGER MEN
|
Posted: Aug 19, 2011 05:19 AM
Msg. 2 of 8
umm....
|
|
|

TheNix009
Joined: Jul 14, 2011
|
Posted: Aug 20, 2011 01:22 PM
Msg. 3 of 8
Quote: --- Original message by: Tiel Falling down sloped surfaces and taking minimal damage is a Halo glitch. I think you should use a kill barrier to ensure player death :D As I put the barrier?
|
|
|

TheNix009
Joined: Jul 14, 2011
|
Posted: Aug 20, 2011 08:22 PM
Msg. 4 of 8
Quote: --- Original message by: Juiceb0xhero just script a trigger volume so when the player hits it he dies automatically I can spend a tutorial about it, is that you put the script
|
|
|

TheNix009
Joined: Jul 14, 2011
|
Posted: Aug 21, 2011 01:25 PM
Msg. 5 of 8
Quote: --- Original message by: Juiceb0xhero Ok place a trigger volume where you want to put the death barrier, then name it death1 or something, and then compile this script:
(script continuous barrier (sleep_until (volume_test_objects death1 (players)) 15) (unit_get_health (unit (list_get (players) 0))) 0.00) (sleep 30) (game_revert) ) Yea i never tested this script so let me know if you get an error. Served in multiplayer maps?
|
|
|

SlappyThePirate
Joined: Aug 24, 2009
You are irritating, I'll release nothing
|
Posted: Aug 21, 2011 02:16 PM
Msg. 6 of 8
(global short plyrnum 0) (global unit playercurrent (unit (list_get (players) plyrnum)) ) (script continuous increment (begin (set plyrnum (+ plyrnum 1)) ) (if (= (> plyrnum 15) true) (begin (set plyrnum 0) ) ) (set playercurrent (unit (list_get (players) plyrnum)) ) ) (script continuous OutOfBounds (if (volume_test_object DEATH playercurrent) (unit_kill playercurrent) ) ) Basically just name the trigger DEATH. Or whatever. If you need several barriers, add more ifs like so (script continuous OutOfBounds (if (volume_test_object DEATH1 playercurrent) (unit_kill playercurrent) )
(if (volume_test_object DEATH2 playercurrent) (unit_kill playercurrent) )
(if (volume_test_object DEATH3 playercurrent) (unit_kill playercurrent) )
)
|
|
|

TheNix009
Joined: Jul 14, 2011
|
Posted: Aug 21, 2011 02:19 PM
Msg. 7 of 8
Quote: --- Original message by: SlappyThePirate(global short plyrnum 0) (global unit playercurrent (unit (list_get (players) plyrnum)) ) (script continuous increment (begin (set plyrnum (+ plyrnum 1)) ) (if (= (> plyrnum 15) true) (begin (set plyrnum 0) ) ) (set playercurrent (unit (list_get (players) plyrnum)) ) ) (script continuous OutOfBounds (if (volume_test_object DEATH playercurrent) (unit_kill playercurrent) ) ) Basically just name the trigger DEATH. Or whatever. If you need several barriers, add more ifs like so (script continuous OutOfBounds (if (volume_test_object DEATH1 playercurrent) (unit_kill playercurrent) )
(if (volume_test_object DEATH2 playercurrent) (unit_kill playercurrent) )
(if (volume_test_object DEATH3 playercurrent) (unit_kill playercurrent) )
)
Can you tell me how to compile and put the scripts?, Not as put
|
|
|

TheNix009
Joined: Jul 14, 2011
|
Posted: Aug 21, 2011 03:10 PM
Msg. 8 of 8
Quote: --- Original message by: Juiceb0xhero Heres a basic tutorial on getting scripts to work: http://hce.halomaps.org/index.cfm?fid=1664 TL;DW 1.Open notepad 2.Copy and paste the script in notepad 3.Save it as Script.hsc and under put all files. 4.Save it in a folder named scripts in your map directory, Example: Data\levels\map_name\scripts 5.Then in sapien click file\ compile scripts, then If it compiles successfully, compile your map in tool and test. Thanks, I've been able to solve the problem.
|
|
|