CCG Toolkit | Multiplayer Card Game Framework

Hey M1nsDev,

Apologies for the late response.

There isn’t a single helper function to do this, but the deck builder has an example on how this can be done. You could easily setup a function library and a custom function that will hold a list of all the active card sets(data tables). From this you can loop through each of the data tables and get the all the row names from the array. You can then append all of the results from each of the sets to give you the full list of cards you want to loot from. This will also allow you to add additional filters for cards or sets you want to include/not include and all the rest.

Hey Rolento,

  1. To add player triggered abilities, you will need to add an additional input you want to use. This could be a simple mouse input or mouse input to display some custom UI for the card. You could then have this input call to the server and trigger an ability based on a custom ability trigger when this input is pressed. This will tie into the current system without to many additions/changes.

  2. The current system doesnt allow for dynamic conditions, a system would need to be built to fully support this. However this could be done by having two abilities, One triggered when it enters the field, another when the card leaves the field. The entering ability can loop through all player cards on the board, and this can modify one of the card stats based on the ability, the leaving ability (sent to graveyard) cold then do the same but in reverse. Now, this wouldn’t cater for cards being played after it has already been in play, but you could counter this by having an additional trigger or state that can triggers when a card is played on the board.

  3. This would be based on how cards can block the player. The easiest way to do this would be to setup a condition check when the player is attempting it attack the player on interaction. This could be done in the player controller, in the “Run Card Interaction” function or in the “Deal Damage To Player” function.

  4. The animation should be triggered and run on the actor which is playing the anim. So if its a card animation, the 3D Card blueprint would be the best place. If its the receiving player, then the Board Player (or your own custom actor) would work the best.

Hope this helps!
Aaron