News:

A forum for users of LackeyCCG

Main Menu

Can't Choose My Plugin

Started by NostalgiaX, August 16, 2011, 05:29:35 PM

Previous topic - Next topic

NostalgiaX

Okay. I'm trying to create my own card game using Lackey (hooray for me!) But for some reason, I can't load my plugin.

Here's the plugininfo.txt

<plugin>

<playerstat>

<label>Health</label>
<initialvalue>500</initialvalue>

</playerstat>

<deckzone>

<label>Deck</label>
<shuffle>yes</shuffle>

</deckzone>

<gamezone>

<label>Hand</label>
<visibletoowner>yes</visibletoowner>

</gamezone>

<gamezone>

<label>Deck</label>

</gamezone>

<gamezone>

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

</gamezone>

<gamezone>

<label>Removed</label>
<visibletoowner>yes</visibletoowner>
<visibletoothers>yes</visibletoothers>

</gamezone>

<gamezone>

<label>Extra1</label>
<visibletoowner>yes</visibletoowner>
<visibletoothers>yes</visibletoothers>

</gamezone>

<gamezone>

<label>Extra2</label>
<visibletoowner>yes</visibletoowner>
<visibletoothers>yes</visibletoothers>

</gamezone>

<phase><label>Draw Phase</label></phase>
<phase><label>Standby Phase</label></phase>
<phase><label>Main Phase</label></phase>
<phase><label>Battle Phase: Start</label></phase>
<phase><label>Battle Phase: Assault</label></phase>
<phase><label>Battle Phase: Defense</label></phase>
<phase><label>End Phase</label></phase>

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

<generalfunction>
<label>Flip Coin</label>
<kind>FLIPCOIN</kind>
<includeasbutton>yes</includeasbutton>
</generalfunction>

<generalfunction>
<label>Roll</label>
<kind>ROLLD6</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>Send to TOP of Discard</label>
<kind>TRANSFERCARD</kind>
<destinationgamezone>Discard</label>
</generalfunction>

<generalfunction>
<label>Send to BOTTOM of Discard</label>
<kind>TRANSFERCARD</kind>
<destinationgamezone>Discard</label>
<destinationposition>bottom</destinationposition>
</generalfunction>

<generalfunction>
<label>Send to TOP of Removed</label>
<kind>TRANSFERCARD</kind>
<destinationgamezone>Discard</label>
</generalfunction>

<generalfunction>
<label>Send to BOTTOM of Removed</label>
<kind>TRANSFERCARD</kind>
<destinationgamezone>Removed</label>
<destinationposition>bottom</destinationposition>
</generalfunction>

<generalfunction>
<label>Send to TOP of Extra1</label>
<kind>TRANSFERCARD</kind>
<destinationgamezone>Extra1</label>
</generalfunction>

<generalfunction>
<label>Send to BOTTOM of Extra1</label>
<kind>TRANSFERCARD</kind>
<destinationgamezone>Extra1</label>
<destinationposition>bottom</destinationposition>
</generalfunction>

<generalfunction>
<label>Send to TOP of Extra2</label>
<kind>TRANSFERCARD</kind>
<destinationgamezone>Extra1</label>
</generalfunction>

<generalfunction>
<label>Send to BOTTOM of Extra2</label>
<kind>TRANSFERCARD</kind>
<destinationgamezone>Extra1</label>
<destinationposition>bottom</destinationposition>
</generalfunction>

<cardfunction>
<label>Edit Note</label>
<kind>EDITNOTE</kind>
<PositionX>.4</PositionX><PositionY>.95</PositionY>
</cardfunction>

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

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

<cardfunction>
<label>Add HP</label>
<kind>ADDCOUNTER</kind>
<color>green</color>
<PositionX>.1</PositionX>
<PositionY>.95</PositionY>
<includeasbutton>yes</includeasbutton>
</cardfunction>

<cardfunction>
<label>Decrease HP</label>
<kind>REMOVECOUNTER</kind>
<color>green</color>
<includeasbutton>yes</includeasbutton>
</cardfunction>

<cardfunction>
<label>Add PWR</label>
<kind>ADDCOUNTER</kind>
<color>Red</color>
<PositionX>.1</PositionX>
<PositionY>.95</PositionY>
<includeasbutton>yes</includeasbutton>
</cardfunction>

<cardfunction>
<label>Decrease PWR</label>
<kind>REMOVECOUNTER</kind>
<color>Red</color>
<includeasbutton>yes</includeasbutton>
</cardfunction>

<cardfunction>
<label>Add Counter</label>
<kind>ADDCOUNTER</kind>
<color>White</color>
<PositionX>.1</PositionX>
<PositionY>.95</PositionY>
<includeasbutton>yes</includeasbutton>
</cardfunction>

<cardfunction>
<label>Decrease Counter</label>
<kind>REMOVECOUNTER</kind>
<color>White</color>
<includeasbutton>yes</includeasbutton>
</cardfunction>

<cardfunction>
<label>Clear</label>
<kind>CLEARCARD</kind>
</cardfunction>

</plugin>


And this is what I get... a faded-out Choose button.


Am I missing something or forgetting to do something?

Tbiesty

I've seen that before as well.

Looks like the "Choose" button under "Browse Installed Plugins" is only enabled if you have the sets/setimages/general/cardback.jpg image set in your plugin.  However, if you just type in the name of your plugin in the "Load Installed Plugin" textbox, then it loads successfully for me.

NostalgiaX

Ah! There we go. It works now. Thanks, Tbiesty. :)