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. 

Two controller over the same level (RTS/FPS mix)

Hello everyone,

I want to perform the following.

Two players, one with an FPS view, that control an avatar, the other with RTS type view, that can spawn actors around the FPS player.

I'm trying to use multiplayer features for this (Server is RTS, client is FPS) but from what I understood, we can't use different GameMode for the same level...

Is it possible to reallocate controllers and pawn after level startups?

Thank you! Dex

Product Version: UE 4.10
Tags:
more ▼

asked May 06 '16 at 11:01 AM in Using UE4

avatar image

dexluce
1 1 3 6

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

2 answers: sort voted first

Make your controller and camera stuff not in controller but in pawn, switch pawns when this is required.

Some functionality can be packaged to components, which also can used in different time.

more ▼

answered May 06 '16 at 11:15 AM

avatar image

CriErr
1.2k 57 21 56

avatar image dexluce May 06 '16 at 02:12 PM

Okey, so I tried this. The server can take control over both pawn, it's working for him.

But the client is not working. I'm still in "Ghost" mode with it.

Any idea? Thank you

Dex

alt text

select pawn.png (168.5 kB)
avatar image CriErr May 06 '16 at 02:38 PM

Player index 0 is local player controller with index 0. On server is first player who connected.

avatar image dexluce May 06 '16 at 02:58 PM

I tried to change "player index" to 1 but no changes.

avatar image CriErr May 07 '16 at 12:44 AM

specify controller by using on post login.

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

Okey so I had something runing. I made a GameMode for the FPS side. So the server start as FPS, and I switch to RTS mode.

Thanks, Dex

alt text

select pawn.png (166.7 kB)
more ▼

answered May 06 '16 at 03:13 PM

avatar image

dexluce
1 1 3 6

(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