A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »how to teleport in many location

Author Topic: how to teleport in many location (3 messages, Page 1 of 1)
Moderators: Dennis

Joined: Oct 17, 2017

Posted: Oct 17, 2017 09:58 PM    Msg. 1 of 3       
when i join a server i always see that when u jump on a health kit u will teleport on a cliff
i was wondering how to do that in my server
plizzzzzzzzzzzzz if any one could help me i would appreciate that

Joined: Jun 27, 2009

Fools deceive, but knowledge of Jesus is life.

Posted: Oct 31, 2017 02:51 PM    Msg. 2 of 3       
You want to do this without modifying the map file.


Add an area name for each health pack you want. Go in the map and walk to where you want to place a teleporter entrance, then get your ID using




Then, if your ID were 1, type this command in the console:

coord 1

This will give you an X, Y, and Z of your location.

Add a spherical area at that location:

area_add_sphere <name of location> <x> <y> <z> <radius>

Raise the Z by 1.4 so it's off the ground and set the radius to 0.3. If that doesn't work, test some other values.

While you're standing there, do:

loc_add <name of location>

Which will add the location of player ID 1 to the locations.txt file.

Add specific locations for exits, using loc_add after reaching the exit location in-game.

Now you have the location and the general area recorded. Use the location to spawn a health pack at that spot every 30 seconds or so. Use the area to trigger when a player is nearby. Raise the Z coordinate or lower the radius of the area if you need to make it more precise for jumping.

If you use SAPP to spawn a health pack eqip, it will vanish soon. You would want to execute this SAPP command about every 30 seconds using a timer() function in a SAPP Lua script:

spawn eqip "powerups\health pack" <location name> <rotation>

In the same script, or in events.txt, add something for event_aenter:

event_aenter $area:<area name> 't $n <location name>'

That way, when you enter the spherical area, you will be teleported to the named location.

Joined: Oct 17, 2017

Posted: Nov 22, 2017 03:27 AM    Msg. 3 of 3       
thanks very much man it helped alot when i created my server on lan and online


Previous Older Thread    Next newer Thread

Time: Sat October 20, 2018 8:39 PM 234 ms.
A Halo Maps Website