News:

A forum for users of LackeyCCG

Main Menu

battle spirits plugin issue

Started by guari, August 10, 2017, 06:06:01 AM

Previous topic - Next topic

guari

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.

guari

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!

xdarkgeox

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.

guari

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://
Where should i upload my card images ?i tried dropbox but it didn't work.

xdarkgeox

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.

guari

ok thx so much! it's really a great help this coming from you! :D

MasterJediAdam

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.