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 can I set a custom character blueprint to each client

I have created a variety of character blueprints, I would like to know how I could set each one to a number of client. so for example, I would like a blue one to be player 1 and a red one to be player 2 and so forth.

Any help on how to do this would be fantastic, thank you.

Product Version: Not Selected
Tags:
more ▼

asked Aug 01 '14 at 02:34 PM in Blueprint Scripting

avatar image

Virtuosic Kitty
94 14 16 19

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

1 answer: sort voted first

Then manually spawn them and make player controller of each possess them

more ▼

answered Aug 01 '14 at 02:46 PM

avatar image

Shadowriver
34.6k 917 164 1095

avatar image Virtuosic Kitty Aug 01 '14 at 02:56 PM

how do I do such a thing, I don't understand what you mean by 'Manually Spawn them' and I cant seem to find the current player controller blueprint to edit it anyway

avatar image Shadowriver Aug 01 '14 at 03:37 PM

In GameMode class on PostLogin event spawn (with Spawn Actor node, tha wha i mean by manual, not use thing build in player controllers) the character (which depends on number of player controllers that are not spectator right? you can use Switch node or Select node), PostLogin even outputs Player controller of joined player, use it to make that controller possess the character with "Possesses" node. And there you go :) on player join new character will be spawned and be possessed by controller and you can decide which character class is spawned with you selection circuit which i hope you can figure out.

avatar image Virtuosic Kitty Aug 02 '14 at 04:44 PM

I'll play around with this method and see how it goes! :) and will get back to you later or tomorrow to let you know! if i need anymore more help :D

avatar image Rengee Aug 07 '14 at 10:36 AM

Hey,

I've been following what you said and have successfully got each client spawning as the correct (and different) pawns now, however when moving any of the pawns on any client the movement isn't replicated on the server or any other client, however the servers pawn does update on all the clients when moving, have you got any advice on where i could be going wrong or missing?

avatar image Shadowriver Aug 07 '14 at 10:40 AM

Do player controller possessess pawn? Also check defult settnings of controller and pawn

avatar image Giinyiz Dec 01 '14 at 07:25 PM

I think I have them spawning now, but how do i get them to spawn at specific player starts?

(comments are locked)
10|2000 characters needed characters left
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