playMaker

Author Topic: Action Requests : Reading-info-from-text-file-and-loading-3d-models-using-it  (Read 3048 times)

mariam

  • Playmaker Newbie
  • *
  • Posts: 1
I want to inquire if this is even possible in palymaker http://forum.unity3d.com/threads/60795-reading-info-from-text-file-and-loading-3d-models-using-it like Unity3d

Want to do something like:
1:split your text content per line and put it in an array:
2: go through each line and split it using "=", put the first item as a key and the second as value in a hastable.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Hi,

 Yes, use ArrayMaker for this. it has a function "splitTextToArrayList".

https://hutonggames.fogbugz.com/default.asp?W715

then you will end up with each lines. and to further dissect it, you woul dneed some custom actions tho...

 I'll see if I have time to do that this week, as it would be useful indeed.

bye,

 Jean

 Jean

Sjones

  • Full Member
  • ***
  • Posts: 203
Take a look at this http://starscenesoftware.com/objreader.html I think I may have an unfinished action for this in playmaker, have not touched it in several months but the get/set action will probably be helpful here.

while it only supports .obj format its a far more popular format than .3ds (that I am gathering you wanted as the link you posted referenced .3ds file format) and any 3d modeling program that can open a .3ds should easily export it to .obj format.