Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Nodixal on January 28, 2015, 11:48:08 AM

Title: Hey guys, new here. Question about a TCG like card editor.
Post by: Nodixal on January 28, 2015, 11:48:08 AM
I've been fiddling with playmaker for the past 2 weeks and been doing amazing things with it! Good job on making this :). I'm wondering though, I've never dabbled in data fetching before.

So far i've been using Datamaker to fetch the data from an XML for particular card stats i need. But I've been working on a card editor in the game. Think Magic The Gathering, Cost, Attack Value, Defense Value etc. And was wondering how I could use that editor to write data in that said XML file. Or should I use Arraymaker to make something like that? Which I wouldn't be sure how to use in the first place haha.

Thanks!
Title: Re: Hey guys, new here. Question about a TCG like card editor.
Post by: Lane on January 28, 2015, 11:49:53 AM
Not sure how much data you're working with here but I've been pretty happy with GoogleFu.

http://www.cleverous.com/#!Using-Databases-XML-Localization/c22x/BE177F99-B555-4669-B9D3-55AD04482B2B
Title: Re: Hey guys, new here. Question about a TCG like card editor.
Post by: Nodixal on January 28, 2015, 01:49:00 PM
Not sure how much data you're working with here but I've been pretty happy with GoogleFu.

http://www.cleverous.com/#!Using-Databases-XML-Localization/c22x/BE177F99-B555-4669-B9D3-55AD04482B2B

thanks for the fast reply Lane! I just bought GoogleFu and after following the documentation, all is well except that after pushing export to gameobject and generate playmaker actions, it doesn't add any GoogleFu in my action browser. Any idea?
Title: Re: Hey guys, new here. Question about a TCG like card editor.
Post by: Lane on January 28, 2015, 01:51:41 PM
Look for " ID ". I think it names them kinda unusually, they're stored under the GoogleFu folder you specified the actions to be stored in.

Kind of weird the first time or two, but easier to use once you get in a routine and know what to expect.
Title: Re: Hey guys, new here. Question about a TCG like card editor.
Post by: Nodixal on January 28, 2015, 02:04:12 PM
In the GoogleFuGen (kept default) folder, i have absolutely no files at all in any of the 5 database type folder. And even if I tell it to specify a gameobject before export, it doesn't generate any script or anything.

i attached a photo of what the spreadsheet looks like.
Title: Re: Hey guys, new here. Question about a TCG like card editor.
Post by: Lane on January 28, 2015, 02:09:31 PM
Have you checked out the Documentation yet? It's pretty thorough and straightforward in explaining how things work.

http://www.litteratus.net/GoogleFuDocumentation.pdf
Title: Re: Hey guys, new here. Question about a TCG like card editor.
Post by: Nodixal on January 28, 2015, 02:10:53 PM
Yeah, step by step haha. I'm hooked up to my worksheet and everything. Just the export does nothing.
Title: Re: Hey guys, new here. Question about a TCG like card editor.
Post by: Lane on January 28, 2015, 02:12:13 PM
You're using the GameObject database type, right?
Title: Re: Hey guys, new here. Question about a TCG like card editor.
Post by: Nodixal on January 28, 2015, 02:15:45 PM
Yeah, and I've hit generate playmaker actions. Also tried to use use first row as value types but that didn't change anything. And also tried using to specify a gameobject.
Title: Re: Hey guys, new here. Question about a TCG like card editor.
Post by: Lane on January 28, 2015, 02:21:05 PM
Well, as long as you specify the folder to put the actions in then you should get some Playmaker actions named after your Worksheet.

If that isn't happening maybe there are errors and its not finishing it. You should see a GoogleFu category in the Action Browser if it completes.
Title: Re: Hey guys, new here. Question about a TCG like card editor.
Post by: Nodixal on January 28, 2015, 02:25:54 PM
Yeah no, I did that. I just tried in a brand new scene to redo all the steps. still nothing. The folder i specified gets created. but no files get created in it or anything. And i don't see anything for googlefu in my action browser =/
Title: Re: Hey guys, new here. Question about a TCG like card editor.
Post by: Nodixal on January 28, 2015, 03:47:15 PM
The issue was how the spreadsheet was formatted.

Thanks for the help dude!