CCG Toolkit | Multiplayer Card Game Framework

Hey Deftones4!

You can call “Set Card Halo” on a ViewCard widget reference and pass in a select on rarity like seen below. First thing you will simply need to jump into the SetCardData function in the view card widget and save the returned card data reference to a variable.

Once you have this setup, you can simply call the following to set the halo colour of the card.

You may find the halo being removed or change at some stages of the game, this will likely be the card manager setting the halo colour when cards are selectable. Feel free to remove/disable this to keep the cards in the card manager/card widget to keep the effect for your cards.

Hope this helps!

Where exactly would i place the second picture would it be in the Card Widget Event Graph or would it be in the View Card default Set Card Data and place it at the end ? Cheers thanks for all your help

More then happy to help! This would come down to where and when you want the halo to be displayed.

A couple of examples: - If you want the cards to always display the halo for their rarity in the players hand, and in the deck builder, and on the card previews etc, then this can be done in the View Card widget’s SetCardData function when it loads and sets all the data to be displayed.

  • If you only want the cards rarity to only be displayed on cards in the players hand, regardless of whether they can be played on the board or not, then the Card Widget’s Set Card Data function would be the best place to have this called.

Hopefully this clears up the confusion!

UE4.20 Support has been added and released on the Marketplace!

This update removes the requirement for “Use Mouse for Touch” project option to be set and includes modified Drag-Drop functionality for playing cards from the players hand. This was done to fix a number of limitations/issues in this latest engine release and add additional customisation options for users.

For any bugs with the update or any questions about upgrading existing projects, feel free to send a support email to [EMAIL=“”].

Enjoy!

Sorry to be a massive pain in the ■■■ i cant seem to get it work not matter what i try my last attempt was this if i try it other ways im getting nothing but errors its messing with my head ha ha could you please help cheers thanks again for all your help

Were you able to find where the card manager was setting the card highlight? Just to see if this is the issue, in the Card Widget find the “Highlight Card” event in the graph and disconnect this from being called.

The only other reason I see this failing would be If the card struct is empty (default setting). Feel free to share some screenshots of both where your setting the struct and where you want to set the highlight colour if it changes.

I think you may be right every time i have a card highlighted it sets itself as default i think i have set it up correctly any ideas ? Thanks again for your help

Hey!

I bought this toolkit during last spring and haven´t had the time to check it out til now. But after I´ve created a project from it I cannot open it, it freezes at 45%. This happens on both 4.19 and 4.20 version of the engine/toolkit.
Anyone have a similiar experience? Any ideas on how to fix?
Cheers!

Edit: Nvm, it was simply to let the editor stand there and work for a few minutes. All is working now, disregard this message.

I’m looking to implement something of a non-standard card game. there are multiple decks on the field, and the individual fights between creatures have their own turn structure. I’m debating on how much I’d need to modify the game structure vs how hard it would be to implement cards from scratch. I know this asset has easily customizable cards, but how customizable is the actual game framework?

Hey Conchors!

The game framework portion of the toolkit is also fully customisable (includes full source BP code) and can be modified to fit your examples. The features you mentioned would be mainly adding functionality to the Game Mode/State and adding support to the Card Game Player Controller to handle custom turn states and picking up cards from centralised decks.

I would say both options would need the same features to be built, but the toolkit would definitely give you an a headstart and an existing framework to build upon, or at the very least a good reference for how you could build your own framework if you wanted to go down that path.

Hope this helps!

That was exactly the kind of info I needed. My friend and I are definitely using this for our project, at least as a reference, if not as a whole. Thank you

Hi there, I just bought the toolkit a couple of days ago and have been trying to mess around with adding my own card classes and types, and I can’t for the life of me figure out what I’m doing wrong. I added the classes to the CardClass_Enum and it’s now a selectable option in my data table, and I went through the filter stuff and tied in my pins in the blueprints for those, but when I change one of the basic cards (Medic in this case) to be one of my new classes, it disappears from the library/deck editor. It still exists in the deck and is playable in the game itself, but it’s hidden in the editor. Can you give me any kind of insight as to what I might be missing here?

Hey jellostairway!

This would likely be due to the filters in the Card library.

If you open up the DeckBuilder widget, open the “Collect Card Library” function. Inside this you will see a large function called "Filter Included Cards"with a bunch of bools going into it. Detach this from the event flow and be sure to pass the execution flow and Names array to the following code.

By doing this, you can essentially by pass the filters to show all available cards until you want to spend some time added support for your new card types.

Hope this helps!

Hi,
I tried for the first time using 4.19.x and all i see when I’m not playing is a black editor. I saw that 4.16 is listed as a supported version so I installed that and my screen is still black.
-edit-
Is this because the main menu is the open level in the viewport when you create a project? :slight_smile:

Hey Laserbeak43,

You are correcto! the toolkit will start up in the main menu “level”. If you play in editor, you will be greeted with the main menu and the ability to start a new multiplayer game, view and create your own decks, and/or vs an AI opponent to see what your getting.

The toolkit supports up to UE4.20 (UE4.21 is coming soon), so let me know if you have any other issues or questions.

Im the Owner of a TCG, and im wondering, buying this can i adapt it for my card game? What i mean is can i put my cards my board and everything?

Im really looking foward to take my Card game to the next level.

Thanks !

Hello, I’m trying to work on the bonus for the deck creation section but cannot identify what it is i’m being instructed to edit :slight_smile:

@Laserbeak43 Hi Lazerbeak!
Once you open the window that has the card manager tab in it, the top right corner of the screen show “Designer” & “Graph”
Click on the graph and thats the first part of the 3rd step.
Then you will see a bunch of blueprints there. If you click on the tab that says “Card Position Editor” it will show you two big columns of blueprints.
​​​​​​​The top of the right most column is what the documentation is referring too.

​​​​

Hey CorpseQ, You can fully customize the toolkit to meet the needs of your game. Out of the box you will be able to create your own boards/arenas, play cards, build some custom cards, create custom decks and vs an AI opponent and more things to get the ball rolling.

If you have any specific features or questions feel free to ask here or via the support email!

​​​​​​​

Thanks for jumping in @ScaryDoorStudios!

@Laserbeak43 ScaryDoorStudios is correct. You will find the graph section just above the functions section on the left panel in the blueprint editor.

Let me know if you are not seeing this on your end and ill send a screenshot to help!

good day ****]([PB Field of View Zoom - Community & Industry Discussion - Epic Developer Community Forums) I have as of last night purchased your ccg toolkit, and have a couple of questions regarding features.

will there be added a ingame tutorial for players to learn the rules of the game made with it?. like a 3-5 stage tutorial editor etc.
is there away to have victory rewards system put in place by you also, like new cards or currency to purchase cards ingame?. ((gold or silver etc)
and how about micro transactions for card packs things like that?.
and a questing system, like do this random action each day to win various rewards?.

I look forwards to working with this toolkit and await replies to my questions thanks a lot for your time.