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"

Where should i store the user data, like Username, Characters etc?

Hello, where should i store all my player data like Username, created Characters etc.? This game will be multiplayer.

I need 1. Something to store all the data. (Character, Instance, Playerstate, Gamestate, GameSave? 2. Pawn? For example a car, storing a separate Inventory and car parts. 3. Character? To walk around on car meetings using the Inventory of the current car(Pawn?). (Not like GTA5 etc, it will be a racing game where you can walk around for example on certain maps, like in your garage).

I made now a Starting Map with "Username" "Password" input boxes. Now i need to store this data after clicking "Login", i make it now simple. When a user named like this doesn't exist, just create one and set the password for it. If the username already exists, check for the password. I'm mainly a web developer and i get my thinking from PHP.

I tried this: alt text

Product Version: UE 4.20
Tags:
test.png (208.5 kB)
more ▼

asked Sep 12 '18 at 07:25 PM in Blueprint Scripting

avatar image

G1K777
36 3 4 11

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

1 answer: sort voted first

It's totally up to you. Just remember that for networked multiplayer you will likely need the replicatableness of GameState to extend anything all players' devices need to be aware of, and keep what doesnt need to be shared in the GameMode and GameInstance. And if you need a playercontroller to share info to all devices you should put that info into its Playerstate instead. Pawns shoyld replicate just fine but remember when they die their info dies with them so only the controller and state ifo survives to the respawn.

more ▼

answered Sep 14 '18 at 03:00 PM

avatar image

mightyenigma
3.8k 18 20 20

(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