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"

What is the network difference between a character and a pawn ?

Hi.

I did 2 things

  1. I created a new game with a character blueprint then put 2 playerstarts and press play with 1 client and 1 server. result => each player can move in the envirnoment and each player can see the other moving.

  2. I did exactly the same. But I did not make a character blueprint, but a pawn blueprint (with a rotating movement). result => only the server can see the client player moving.

What is the difference between theses classes in terms of networking ?

Product Version: Not Selected
Tags:
more ▼

asked Jul 30 '14 at 05:35 PM in Blueprint Scripting

avatar image

Karton
31 4 7 11

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

1 answer: sort voted first

Welcome to Pawn Networking. Okay, Open up the engine, and look at the ACharacter class. It is network enabled, so is the AVehicle class. Epic has made sure that client prediction, server stuff is done, so you don't have to do it.

However, the Pawn class is not network enabled, meaning you need to do some work. Remember, Epic is a game engine that they use, so Pawn isn't relevant to their commercial games.

So you need to tell the server that the pawn is moving. So in the blue print class, you will check if you own the Pawn. If you do, then you will tell all clients, that I am spinning. That way the Pawn is replicated by default and will spawn on all clients. Because the server said so.

Remember, the Server is the man.

Hope this is helpful, if not, ask questions.

more ▼

answered Mar 29 '16 at 06:33 PM

avatar image

Moynzy
219 19 17 24

(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