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"

How to setup simple networking scheme in C++

Although I'm a fairly experienced programmer, I'm new to the Unreal Engine and, frankly, I'm a little frustrated with how much the developers push blueprints over C++. All the networking documentation and tutorials point to blueprints, which is fine for casual devs or artists who want to jump into game design without learning any code, but for serious programmers, accustomed to clean, organized code, blueprints are a visual and organizational nightmare.

Preferences aside, I'm trying to set up a very simple network scheme, where the client window is literally a duplicate of the server window, minus UI. I don't need any multiplayer, characters, etc. Just a simple network connection with a shared camera, and of course, created in C++.

By the way, I looked into dozens of sources, including this: https://docs.unrealengine.com/latest/INT/Gameplay/Networking/

but the only C++ I found was here: https://docs.unrealengine.com/latest/INT/Gameplay/Networking/Actors/RPCs/index.html

and here: https://docs.unrealengine.com/latest/INT/Gameplay/Networking/Actors/Properties/index.html

these show a few snippets of code, but they don't give much documentation on their usage. Sorry for hating on blueprints, I know they're Unreal's shiny, new crown jewel, I just don't want to waste my time learning them when 1: I'll never use them anywhere else, and 2: C++ can do most, if not all jobs better and more efficiently. If it comes down to it, I will figure it out through blueprints, but I feel like someone out there must have experience in setting up a network in C++. Any help is appreciated, and thanks in advance!

Product Version: UE 4.8
Tags:
more ▼

asked Aug 12 '15 at 03:16 PM in C++ Programming

avatar image

Jasper_Moore
8 1 4 6

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
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