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 »Pelican Vehicle Carry Script

Author Topic: Pelican Vehicle Carry Script (5 messages, Page 1 of 1)
Moderators: Dennis

elite051
Joined: Apr 14, 2009

Wow, I really suck at this!


Posted: Nov 19, 2012 02:10 PM    Msg. 1 of 5       
Did we ever get a working script that allowed for Pelicans to carry warthogs, scorpions, etc? I remember the old one which, while technically functional, looked god awful(lagged like hell, fell then jumped back to the dropship repeatedly). Did this ever get improved?


nihao123456ftw
Joined: Mar 24, 2012


Posted: Nov 19, 2012 02:53 PM    Msg. 2 of 5       
the best way to do it is just to do objects_attach on the pelican and the warthog like on Coldsnap.


kirby_422
Joined: Jan 22, 2006

Apparently public enemy number 1?


Posted: Nov 19, 2012 04:42 PM    Msg. 3 of 5       
Well, technically, he never mentioned detaching it after it was attached.. Merely attaching it, clients will stop receiving its location until its detached... It wouldnt lag if it just wasnt syncing.. lol.

Anyways, go do tests ingame, vehicle positions only update every 15 ticks at most. If you have a bad connection, it will be longer. So, minimal half a second delay if you expect the host to tell the clients about where it is.

And if you want the client to determine the location on their own side, the client needs a hook into the vehicle so they can reference it by scripts, since object names do not sync. Anyways, hooking requires opensauce, and people really didnt like testing with me when I was doing hooking tests, so that field has a long way to go before its practical. I do however, have hooking updates that I would like to try some day making use of the client instructing the host in exactly what they need updated.




TL;DR :: Half a second delay unless you use OpenSauce, and work on a scripting method that is in the beginning stages of its testing/development/etc.


game user10
Joined: Dec 9, 2011

Who is the Overseer?


Posted: Nov 23, 2012 02:30 PM    Msg. 4 of 5       
What if the pelican had a seat named "cargo", and the vehicle can enter that? I have done this before.


kirby_422
Joined: Jan 22, 2006

Apparently public enemy number 1?


Posted: Nov 23, 2012 03:10 PM    Msg. 5 of 5       
Anything being inside a seat doesnt sync. They have to enter on each PC, or have the clients join when the thing is already in the seat. So, if you want it to enter on every PC, you'll need OS with hooking still.

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 12:22 AM 141 ms.
A Halo Maps Website