Playmaker Forum

PlayMaker Feedback => Feature Requests => Topic started by: mariam on February 22, 2014, 02:47:22 PM

Title: Action Requests : Reading-info-from-text-file-and-loading-3d-models-using-it
Post by: mariam on February 22, 2014, 02:47:22 PM
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.
Title: Re: Action Requests : Reading-info-from-text-file-and-loading-3d-models-using-it
Post by: jeanfabre on February 24, 2014, 07:19:18 AM
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
Title: Re: Action Requests : Reading-info-from-text-file-and-loading-3d-models-using-it
Post by: Sjones on April 26, 2014, 06:49:39 AM
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.