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 »Using a biped to test to see if it is the surver or not

Author Topic: Using a biped to test to see if it is the surver or not (3 messages, Page 1 of 1)
Moderators: Dennis

killer kiwi
Joined: Feb 10, 2007

live and let die


Posted: Jan 12, 2010 04:00 PM    Msg. 1 of 3       
What i am trying to do is use a biped top test to see if you are the surver or not. I need this to spawn vehicles for all game types including race so i cant just use the version that I made for easy halo scripter v2 as race dosent spawn the check vehicle. So I then tryed to use a biped.

I just cant seem to get it to work!

What i have tryed is to test is

1 to see if the biped is alive. "no joy"
2 to see if the biped is there at all. "no joy"

Any help or just point me in the correct way would be cool and will give credit for the help


chrisk123999
Joined: Aug 10, 2008

=CE= Chris [Captain] [=]


Posted: Jan 12, 2010 07:57 PM    Msg. 2 of 3       
I posted my host checking script on the semi-official WIP thread. Let me see if I can find it...

Edit:

(global boolean is_host false)

(script startup check_host
(object_create_anew host_check)
(sleep 450)
(if (= (volume_test_object host_check_vol host_check) 1)
(set is_host true)
)
)


Here's how to set it up. Make a vehicle, such as a hog and place it on a platform. Put a trigger volume over it so it just barley fits. Here's how it works. Clients will get a duplicate hog that will bounce of the one the server has. The client one will no longer be in the trigger volume and therefore be detected as the client. The host however will have the hog still there and detect itself and the host. You can change the sleep in the script to a shorter time if you need to. Add me on xfire if you need more help.
Edited by chrisk123999 on Jan 12, 2010 at 08:03 PM


killer kiwi
Joined: Feb 10, 2007

live and let die


Posted: Jan 12, 2010 09:23 PM    Msg. 3 of 3       
Thanks for that. I will give it a try and will add you to xfire bit tired at mo so will be tommororand give you the full run down on the prob i have have never come across it befor
Edited by killer kiwi on Jan 12, 2010 at 09:24 PM

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 8:32 AM 187 ms.
A Halo Maps Website