Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
rick rawlings

Helo loading in MP when server is not player 1

Recommended Posts

Ok, so in my mission, the chopper waits for my squad to load before taking off just fine, with load and get in waypoints synchronized. This is perfect if I run the mission as a multiplayer misssion with me as the only player. As soon as my buddy joins, when we start the mission, the chopper takes off and waits, then lands again when we reach the "get in" waypoint. Furthermore, when I host the misssion, but he is player 1, the chopper just takes off at the start of the mission and flies off on it's merry way, without even pretending to pick us up.

Questions: 1. Why does it do this?

2. How can I fix it?

Thank you.

Rick

Share this post


Link to post
Share on other sites

Sound's like a tough one to figure out given it's so specific. You may wish to use another method of making the chopper wait. Is the chopper waiting at it's very first WP?

btw, in my testing a load waypoint only tells a group to board it's own vehicles. It has nothing to do with other groups getting into it's vehicles.

Share this post


Link to post
Share on other sites

Heh, thanks for the reply. My buddy and I are in the same group. The chopper starts at it's load waypoint. We start about thirty feet away with a get in waypoint in front of us. I have a "flyinheight 0" init on the chopper so it waits at spawn until we load. This is what happens when I host the game on the internet: (remember, I am the host each time)

1. I am alone with no other human players in my squad: the waypoints work exactly as they should, the chopper waits till we all board and then takes off.

2. I am the lead player and I have 1 human squad buddy: The chopper spools up, takes off to a hover (with the flyinheight 0 init!!!wink_o.gif and then lands when I say "All. board. that. chopper. at. 12 o'clock" We then get in and proceeed normally.

3. Another human player is player #1, I am in the squad: the chopper spools up and takes off, buh-bye.

This happens in all my misssions, so I am sure I am just not doing something right to make it fully M.P. compatible, some kind of locality issue.

As always, thanks for any help!

-Rick

Share this post


Link to post
Share on other sites

Make sure your buddy moves to the Get In WP's position first, since unless you actually move to within the waypoint's proximity it doesn't assign you to the vehicle and thus the chopper doesn't land... however if it is synced the chopper should hover there and wait until you do move to the waypoint, not continue. Either way, I never use simple sync'd WPs to land helicopters for players, it's always better to force them down with the doStop & land commands (and flyInHeight just in case).

Share this post


Link to post
Share on other sites

flyInHeight has a local effect only, which might be why the chopper takes off on a dedicated server? I assume you have the command in the chopper's init line in which case I would have thought it would work?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×