Heyo, everyone!
So, I've got myself a pretty interesting task today. Effectively, my goal is to set up some sort of card system, where a player can create a deck, have that deck shuffled, and draw a hand during battle from which a card can be selected for use as a skill. This has not surprisingly been very difficult, but I figured I'd come here to see if you guys could brainstorm with me to figure this out.
So I'll get the elephant in the room out of the way first: Irina's Card Game Core would probably make this process much easier, but for whatever reason it's completely up and vanished. Can't purchase it anywhere, and for obvious reasons I don't want to attain it by illegitimate means. Ignoring that, I've heard it's not perfect in some regards, and with my specific goal to set up this deck-skill system, I've figured there could be some other means to do this.
So, my next idea was to use a personal favourite of mine, Equip Battle Skills. Unfortunately, part of my idea here is that the cards would be usable by all party members (I'm even going as far as trying to make a "hand" global to the whole party), so EBS being actor-exclusive won't do us too much good without heavy adjustments. Even if I did reconstruct that plugin to suit our needs, we would still have to figure out that pesky randomness element. So, for now, that'll have to be a pass too.
So I'm thinking Item Core is the way to go. I've gotten REALLY, REALLY close to getting this to work, but sadly so far my efforts aren't fruitful. Here's what I've been trying so far:
-I've got an item type I'm referring to as "Slots". This is how many cards the party can set into their Deck, so it's gonna be a Non-Independent Item, and I've set it up as an upgrader.
-Each "Card" exists as both an item, and a skill. The idea is that once we have all the slots filled, we can run a Common Event at the start of each turn to shuffle any card that is tagged with some kind of "In-Deck" signifier, then after selecting five of them, it puts them into your hand and teaches that skill to the party. Unfortunately, this is basically where I've gotten stuck. For starters, making this "In-deck" tag isn't as easy as I expected. At first, I was thinking each card would be a Variable, so once you "upgraded" it into your Deck, it would increase that Variable by one, telling the game how many of each card is in the deck.
However, I'm having trouble getting these systems to work. For now, I'm just focused on making a deck - You can add a card to your deck, in a way that is easy for the player to see which cards are and aren't in their deck, and in a way that the shuffler can easily skim through which cards are equipped. However, just getting the Upgrade Slot part of my scheme to work hasn't been very fruitful yet. At first I was thinking that the Slot item would be used to upgrade the Card into a "Slotted" state, and then a "Slotted" card could be disassembled back into a non Slotted Card, and a Slot. Unfortunately, from the looks of it the disassembler only lets you select one of these items to get back, not both, so that's a little annoying. There doesn't seem to be any easy way for me to make it so you can only slot a certain number of each card this way either (say you have 45 copies of a card, but can only slot 4). Either way, the UI isn't looking too hot.
So, I'm a little curious if you guys have any ideas on how to proceed with this! If the Irina plugin is actually legally floating around somewhere I haven't checked, I'd appreciate if someone could point me there, too!
So, I've got myself a pretty interesting task today. Effectively, my goal is to set up some sort of card system, where a player can create a deck, have that deck shuffled, and draw a hand during battle from which a card can be selected for use as a skill. This has not surprisingly been very difficult, but I figured I'd come here to see if you guys could brainstorm with me to figure this out.
So I'll get the elephant in the room out of the way first: Irina's Card Game Core would probably make this process much easier, but for whatever reason it's completely up and vanished. Can't purchase it anywhere, and for obvious reasons I don't want to attain it by illegitimate means. Ignoring that, I've heard it's not perfect in some regards, and with my specific goal to set up this deck-skill system, I've figured there could be some other means to do this.
So, my next idea was to use a personal favourite of mine, Equip Battle Skills. Unfortunately, part of my idea here is that the cards would be usable by all party members (I'm even going as far as trying to make a "hand" global to the whole party), so EBS being actor-exclusive won't do us too much good without heavy adjustments. Even if I did reconstruct that plugin to suit our needs, we would still have to figure out that pesky randomness element. So, for now, that'll have to be a pass too.
So I'm thinking Item Core is the way to go. I've gotten REALLY, REALLY close to getting this to work, but sadly so far my efforts aren't fruitful. Here's what I've been trying so far:
-I've got an item type I'm referring to as "Slots". This is how many cards the party can set into their Deck, so it's gonna be a Non-Independent Item, and I've set it up as an upgrader.
-Each "Card" exists as both an item, and a skill. The idea is that once we have all the slots filled, we can run a Common Event at the start of each turn to shuffle any card that is tagged with some kind of "In-Deck" signifier, then after selecting five of them, it puts them into your hand and teaches that skill to the party. Unfortunately, this is basically where I've gotten stuck. For starters, making this "In-deck" tag isn't as easy as I expected. At first, I was thinking each card would be a Variable, so once you "upgraded" it into your Deck, it would increase that Variable by one, telling the game how many of each card is in the deck.
However, I'm having trouble getting these systems to work. For now, I'm just focused on making a deck - You can add a card to your deck, in a way that is easy for the player to see which cards are and aren't in their deck, and in a way that the shuffler can easily skim through which cards are equipped. However, just getting the Upgrade Slot part of my scheme to work hasn't been very fruitful yet. At first I was thinking that the Slot item would be used to upgrade the Card into a "Slotted" state, and then a "Slotted" card could be disassembled back into a non Slotted Card, and a Slot. Unfortunately, from the looks of it the disassembler only lets you select one of these items to get back, not both, so that's a little annoying. There doesn't seem to be any easy way for me to make it so you can only slot a certain number of each card this way either (say you have 45 copies of a card, but can only slot 4). Either way, the UI isn't looking too hot.
So, I'm a little curious if you guys have any ideas on how to proceed with this! If the Irina plugin is actually legally floating around somewhere I haven't checked, I'd appreciate if someone could point me there, too!