LackeyCCG

LackeyCCG Forum => Plugins & Plugin Creation Forum => Topic started by: guari on August 10, 2017, 06:06:01 AM

Title: battle spirits plugin issue
Post by: guari on August 10, 2017, 06:06:01 AM
hi,i'm developing a battle spirits plugin. https://en.wikipedia.org/wiki/Battle_Spirits Battle Spirits is a game based on the core system,which are tokens that are used to pay cost of the cards and to level up cards by putting them on those cards.The problem is that multiple tokens on a card are piled on and the number is signed by a counter,when i want them to be separated.Ex. I add a core on spirit that has already one core and instead of increasing the counter from 1 to 2,it actually create another single token.is this feature present on lackeyccg?how can i achieve it?
i also want to implement this feature in the start.txt.
thx in advance.
Title: Re: battle spirits plugin issue
Post by: guari on December 24, 2017, 05:38:50 PM
up
hi,i'd like to know where i should upload card links and where to i should upload all the plugin infos.
Thx in advance,hope that this doesn't bother you :)
Happy Holidays!
Title: Re: battle spirits plugin issue
Post by: xdarkgeox on December 25, 2017, 04:48:18 PM
Not sure what you getting at, do you want many tokens types or counter types implemented in the game. To where to upload everything for your plugin, you should upload everything to github or dropbox since thoose sites gives you direct links.
Title: Re: battle spirits plugin issue
Post by: guari on December 26, 2017, 06:53:41 AM
i want many counter types.
i want counters that aren't piled but shown singularly.
Here's an example of how counters should be and their properties:
http://(https://s10.postimg.org/jgt7tuprd/maxresdefault1.jpg) (https://postimages.org/)
Where should i upload my card images ?i tried dropbox but it didn't work.
Title: Re: battle spirits plugin issue
Post by: xdarkgeox on December 26, 2017, 10:44:28 AM
ok to add many counter types you can make it so many counters are shown in many colors in different locations of the card. You can edit the plugininfo.txt of your plugin to make it so.

EX:

<cardfunction><label>Function 1</label><kind>ADDCOUNTER</kind><color>green</color><includeasbutton>no</includeasbutton><PositionX>.75</PositionX><PositionY>.04</PositionY></cardfunction>
<cardfunction><label>Function 2</label><kind>ADDCOUNTER</kind><color>red/color><includeasbutton>no</includeasbutton><PositionX>.50</PositionX><PositionY>.04</PositionY></cardfunction>

Remember to add a remove counter function for each counter type added

<cardfunction><label>function</label><kind>REMOVECOUNTERCOLOR</kind><color>red</color><includeasbutton>no</includeasbutton></cardfunction>


If dropbox dont work for you try hosting on github, i manage my Mecha Warriors plugin there and works perfectfully for me https://github.com/xdarkgeox/Mecha_Warriors. For github tho you cant provide a general link so if you working with thousands of cards it is not recommended because you have to provide individual links for each card.
Title: Re: battle spirits plugin issue
Post by: guari on December 26, 2017, 12:44:35 PM
ok thx so much! it's really a great help this coming from you! :D
Title: Re: battle spirits plugin issue
Post by: MasterJediAdam on January 03, 2018, 08:42:16 PM
It is also important to note that if you are not using numbers over the counters, you will not be able to dictate the position of the tokens on the cards.