LackeyCCG

LackeyCCG Forum => Plugins & Plugin Creation Forum => Topic started by: Grendel on June 01, 2013, 03:11:44 PM

Title: noob
Post by: Grendel on June 01, 2013, 03:11:44 PM
Hello, my name is Jason and I love this place. I'm trying to make a plugin for Spellfire and I cant get it to open so I can see what it looks like. I even tried the <plugin></plugin> in new folder called zombie and I cant get that to open either. I can find the folders when I click the "Browse installed plugins to load one..." button but choose is not an option. Any help would be greatly appreciated.
Title: Re: noob
Post by: Grendel on June 02, 2013, 05:22:26 PM
I'm putting my plugininfo.txt file here so you can let me know what is wrong. I don't know how to make this load so I can see what it looks like. I hope one of you can figure it out. Thanks for your help.

<plugin>
<pluginversion>1.0</pluginversion>

<pluginname>spellfire</pluginname>

<deckzone>
   <label>Deck</label>
   <gamezonetoloadto>Deck</gamezonetoloadto>
   <shuffle>yes</shuffle>
</deckzone>

<gamezone>
   <label>Hand</label>
   <visibletoowner>yes</visibletoowner>
   <visibletoothers>no</visibletoothers>
</gamezone>

<gamezone>
   <label>Deck</label>
   <visibletoowner>no</visibletoowner>
   <visibletoothers>no</visibletoothers>
</gamezone>

<gamezone>
   <label>Discard</label>
   <visibletoowner>yes</visibletoowner>
   <visibletoothers>yes</visibletoothers>
</gamezone>

<gamezone>
   <label>Abyss</label>
   <visibletoowner>yes</visibletoowner>
   <visibletoothers>yes</visibletoothers>
</gamezone>

<gamezone>
   <label>Void</label>
   <visibletoowner>yes</visibletoowner>
   <visibletoothers>yes</visibletoothers>
</gamezone>

<phase><label>Step 0</label></phase>
<phase><label>Step 1</label></phase>
<phase><label>Step 2</label></phase>
<phase><label>Step 3</label></phase>
<phase><label>Step 4</label></phase>
<phase><label>Step 5</label></phase>
<phase><label>Step 6</label></phase>

<generalfunction>
   <label>Draw</label>
   <kind>DRAWCARD</kind>
   <includeasbutton>yes</includeasbutton>
</generalfunction>

<generalfunction>
   <label>Draw to Table</label>
   <kind>DRAWCARDTOTABLE</kind>
   <includeasbutton>yes</includeasbutton>
</generalfunction>

<generalfunction>
   <label>Previous Phase</label>
   <kind>PREVIOUSPHASE</kind>
   <includeasbutton>yes</includeasbutton>
</generalfunction>

<generalfunction>
   <label>Next Phase</label>
   <kind>NEXTPHASE</kind>
   <includeasbutton>yes</includeasbutton>
</generalfunction>

<generalfunction>
   <label>Previous Turn</label>
   <kind>PREVIOUSTURN</kind>
   <includeasbutton>yes</includeasbutton>
</generalfunction>

<generalfunction>
   <label>Next Turn</label>
   <kind>NEXTTURN</kind>
   <includeasbutton>yes</includeasbutton>
</generalfunction>

<generalfunction>
   <label>Deplete Discard Pile</label>
   <kind>TRANSFERCARD</kind>
   <sourceowner>performer</sourceowner>
   <sourcegamezone>Discard</sourcegamezone>
   <sourceposition>top</sourceposition>
   <destinationowner>table</destinationowner>
   <destinationposition>faceup</destinationposition>
</generalfunction>

<generalfunction>
   <label>Deplete Hand</label>
   <kind>TRANSFERCARD</kind>
   <sourceowner>performer</sourceowner>
   <sourcegamezone>Hand</sourcegamezone>
   <sourceposition>top</sourceposition>
   <destinationowner>table</destinationowner>
   <destinationposition>faceup</destinationposition>
   <includeasbutton>yes</includeasbutton>
</generalfunction>

<generalfunction>
   <label>Deplete Abyss</label>
   <kind>TRANSFERCARD</kind>
   <sourceowner>performer</sourceowner>
   <sourcegamezone>Abyss</sourcegamezone>
   <sourceposition>top</sourceposition>
   <destinationowner>table</destinationowner>
   <destinationposition>faceup</destinationposition>
</generalfunction>

<generalfunction>
   <label>Deplete Void</label>
   <kind>TRANSFERCARD</kind>
   <sourceowner>performer</sourceowner>
   <sourcegamezone>Void</sourcegamezone>
   <sourceposition>top</sourceposition>
   <destinationowner>table</destinationowner>
   <destinationposition>faceup</destinationposition>
</generalfunction>

<generalfunction>
   <label>Deplete Hand</label>
   <kind>TRANSFERCARD</kind>
   <sourceowner>performer</sourceowner>
   <sourcegamezone>Hand</sourcegamezone>
   <sourceposition>top</sourceposition>
   <destinationowner>table</destinationowner>
   <destinationposition>facedown</destinationposition>
   <includeasbutton>no</includeasbutton>
</generalfunction>

<cardfunction>
   <label>Turn Over</label>
   <kind>TURNOVER</kind>
   <includeasbutton>yes</includeasbutton>
</cardfunction>

<cardfunction>
   <label>Turn 270</label>
   <kind>MAKERIGHT270DEGREES</kind>
   <includeasbutton>yes</includeasbutton>
</cardfunction>

<cardfunction>
   <label>Take Control</label>
   <kind>CHANGEOWNER</kind>
   <includeasbutton>no</includeasbutton>
</cardfunction>

<definition>
   <kind>ISYOURFACEDOWNVISIBLE</kind>
</definition>

</plugin>
Title: Re: noob
Post by: Grendel on June 03, 2013, 11:48:43 AM
I found some great advice from Trevor earlier on the forum. Start with something that works and then make it your own. I grabbed the magic plugin and I'm slowly replacing it with all Spellfire info. It is working but I feel a little like the Borg.
Title: Re: noob
Post by: MLaRF on June 03, 2013, 03:02:34 PM
I found that despite it being listed, I couldn't actually open my plugin until I made a cardback or spawned image, so you might wanna try that.
But yeah, the working from another plugin option works as well.
Title: Re: noob
Post by: Grendel on June 03, 2013, 04:03:02 PM
Thank you so much, I'll do that right now.
Title: Re: noob
Post by: Grendel on June 03, 2013, 04:10:29 PM
It worked, you are a genius. Now I just have to figure out why my images aren't showing up in the deck editor or at the table top.