Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Scripts & Tutorials
Reload this Page [Essentials script] Pokémon TCG mod

Notices
For all updates, view the main page.

Scripts & Tutorials This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.



Closed Thread
 
Thread Tools
  #1    
Old September 17th, 2012 (11:08 AM).
Maruno's Avatar
Maruno Maruno is online now
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,128
Has anyone been working on making a Pokémon TCG system in RMXP (either for Essentials or stand-alone)? If so, what kind of progress have you made? I feel like helping out with a project like that.

Otherwise, this can be a thread for the discussion of creating a Pokémon TCG system for RMXP. It's a big task, certainly, but I'm interested to see how much active support it could get (and by "active" I mean actually helping out, not "I'd like to see that" messages).
__________________
  #2    
Old September 18th, 2012 (01:11 PM).
Whitney's Shaymin's Avatar
Whitney's Shaymin Whitney's Shaymin is offline
Creator Of Pokemon Grace
Silver Tier
 
Join Date: Apr 2012
Location: Goldenrod, Johto
Gender: Male
Nature: Timid
Posts: 600
Im not sure how we could do this but that would be pretty cool. I'm supporting!
  #3    
Old September 18th, 2012 (04:30 PM).
~JV~'s Avatar
~JV~ ~JV~ is offline
Dev of Pokémon Uranium
 
Join Date: Aug 2007
Location: Rio de Janeiro
Age: 21
Nature: Relaxed
Posts: 712
Send a message via Skype™ to ~JV~
I fully support this, I already thought about making a tcg game some years ago! Well, I can't help being a main developper or something because I don't have time and also because my coding is ugly and I'm not good at coding from scratch, I'm used to make modifications (heavy or not) to scripts. But you have my assistance on this if it gets started!
__________________
  #4    
Old September 18th, 2012 (05:25 PM).
FL's Avatar
FL FL is offline
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Posts: 1,428
I saw some adepts on the past, but I don't know any that is still active. Maybe you can reuse some code from http://code.google.com/p/shoddytcg/ (isn't RPG Maker related).

Do you plan to cover which expansions? My TCG knowledge is limited, but I suggest you to use the Basic, Jungle and Fossil at first. You can find the resources from the two game boy games in http://www.spriters-resource.com/gameboy/poketcg/index.html and http://www.spriters-resource.com/gameboy/poketcg2/index.html, but I suggest you to use the real card pictures.
__________________
  #5    
Old September 19th, 2012 (11:50 AM).
Maruno's Avatar
Maruno Maruno is online now
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,128
I told myself I wasn't going to start anything until discussion had happened and any previous attempts came to light. I told myself that was the sensible thing to do.

...Which is why I've started making my own code. Yeah.

So far I've come up with a compiler script which can read multiple PBS txt files (all txt files within the PBS\Cards folder), and compiles all the information in them. I've also created a card entity class, which is pretty pointless unless you want to make some cards 1st Edition or otherwise special (I wouldn't, and that will probably be discarded later for convenience). A card is referred to by its ID, which is the name of the txt file it appears in followed by its number (e.g. BASE42 for the card numbered 42 in the file BASE.txt); the ID is functionally identical to a Pokémon's internal name.

Now, much of a card's information isn't currently accepted by my scripts. So far, a card's PBS information looks like this:

Code:
[1]
CardType=BasicPokemon
CardSubtype=Dark
Name=Bulbasaur
Species=BULBASAUR
HP=4
Type=Grass
Weakness=Fire,0
Resistance=Water,1
RetreatCost=1
We need to come up with a decent layout for this, and make sure all the information is included.

The next thing to do will be to create a library (like $PokemonBag), a library viewer, and a way to create decks. Then we can worry about making the duel scene.


Quote originally posted by FL .:
I saw some adepts on the past, but I don't know any that is still active. Maybe you can reuse some code from http://code.google.com/p/shoddytcg/ (isn't RPG Maker related).

Do you plan to cover which expansions? My TCG knowledge is limited, but I suggest you to use the Basic, Jungle and Fossil at first. You can find the resources from the two game boy games in http://www.spriters-resource.com/gameboy/poketcg/index.html and http://www.spriters-resource.com/gameboy/poketcg2/index.html, but I suggest you to use the real card pictures.
Some of the information on that website was useful, although I'd already thought about it myself by now.

The project should be able to accept every kind of card, which means all existing cards can be included. The only issues then are the graphics and the effects of moves/PokéPowers/etc. While things are being invented, we'll use various cards which showcase a particular feature (e.g. Pokémon-ex cards, Stadium cards, etc.), and not be restricted to certain sets.



What we really need now is art. Preferably designs for the duel and library/deck-builder screens. What should they look like? Card pictures are not important at the moment.

Another question to think about is: how accurate should it be? For example, Pokémon cards used to have Pokémon Powers, but they were then split into PokéPowers and PokéBodies. Should this kit support Pokémon Powers at all, or should the older cards be reworked to make them match the most current system? Another example is whether Stadium/Supporter cards should be their own types or a subtype of Trainer cards.
__________________
  #6    
Old September 19th, 2012 (12:12 PM).
Umbreon's Avatar
Umbreon Umbreon is offline
Gold Tier
 
Join Date: Aug 2009
Location: Nearby my feet.
Age: 18
Gender: Male
Nature: Calm
Posts: 1,587
To create a shuffled deck

Code:
# create deck here

deck = deck.shuffle

Why create a new PB file for the cards? Why not use the PBSpecies data and manipulate the stats there, more cards can be created faster like that. Although for stadium/Supporter cards would be the only use for this as items can also be taken out of the PBItems data.

and a card's id can be made like so:

Code:
# create a base 42 character code here
id = [put all needed statistics here].pack("42 chararacter string here")
main_id = "" 

# get the main id with the XXXX-XXXX-XXXX (and so forth)
for i in 0..id.length-1
  main_id += " "
  main_id[main_id.length-1] = id[i]
  if i % 4 == 0
    main_id += "-"
  end
end
I hope this helps a little bit.


I really am not a graphics designer so no help designing
  #7    
Old September 19th, 2012 (01:25 PM).
Maruno's Avatar
Maruno Maruno is online now
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,128
I think you've very much misunderstood what this project is about. It's a video game recreation of the Pokémon Trading Card Game (TCG), not a made-up little thing I'm inventing myself. Everything you said (except for mentioning the shuffle method) is irrelevant.
__________________
  #8    
Old September 19th, 2012 (01:37 PM).
Umbreon's Avatar
Umbreon Umbreon is offline
Gold Tier
 
Join Date: Aug 2009
Location: Nearby my feet.
Age: 18
Gender: Male
Nature: Calm
Posts: 1,587
Quote originally posted by Maruno:
I think you've very much misunderstood what this project is about. It's a video game recreation of the Pokémon Trading Card Game (TCG), not a made-up little thing I'm inventing myself. Everything you said (except for mentioning the shuffle method) is irrelevant.
I thought you were implementing this into essentials, the id generation thing was because I thought the TCG had a key id which most card games have to determine a card.
  #9    
Old September 19th, 2012 (02:35 PM).
Maruno's Avatar
Maruno Maruno is online now
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,128
If it does, those long codes are just passwords used to unlock particular cards, and they're that long to discourage people from just trying out random combinations.

This project needs clear IDs, so the user will know which cards they're working with. The set name plus number is the best solution.
__________________
  #10    
Old September 19th, 2012 (03:17 PM).
mewlover22's Avatar
mewlover22 mewlover22 is offline
Pokemon Creator
 
Join Date: Oct 2008
Gender: Male
Nature: Quiet
Posts: 147
this sounds like a good idea count me in.
__________________
My first two Pokemon games.

  #11    
Old September 19th, 2012 (06:26 PM).
yaywalter yaywalter is offline
 
Join Date: May 2010
Gender: Male
Posts: 46
I was working on a Pokemon TCG game a while back, but have sadly abandoned it. I was using Game Maker though, not RPG Maker.
  #12    
Old September 20th, 2012 (03:08 AM).
Maruno's Avatar
Maruno Maruno is online now
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,128
Even so, do you have any resources or concept art or notes or code you want to share?


Quote originally posted by mewlover22:
this sounds like a good idea count me in.
And what exactly will you be bringing to this project if I count you in? Did you mean to say "I'm looking forward to seeing what you come up with" instead?
__________________
  #13    
Old September 20th, 2012 (03:20 PM).
mewlover22's Avatar
mewlover22 mewlover22 is offline
Pokemon Creator
 
Join Date: Oct 2008
Gender: Male
Nature: Quiet
Posts: 147
Sorta i have a lot of knowledge on the Pokemon tcg and can give you an idea on what sets to use and more ideas like that i have played both gbc games and own of 500 Pokemon cards.
__________________
My first two Pokemon games.

  #14    
Old September 20th, 2012 (05:20 PM).
FL's Avatar
FL FL is offline
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Posts: 1,428
Quote originally posted by Maruno:
And what exactly will you be bringing to this project if I count you in? Did you mean to say "I'm looking forward to seeing what you come up with" instead?
You're smart, so you can find some use for these supporting people. If you can't, simply use them as testers. This without counting that Mewlover22 also has TCG knowledge that can be very useful. Even the feedback/opinions can be useful. The most important is the intention.
__________________
  #15    
Old September 20th, 2012 (05:23 PM).
Maruno's Avatar
Maruno Maruno is online now
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,128
At the moment I need two main things: an idea of how things should look, and an idea of how things should work. The two are related, of course; one design for a Library screen will mean it should work in one way, while a different design will require it to work in a different way.

I need direction, a guide to what people want it to be like. Is the way the GBC game works suitable, or maybe a different approach inspired by Yu-Gi-Oh! or something? My only reference is the GBC game, which is obviously old stuff, and I want to know if there's a better way to go about it.

I don't want to waste a whole load of time making a questionnaire about as many facets of the game as I can think of, not least because I'll miss parts, and half of it will be technical. I just need to know what it should end up like, so that I know what I'm aiming for. I need a design document, which means I need to make a lot of decisions about how the game will work.

If you have any opinions about how any aspect of the game should be (card-acquiring, Library, deck-building, duels, AI, defining opponents, etc.), please let me know.
__________________
  #16    
Old September 20th, 2012 (05:23 PM).
mewlover22's Avatar
mewlover22 mewlover22 is offline
Pokemon Creator
 
Join Date: Oct 2008
Gender: Male
Nature: Quiet
Posts: 147
thanks i will do what ever i can.
__________________
My first two Pokemon games.

  #17    
Old September 20th, 2012 (05:34 PM).
~JV~'s Avatar
~JV~ ~JV~ is offline
Dev of Pokémon Uranium
 
Join Date: Aug 2007
Location: Rio de Janeiro
Age: 21
Nature: Relaxed
Posts: 712
Send a message via Skype™ to ~JV~
Quote originally posted by Maruno:
At the moment I need two main things: an idea of how things should look, and an idea of how things should work. The two are related, of course; one design for a Library screen will mean it should work in one way, while a different design will require it to work in a different way.

I need direction, a guide to what people want it to be like. Is the way the GBC game works suitable, or maybe a different approach inspired by Yu-Gi-Oh! or something? My only reference is the GBC game, which is obviously old stuff, and I want to know if there's a better way to go about it.

I don't want to waste a whole load of time making a questionnaire about as many facets of the game as I can think of, not least because I'll miss parts, and half of it will be technical. I just need to know what it should end up like, so that I know what I'm aiming for. I need a design document, which means I need to make a lot of decisions about how the game will work.

If you have any opinions about how any aspect of the game should be (card-acquiring, Library, deck-building, duels, AI, defining opponents, etc.), please let me know.
Maruno, I think the old GBC game worked well enough, BUT there is a japan-only TCG game for the DS. Take a look: http://www.youtube.com/watch?v=U1_nqYeBU40

If we do it using the mouse it will be very easy to mimic the mechanics shown in the video. Graphics wise, we should go for the regular 4th gen style I guess... We are already used to it and it's pretty easy to edit etc.
__________________
  #18    
Old September 20th, 2012 (09:46 PM).
Pharetra's Avatar
Pharetra Pharetra is offline
MOM GET THE CAMERA
 
Join Date: Jun 2011
Age: 19
Gender: Male
Posts: 453
If you need my help, just send me a message. I've been playing the Pokémon TCG competitively (playing tournaments :p) for the past three years.
__________________
  #19    
Old September 21st, 2012 (05:08 AM).
Maruno's Avatar
Maruno Maruno is online now
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,128
I'll have a look at Asobikata. The main issue with mimicking that is that it's very much made for a dual screen. Some kind of mixture of that and the GBC game may be the way forward.

P-Sign, I'm sure I'll have a lot of questions for you. Mostly mechanics-based, I think.
__________________
  #20    
Old September 21st, 2012 (05:11 PM).
yaywalter yaywalter is offline
 
Join Date: May 2010
Gender: Male
Posts: 46
Quote originally posted by Maruno:
Even so, do you have any resources or concept art or notes or code you want to share?



And what exactly will you be bringing to this project if I count you in? Did you mean to say "I'm looking forward to seeing what you come up with" instead?
I don't have any real useful code to share... I only got as far as making the general movement and the card library/deck builder. And it was in Game Maker, so it wouldn't be useful to somebody trying to make an RPG Maker game. And to be honest, I don't know where the files for it are anymore or if I've even still got them.

But I was able to find these 3 screenshots in the thread I made for it:




The game was going to have a structure more similar to a traditional Pokemon game, rather than the structure of the GBC TCG game. You'd earn money from defeating trainers and gym leaders, which you'd be able to use at stores to buy booster packs or individual cards. There would be 8 gym leaders, as well as an Elite Four.
  #21    
Old September 22nd, 2012 (05:08 AM).
the__end's Avatar
the__end the__end is offline
Pixel Artist
 
Join Date: Apr 2010
Gender: Male
Posts: 141
ok i am done with about 75% of the library screen...
i think today i can show the first results...
hope you will like it...
__________________
  #22    
Old September 22nd, 2012 (09:57 AM).
Rayquaza.'s Avatar
Rayquaza. Rayquaza. is offline
Lead Dev in Pokémon Chaos
 
Join Date: Sep 2011
Location: United Kingdom
Age: 18
Gender: Male
Nature: Adamant
Posts: 599
This sounds like a good project. I was planning on making a TCG-based game (Not pokemon) and started looking for RPG maker kits, this may be a pokemon kit but if this becomes an official project its definitely something to go on.
__________________
  #23    
Old September 22nd, 2012 (11:52 AM).
Maruno's Avatar
Maruno Maruno is online now
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,128
I have created the first draft of what I think is a design document. The process is as new to me as it is to many of you.

Everyone, please have a look through it and comment on anything you find. Is what has been described suitable for every reasonable possibility and usage?


Quote originally posted by yaywalter:
I don't have any real useful code to share... I only got as far as making the general movement and the card library/deck builder. And it was in Game Maker, so it wouldn't be useful to somebody trying to make an RPG Maker game. And to be honest, I don't know where the files for it are anymore or if I've even still got them.

But I was able to find these 3 screenshots in the thread I made for it:


The game was going to have a structure more similar to a traditional Pokemon game, rather than the structure of the GBC TCG game. You'd earn money from defeating trainers and gym leaders, which you'd be able to use at stores to buy booster packs or individual cards. There would be 8 gym leaders, as well as an Elite Four.
I remember seeing those screenshots ages ago. I have a bit of a soft spot for TCG games, but on the rare occasions they're mentioned they always fall through (like most other games, actually, but unlike them the TCG games have a good reason for failing). It's always interesting to see how people envisage these kinds of things.


Quote originally posted by the__end:
ok i am done with about 75% of the library screen...
i think today i can show the first results...
hope you will like it...
Looking forward to it.
Attached Files
File Type: doc Design document.doc‎ (52.0 KB, 55 views) (Save to Dropbox)
__________________
  #24    
Old September 22nd, 2012 (03:22 PM).
FL's Avatar
FL FL is offline
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Posts: 1,428
Nice GDD for a minigame option in a engine. This is almost a profissinal one! A profissinal Design Document generally have more description (even more detailed) and diagrams. But for a draft this is excellent (excluding the lack of duel info). You're skilled at it, I can't believe that is your first time!

I agree with almost all items.

Quote originally posted by Design Document:
Should Stadium/Support cards be completely separate types of cards, or variants of Trainer cards? The real TCG has flop-flopped over this matter.
I vote for Stadium/Support cards as separate types, but will be the same in some effects (just like real TCG). The real TCG can't edit the old cards.

Quote originally posted by Design Document:
Subtype – The card’s subtype. Optional.
I suggest you to make this a string array defined in card rather that several subtypes defined in scripts.

Quote originally posted by Design Document:
HP – The HP of this card, divided by 10.
I suggest you to use the actual number and only allow 10 multiples. I predict people having problems with this.

Quote originally posted by Design Document:
There will not be a card shop.
Maybe in future?

Quote originally posted by Design Document:
Duels will be possible using 3 or 6 Prize Cards (short or long).
Disagree. Put a number option (1-6) for more convenience

Quote originally posted by Design Document:
Likely to have multiple pages, like the GBC game has
Disagree, Probably Isn't possible to put all in one page, so put two with the second page a continuation from the first one.

Quote originally posted by Design Document:
The prize will be a list of one or more booster packs (usually one). This is the only possible form that the prize can take.
Put also a money/coins/card points option from buying boosters or cards.

Quote originally posted by Design Document:
A Pokédex for cards. Effectively nothing more than a differently-arranged Library; used only for seeing completion percentages.
I prefer this as a mode for Library.



About the game board I prefer the Game Boy TCG one rather that the actual board. Try to mix some options and display the moves and Poké-power in the main duel screen (at least without the effect or even only the names). Try to display also the weakness, resistance and retreat cost.

Instead of Hand, Attack, Check, Pkmn Power, Retreat and Done, I suggest you to use Hand, Action (with Attack and Done options) and Board (with Pkmn Power and Retreat options).

I prefer that you use the pokémon card artwork rather that the entire card.
__________________
  #25    
Old September 22nd, 2012 (03:41 PM).
yaywalter yaywalter is offline
 
Join Date: May 2010
Gender: Male
Posts: 46
Quote originally posted by Maruno:
I have created the first draft of what I think is a design document. The process is as new to me as it is to many of you.

Everyone, please have a look through it and comment on anything you find. Is what has been described suitable for every reasonable possibility and usage?



I remember seeing those screenshots ages ago. I have a bit of a soft spot for TCG games, but on the rare occasions they're mentioned they always fall through (like most other games, actually, but unlike them the TCG games have a good reason for failing). It's always interesting to see how people envisage these kinds of things.



Looking forward to it.
My TCG project fell through simply due to laziness and getting distracted by other projects. But the idea still appeals to me, so I might revisit it... I'm thinking about even integrating it into my current project, so it'll be like two games in one: A regular Pokemon game, and a Pokemon TCG game.

Anyway, well-done design document. I should probably start making 'em for my projects instead of just jotting down random notes. I wish you the best of luck with your TCG game, but we might just become rivals if I include the TCG in my Pokemon game. But that might even be beneficial...
Closed Thread
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are UTC -8. The time now is 08:25 AM.