Author Topic: Destinations on board?? Do they need defining?  (Read 1009 times)

Skundilla

  • Guest
Destinations on board?? Do they need defining?
« on: December 21, 2016, 10:38:43 AM »
Hi everyone!

I'm working on a demo for a card-game on LackeyCCG. But I am currently having a few problems:

The layout of a person's side of the table should look like this. (Somewhat; attatched.)

But i keep ending up with the Slots as non-table areas; though they are not a deckzone. and not actually anywhere on the table.

A copy of the plugininfo.txt is below.

Can anyone tell me what's wrong?

Quote
<Plugin>

<globalstat>
   <label>Turn</label>
   <initialvalue>0</initialvalue>
</globalstat>

<playerstat>
   <label>Health</label>
   <initialvalue>10000</initialvalue>
</playerstat>

<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>Arena</label>
     <visibletoowner>yes</visibletoowner>
     <visibletoothers>yes</visibletoothers>
</gamezone>
<gamezone>
      <label>Slot A</label>
     <visibletoowner>yes</visibletoowner>
     <visibletoothers>yes</visibletoothers>
</gamezone>
<gamezone>
      <label>Slot B</label>
     <visibletoowner>yes</visibletoowner>
     <visibletoothers>yes</visibletoothers>
</gamezone>
<gamezone>
      <label>Slot C</label>
     <visibletoowner>yes</visibletoowner>
     <visibletoothers>yes</visibletoothers>
</gamezone>
<gamezone>
      <label>Slot D</label>
     <visibletoowner>yes</visibletoowner>
     <visibletoothers>yes</visibletoothers>
</gamezone>
<gamezone>
      <label>Pile</label>
     <visibletoowner>yes</visibletoowner>
     <visibletoothers>yes</visibletoothers>
</gamezone>
<gamezone>
      <label>Heap</label>
     <visibletoowner>yes</visibletoowner>
     <visibletoothers>yes</visibletoothers>
</gamezone>
<gamezone>
      <label>Out</label>
     <visibletoowner>yes</visibletoowner>
     <visibletoothers>no</visibletoothers>
</gamezone>

<phase>
   <label>Start</label>
</phase>

<phase>
   <label>Ready</label>
</phase>

<phase>
   <label>Battle</label>
</phase>

<phase>
   <label>Action</label>
</phase>

<phase>
   <label>End</label>
</phase>

<generalfunction>
   <label>Roll</label>
   <kind>ROLLD6</kind>
   <includeasbutton>yes</includeasbutton>
</generalfunction>

<generalfunction>
   <Label>Roll D8</Rol D8>
   <Kind>ROLLD8</Kind>
   <Includesabutton>Yes</includesabutton>
</generalfunction>

<generalfunction>
   <label>Slot A->Pile</label>
   <kind>TRANSFERCARD</kind>
   <sourceowner>0</sourceowner>
   <sourcegamezone>Slot A</sourcegamezone>
   <sourceposition>top</sourceposition>
   <destinationowner>Pile</destinationowner>
   <destinationposition>faceup</destinationposition>
</generalfunction>

<generalfunction>
   <label>Arena->Slot A</label>
   <kind>TRANSFERCARD</kind>
   <sourceowner>0</sourceowner>
   <sourcegamezone>Arena</sourcegamezone>
   <sourceposition>top</sourceposition>
   <destinationowner>Slot A</destinationowner>
   <destinationposition>faceup</destinationposition>
</generalfunction>

<generalfunction>
   <label>Slot B->Pile</label>
   <kind>TRANSFERCARD</kind>
   <sourceowner>0</sourceowner>
   <sourcegamezone>Slot A</sourcegamezone>
   <sourceposition>top</sourceposition>
   <destinationowner>Pile</destinationowner>
   <destinationposition>faceup</destinationposition>
</generalfunction>

<generalfunction>
   <label>Arena->Slot B</label>
   <kind>TRANSFERCARD</kind>
   <sourceowner>0</sourceowner>
   <sourcegamezone>Arena</sourcegamezone>
   <sourceposition>top</sourceposition>
   <destinationowner>Slot B</destinationowner>
   <destinationposition>faceup</destinationposition>
</generalfunction>

<generalfunction>
   <label>Slot C->Pile</label>
   <kind>TRANSFERCARD</kind>
   <sourceowner>0</sourceowner>
   <sourcegamezone>Slot A</sourcegamezone>
   <sourceposition>top</sourceposition>
   <destinationowner>Pile</destinationowner>
   <destinationposition>faceup</destinationposition>
</generalfunction>

<generalfunction>
   <label>Arena->Slot C</label>
   <kind>TRANSFERCARD</kind>
   <sourceowner>0</sourceowner>
   <sourcegamezone>Arena</sourcegamezone>
   <sourceposition>top</sourceposition>
   <destinationowner>Slot C</destinationowner>
   <destinationposition>faceup</destinationposition>
</generalfunction>

<generalfunction>
   <label>Slot D->Pile</label>
   <kind>TRANSFERCARD</kind>
   <sourceowner>0</sourceowner>
   <sourcegamezone>Slot A</sourcegamezone>
   <sourceposition>top</sourceposition>
   <destinationowner>Pile</destinationowner>
   <destinationposition>faceup</destinationposition>
</generalfunction>

<generalfunction>
   <label>Arena->Slot D</label>
   <kind>TRANSFERCARD</kind>
   <sourceowner>0</sourceowner>
   <sourcegamezone>Arena</sourcegamezone>
   <sourceposition>top</sourceposition>
   <destinationowner>Slot D</destinationowner>
   <destinationposition>faceup</destinationposition>
</generalfunction>

<generalfunction>
   <label>Spawn Card</label>
   <kind>SPAWNCARD</kind>
    <includesabutton>yes</includesabutton>
</generalfunction>

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

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

<generalfunction>
   <label>Previous Turn</label>
   <kind>PEREVIOUSTURN</kind>
   <includesabutton>yes</includesabutton>
</generalfunction>

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

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

<generalfunction>
   <label>Deplete Deck</label>
   <kind>TRANSFERCARD</kind>
   <sourceowner>performer</sourceowner>
   <sourcegamezone>Deck</sourcegamezone>
   <sourceposition>top</sourceposition>
   <destinationowner>performer</destinationowner>
   <destinationgamezone>Heap</destinationgamezone>
   <destinationposition>top</destinationposition>
   <includeasbutton>yes</includeasbutton>
</generalfunction>

<cardfunction>
   <label>+100 Power #</label>
   <Kind>ADDCOUNTER</Kind>
   <textoverimagecolor>00E5EE</textoverimagecolor>
   <PositionX> EDIT THIS </PositionX>
   <PositionY> EDIT THIS </PositionY>
</Cardfunction>

<cardfunction>
   <label>+50 Power #</label>
   <Kind>ADDCOUNTER</Kind>
   <textoverimagecolor>34DDDD</textoverimagecolor>
   <PositionX> EDIT THIS </PositionX>
   <PositionY> EDIT THIS </PositionY>
</Cardfunction>

<Cardfunction>
   <label>+1 D#</label>
   <kind>ADDCOUNTER</kind>
   <textoverimagecolor>FF00FF</textoverimagecolor>
   <PositionX> EDIT THIS </PositionX>
   <PositionY> EDIT THIS </PositionY>
</Cardfunction>

<Cardfunction>
   <label>Charge</label>
   <kind>ADDCOUNTER</kind>
   <textoverimagecolor>FFD700</textoverimagecolor>
   <PositionX> EDIT THIS </PositionX>
   <PositionY> EDIT THIS </PositionY>
</Cardfunction>

<Cardfunction>
   <label>-100 Power #</label>
   <kind>ADDCOUNTER</kind>
   <textoverimagecolor>00A86B</textoverimagecolor>
   <PositionX> EDIT THIS </PositionX>
   <PositionY> EDIT THIS </PositionY>
</Cardfunction>

<Cardfunction>
   <label>-50 Power #</label>
   <kind>ADDCOUNTER</kind>
   <textoverimagecolor>32CD32</textoverimagecolor>
   <PositionX> EDIT THIS </PositionX>
   <PositionY> EDIT THIS </PositionY>
</Cardfunction>

<Cardfunction>
   <label>-1 D#</label>
   <kind>ADDCOUNTER</kind>
   <textoverimagecolor>FF69B4</textoverimagecolor>
   <PositionX> EDIT THIS </PositionX>
   <PositionY> EDIT THIS </PositionY>
</Cardfunction>

<Cardfunction>
   <label>Stunned</label>
   <kind>ADDCOUNTER</kind>
   <textoverimagecolor>FF69B4</textoverimagecolor>
   <PositionX> EDIT THIS </PositionX>
   <PositionY> EDIT THIS </PositionY>
</Cardfunction>

<Cardfunction>
   <label>Burning</label>
   <kind>ADDCOUNTER</kind>
   <textoverimagecolor>Red</textoverimagecolor>
   <PositionX> EDIT THIS </PositionX>
   <PositionY> EDIT THIS </PositionY>
</Cardfunction>

<Cardfunction>
   <label>Poisoned</label>
   <kind>ADDCOUNTER</kind>
   <textoverimagecolor>Purple</textoverimagecolor>
   <PositionX> EDIT THIS </PositionX>
   <PositionY> EDIT THIS </PositionY>
</Cardfunction>

<Cardfunction>
   <label>Sticky</label>
   <kind>ADDCOUNTER</kind>
   <textoverimagecolor>Magenta</textoverimagecolor>
   <PositionX> EDIT THIS </PositionX>
   <PositionY> EDIT THIS </PositionY>
</Cardfunction>

<Cardfunction>
    <label>Clear</label>
   <kind>CLEARCARD</kind>
</Cardfunction>

<Cardfunction>
   <Label>Turn Over>
   <Kind>TURNOVER</Kind>
</Cardfunction>

<Defenition>
   <Kind>TABLEITEMSCALE</Kind>
   <Value>40</Value>
</Defenition>

<Defenition>
   <Kind>NUMDIGITINSTAT</Kind>
   <Value>8</Value>
</Defenition>

</Plugin>

MasterJediAdam

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
Re: Destinations on board?? Do they need defining?
« Reply #1 on: December 29, 2016, 08:50:04 PM »
two things

- the last two "definitions" are misspelled.

- when I built the Star Wars LCG plugin, I built it one section at a time, adding one thing at a time until it all worked. This is a fairly complex plugin, and I would suggest something similar.