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 do I save tuned gameplay data from the editor in a way that can be stored?

Hi, I am currently tuning a bunch of values for the gameplay 'feel' of the pawn in my game directly through the object details in the editor. Is there a way to 'get' those values into a some kind of format that I can read from code? Or at least a text file/csv file?

And since I'm on the subject, is there documentation on using a csv file to load values into objects in the game at runtime?


Product Version: UE 4.7
more ▼

asked May 31 '15 at 08:40 PM in C++ Programming

avatar image

242 17 27 36

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

1 answer: sort voted first

Config variables should work for this situation.

You decorate your class and variables with the Config specifier and Unreal will load these values at construction time. Please note that you need to call SaveConfig() on the class before these values are saved to the file (in order to load them at the next startup).

Also, if you want to go the text file route, you could always use Json - I've posted some details about that here.

more ▼

answered Jun 02 '15 at 08:26 AM

avatar image

2.6k 95 41 111

avatar image DanaFo Jun 02 '15 at 09:43 PM

Great! I'll check that info out, thank you!

(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