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"

Transfer a customized character between levels for an RPG?

Imagine you have the following levels:

  • level_character_creator: A map with a single room where you customize your character, changing morphs, facial and body type features.

  • level_tutorial: A map where you learn the basics of the game while acquiring some basic gear and items.

  • level_mainland: A map to explore, level up & acquire new items.

  • level_dungeon: A dungeon to explore, level up & acquire new items.

How does this customized character, with all their newly acquired gear and leveled up stats persist among these levels?

Should I:

a. Save the changes to a save file then apply them to a new base actor in the new level?

b. Save the actor into gameInstance, is that even possible? The goal is to avoid re-creating the actor and re-applying all the customization.

c. Use a persistent level to store the customized character actor in which all the newly acquired, gear, stats and level ups never get destroyed, then just teleport the character between levels? (Level Streaming)

Think Dragon Age Origins, transferring characters between levels. Do you re-create them or do the assets always exist and persist in memory? What is the correct way to do this? What would the Unreal Engine devs recommend? I'm designing a single player RPG and looking for the proper methodology for this, thank you!

Product Version: UE 4.18
more ▼

asked Nov 12 '17 at 08:18 AM in Blueprint Scripting

avatar image

0 12 19 79

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

2 answers: sort voted first

I have this issue also

more ▼

answered Dec 03 '17 at 12:01 AM

avatar image

56 2 4 10

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

Hi LuzariusLive, You should use the Game Instance class to retain your character across levels. but you will need to save the character to preserve them between game sessions. With a single player RPG, you would be storing a lot of info in your game instance, possibly ignoring your gamestate to a degree, for example "opened chests" would be tracked across the entire game not just the level as would quest data.

This live stream on Game Framework sounds like it might clarify some questions. link text

more ▼

answered Dec 03 '17 at 02:47 AM

avatar image

406 1 6 8

(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