x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How can I make my player reconnect to another server automatically when I get to a certain trigger bounds/volume?

When my character gets up to the kill zone, where physics and precision issues happen, instead of killing me I would like it to transfer me to another server, running the same map and resuming my position from there to continue.

Would this be feasible and practical? I mean, how long would switching servers and loading the next part of the map take? If its happening alot since the play area is small for this engine and I have fast vehicles in multiplayer?

I'm trying to use this method as a way to make a huge pretty much infinite multiplayer world, since rebasing and origin shifting doesnt work with multiplayer without custom networking (because players are spread out and not all in the same area). I figure its the next best thing, I'm sure there are some games that use it such as guild wars with 'zones'.

I guess I will have to re position my whole map for each server, for a sort of "manual origin placement", but I'm not sure how I can tell a trigger volume to reconnect the character to another server. Would it be something simple like when you touch the volume a blueprint dialogue comes up that says "would you like to warp to whatever zone" and when you hit yes it just runs a console command "connect server ip / map" ?

Product Version: Not Selected
Tags:
more ▼

asked Jul 26 '14 at 03:19 AM in Blueprint Scripting

avatar image

CyberDev
73 10 18 23

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Just a thought, you could do the following:

1) to go to another server when you hit the zone

void ClientTravel(const FString& URL, enum ETravelType TravelType, bool bSeamless = false, FGuid MapPackageGuid = FGuid());

2) To start into the same area that you left off, you would need to keep your maps origin common to the level. You can send the positon as an option in the "URL". Another idea would be to have landmarks or sub volumes that linkup from map to map.

Just some ideas. :)

more ▼

answered Jul 27 '14 at 10:48 PM

avatar image

Devero
2.3k 114 62 233

avatar image CyberDev Jul 31 '14 at 03:02 PM

Thanks very much for the answer I will try this now, do you know if there is any way I can pre load another map or do something so the map switching and server switching time is minimal and cut to a fraction so it seems more seamless if your driving in a fast vehicle for example alot of loading screens might get annoying pretty quick

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question