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 »vehicle teleportation help

Author Topic: vehicle teleportation help (3 messages, Page 1 of 1)
Moderators: Dennis

nihao123456ftw
Joined: Mar 24, 2012


Posted: Mar 24, 2012 07:36 AM    Msg. 1 of 3       
Ok so with the map i'm making im going to need warthog teleporters and i'm having a bit of trouble. i've set everything up right, and everything works fine, except when my hog teleports it gets stuck in the teleporter and i can't even move, nothing happens when i press W not even the tires move. I've tried using vehicle_hover yh6 false but that didnt work, and then i tried repositioning the teleport flag a bit higher (and now my hog seems to get stuck in nothing; same problem but the hog is square in the middle of the teleporter and it sttill didn't work), but it does work after i type cheat_teleport_to_camera. I tried looking at how Coldsnap's warthog teleporters work but i'm not quite sure how they work at all. Any ideas on what I should do?

Here's the script, btw:

(script continuous vehicle_tele
(if
(volume_test_object rht yh5)
(object_teleport yh5 bhf)
)
(if
(volume_test_object rht yh6)
(object_teleport yh6 bhf)
)
(if
(volume_test_object rht yh7)
(object_teleport yh7 bhf)
)
(if
(volume_test_object rht yh8)
(object_teleport yh8 bhf)
)
(if
(volume_test_object rht yh9)
(object_teleport yh9 bhf)
)
(if
(volume_test_object rht yh10)
(object_teleport yh10 bhf)
)
(if
(volume_test_object rht yh11)
(object_teleport yh11 bhf)
)
(if
(volume_test_object rht yh12)
(object_teleport yh12 bhf)
)
(if
(volume_test_object rht yh13)
(object_teleport yh13 bhf)
)
(if
(volume_test_object rht yh14)
(object_teleport yh14 bhf)
)
(if
(volume_test_object bht yh5)
(object_teleport yh5 rhf)
)
(if
(volume_test_object bht yh6)
(object_teleport yh6 rhf)
)
(if
(volume_test_object bht yh7)
(object_teleport yh7 rhf)
)
(if
(volume_test_object bht yh8)
(object_teleport yh8 rhf)
)
(if
(volume_test_object bht yh9)
(object_teleport yh9 rhf)
)
(if
(volume_test_object bht yh10)
(object_teleport yh10 rhf)
)
(if
(volume_test_object bht yh11)
(object_teleport yh11 rhf)
)
(if
(volume_test_object bht yh12)
(object_teleport yh12 rhf)
)
(if
(volume_test_object bht yh13)
(object_teleport yh13 rhf)
)
(if
(volume_test_object bht yh14)
(object_teleport yh14 rhf)
)
)
Edited by nihao123456ftw on Mar 24, 2012 at 07:37 AM


kirby_422
Joined: Jan 22, 2006

Apparently public enemy number 1?


Posted: Mar 24, 2012 11:20 AM    Msg. 2 of 3       
So, your teleporting one vehicle directly into another teleporter?.. you don't want to do that. Its going to see that the teleporting conditions are met, and teleport it back. It gets back inside the other teleporter, sees those conditions are met, and teleport it back, etc. Its best to teleport it a few feet away from the teleporter, but you can also add a sleep_until that waits until they are out of the other teleporter side before checking anyone else going through that teleporter (since its full/not sending same vehicle back and forth)


nihao123456ftw
Joined: Mar 24, 2012


Posted: Mar 26, 2012 04:42 AM    Msg. 3 of 3       
aaa.... didn't think about that... silly me xD

Ok I got it working now. Thanks a lot kirby, btw if anyone needs it:

(script continuous vehicle_tele
(if
(volume_test_object rht yh5)
(begin
(object_teleport yh5 bhf)
(sleep_until
(= (volume_test_object bht yh5) false)
)
)
)
(if
(volume_test_object rht yh6)
(begin
(object_teleport yh6 bhf)
(sleep_until
(= (volume_test_object bht yh6) false)
)
)
)
(if
(volume_test_object rht yh7)
(begin
(object_teleport yh7 bhf)
(sleep_until
(= (volume_test_object bht yh7) false)
)
)
)
(if
(volume_test_object rht yh8)
(begin
(object_teleport yh8 bhf)
(sleep_until
(= (volume_test_object bht yh8) false)
)
)
)
(if
(volume_test_object rht yh9)
(begin
(object_teleport yh9 bhf)
(sleep_until
(= (volume_test_object bht yh9) false)
)
)
)
(if
(volume_test_object rht yh10)
(begin
(object_teleport yh10 bhf)
(sleep_until
(= (volume_test_object bht yh10) false)
)
)
)
(if
(volume_test_object rht yh11)
(begin
(object_teleport yh11 bhf)
(sleep_until
(= (volume_test_object bht yh11) false)
)
)
)
(if
(volume_test_object rht yh12)
(begin
(object_teleport yh12 bhf)
(sleep_until
(= (volume_test_object bht yh12) false)
)
)
)
(if
(volume_test_object rht yh13)
(begin
(object_teleport yh13 bhf)
(sleep_until
(= (volume_test_object bht yh13) false)
)
)
)
(if
(volume_test_object rht yh14)
(begin
(object_teleport yh14 bhf)
(sleep_until
(= (volume_test_object bht yh14) false)
)
)
)
(if
(volume_test_object bht yh5)
(begin
(object_teleport yh5 rhf)
(sleep_until
(= (volume_test_object rht yh5) false)
)
)
)
(if
(volume_test_object bht yh6)
(begin
(object_teleport yh6 rhf)
(sleep_until
(= (volume_test_object rht yh6) false)
)
)
)
(if
(volume_test_object bht yh7)
(begin
(object_teleport yh7 rhf)
(sleep_until
(= (volume_test_object rht yh7) false)
)
)
)
(if
(volume_test_object bht yh8)
(begin
(object_teleport yh8 rhf)
(sleep_until
(= (volume_test_object rht yh8) false)
)
)
)
(if
(volume_test_object bht yh9)
(begin
(object_teleport yh9 rhf)
(sleep_until
(= (volume_test_object rht yh9) false)
)
)
)
(if
(volume_test_object bht yh10)
(begin
(object_teleport yh10 rhf)
(sleep_until
(= (volume_test_object rht yh10) false)
)
)
)
(if
(volume_test_object bht yh11)
(begin
(object_teleport yh11 rhf)
(sleep_until
(= (volume_test_object rht yh11) false)
)
)
)
(if
(volume_test_object bht yh12)
(begin
(object_teleport yh12 rhf)
(sleep_until
(= (volume_test_object rht yh12) false)
)
)
)
(if
(volume_test_object bht yh13)
(begin
(object_teleport yh13 rhf)
(sleep_until
(= (volume_test_object rht yh13) false)
)
)
)
(if
(volume_test_object bht yh14)
(begin
(object_teleport yh14 rhf)
(sleep_until
(= (volume_test_object rht yh14) false)
)
)
)
)

Edited by nihao123456ftw on Mar 27, 2012 at 06:31 AM

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 12:00 PM 141 ms.
A Halo Maps Website