playMaker

Author Topic: Read external file with Unity2018/Playmaker1.9  (Read 950 times)

WabbysLand

  • Playmaker Newbie
  • *
  • Posts: 21
    • View Profile
Read external file with Unity2018/Playmaker1.9
« on: November 19, 2018, 04:57:03 AM »
Hello

My goal is to put all the texts (label of buttons, dialogues ...) of my game in an external file (I do not know the format .CSV, JSON, XML ...) in order to anticipate the future locations of my game ( and stored in different files).

After reading this file, I suppose I will put the texts in different Arrays (string).

How can I handle this with Playmaker?

I first discovered the ReadCSV action, but it seems to be designed for an older version of Unity.

Note: I have the Easy Save plugin and I did not need the DataMaker addon until now (and I would like to use as few external addon as possible)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15316
  • Official Playmaker Support
    • View Profile
Re: Read external file with Unity2018/Playmaker1.9
« Reply #1 on: November 20, 2018, 11:18:14 PM »
Hi,

If you want to use as few addons as possible, then you'll have to code this yourself.

EasySave ( 2 and 3) is the way to go I think, and it's very well integrated and supported both by the author and me for ArrayMaker.

saving json or xml or csv, is a matter of saving and loading a string, so nothing complex here, EasySave will also do the job very well.

Bye,

 Jean

WabbysLand

  • Playmaker Newbie
  • *
  • Posts: 21
    • View Profile
Re: Read external file with Unity2018/Playmaker1.9
« Reply #2 on: November 22, 2018, 01:58:23 AM »
Hello and thank you Jean,

I Don't know what I will use because I found Nothing with EasySave and first of all, I Don't want to code so maybe I will have to get an asset like L2 Internationalization (which includes Playmaker Actions).

Tell me if I'm wrong but the Playmaker Addon "ArrayMaker" is not for Unity2018/Plamaker 1.9, right?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15316
  • Official Playmaker Support
    • View Profile
Re: Read external file with Unity2018/Playmaker1.9
« Reply #3 on: November 22, 2018, 04:29:45 AM »
Hi,

 yes it is, what makes you think it's not? ArrayMaker works across the board.

 Bye,

 Jean

WabbysLand

  • Playmaker Newbie
  • *
  • Posts: 21
    • View Profile
Re: Read external file with Unity2018/Playmaker1.9
« Reply #4 on: November 22, 2018, 07:59:53 AM »
Because I saw Unity4 or Unity5 tags on the EcoSystem Browser…

That's a good news, I'll try it soon.

Merci Jean ;)

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 5072
    • View Profile
    • jinxtergames
Re: Read external file with Unity2018/Playmaker1.9
« Reply #5 on: November 22, 2018, 02:20:07 PM »
Hi.
The tag indicates minimum supported version :)