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 »hidden teleporter question

Author Topic: hidden teleporter question (4 messages, Page 1 of 1)
Moderators: Dennis

delta49
Joined: Jan 23, 2007

I don't always make shaders..


Posted: Feb 28, 2008 04:37 PM    Msg. 1 of 4       
teleporters are already hidden, the base and sheild are just scenery letting the player know where the tele is. its not done by scripts, in sapien go to Netgame Flags, place a pair of teleporters, change the index for different pairs


corndogman939
Joined: Apr 6, 2007

Using the same avatar since 2007


Posted: Feb 28, 2008 04:49 PM    Msg. 2 of 4       
i don't think theres a way to only have them in certain gametypes. to add teleporters you add it as a netgame flag in sapien. the actual teleporter object is just scenery. the place where you teleport is a netgame flag. you can just place the flag somewhere without the scenery and it makes an "invisible" teleporter. but i dont know anyways to put for certain gametypes only without scripting. i dont know much about scripting though...


Donut
Joined: Sep 30, 2006

I swear I'm not actually dead


Posted: Feb 28, 2008 05:09 PM    Msg. 3 of 4       
you can spawn gametype specific scenery over them i think


killer kiwi
Joined: Feb 10, 2007

live and let die


Posted: Feb 28, 2008 05:59 PM    Msg. 4 of 4       
ok this is easy

in sapain you have to set up a trigger voulme named "secret-tele-entry" and then set up a flag called "secret-tele-exit" nad a vehicle called "secret-tele-test" this vehicle is set to the game type of oddball only.

secret-tele-entry is where you wont to teleport from
secret-tele-exit is where you wont to teleport to
secret-tele-test this is a vehicle that is only used to check game type at the start of the game so just set it up as if you wont to use it in game

here is the script
(global short player 0)
(global short can-teleport 1)

(script startup check-tele
(begin
(sleep 200)
(if (= (unit_get_health secret-tele-test) 1)
(begin
(set can-teleport 0)
)
)
)
)



(script continuous secret-tele
(begin
(if
(and
(= (volume_test_object secret-tele-entry (list_get (players) player)) true)
(= can-teleport 1)
)
(begin
(object_teleport (list_get (players) player) secret-tele-exit)
)
)
(set player (+ player 1))
(if (= (> player 15) true)
(begin
(set player 0)
)
)
)
)


this scrit still has a wee bug in it and that is that it dosent play the teteport sound when player get teleported but that should be easy to do
Edited by killer kiwi on Feb 28, 2008 at 06:08 PM

 

 
Previous Older Thread    Next newer Thread







Time: Sat January 21, 2023 5:24 AM 141 ms.
A Halo Maps Website