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"

Multiplayer; Character portrait frame

Hi everyone

This is my first time asking a question here so I apologize in beforehand in case I misplace this question or structure my question incorrectly.

I'm currently working on a multiplayer RPG and need some guidance. Below is my current progress shown:

alt text

To my question: I'm struggling to make a widget that shows my current targets portrait i.e. typical interface in any RPG or MMORPG. I've attempted plenty of different solutions but can't wrap my head around a suitable approach. Most recently I placed a custom pawn "ImagePawn" with no movement only a skeletal mesh and a scene capture 2d component.

The capture component was rendering to a target connected to a material that was later shown in the viewport. The ImagePawn changed his skeletal mesh to the mesh of the calling pawn and captured an image. This approach worked in the sense of adding a player image to the viewport but I can't seem to grasp how to get a workable solution for a multiplayer game.

The maximum number of players in my game will be 10. Do I create 10 render targets and 10 materials and assign them to each player when the game starts?

My idea when I started working on this target image system:

  • All players capture an image of themselves when the game starts and store it as a replicated variable.

  • Whenever something changes such as a player equip a new helm the capture function fires and updates the variable.

  • So when player B targets player A it simply just shows the up-to-date stored image/material/.... of player A.

    TL;DR

How do I go about making a player/target portrait image in a multiplayer game that needs to be up-to-date with any changes to the character during gameplay i.e. a target frame in games like World of Warcraft.

I'm grateful for any hints or references where I can read-up to get a better understanding of similar issues

Have a great weekend!

//Max

Product Version: UE 4.18
Tags:
more ▼

asked Jan 26 '18 at 04:19 PM in Blueprint Scripting

avatar image

maxam123
1 1

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

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