Jump to content

Recommended Posts

Perfect! The game will currently still crash if you try to initiate a game without having any cards. Don't worry - enjoy your pause, in the meantime we will all be testing/seeing how to best improve the script

 

thanks Mala

Share this post


Link to post
Share on other sites

 

k, noted - will go into the next version.

 

btw: the exact code to gain a new card is (called via script from event):

gain_triad_card(idnumber, amount)

 

 

Awesome thank you, is it possible to make the card/cards gained through script call to appear on the screen in the same manner they do when you open a booster?

Share this post


Link to post
Share on other sites

For those of you who are importing Halrawk's adjusted cards, just replace all of the cards in the current "card" folder in the "triple triad" folder with Halrawk's and then paste the following into your Cards section of the TT script. I already made the adjustments so you don't have to!

 

 

 

#===============================================================================
#                    Triple Triad Script - Card Settings
#
# Author: Raizen (www.centrorpg.com)
# Modified & Expanded by: Malagar (www.rpgmakervxace.net)
#
# * Use this script to configure all the cards in the game
# * Images are always located in Graphics/Triple_Triad
# * See template & description at the end of the script
# * Can result in unexpected behaivor if added/changed in the middle of game
#   making. Some data is kept in the save files and might result in unexpected
#   results.
#
#===============================================================================

module Config_Triple_Triad
  Card = Array.new

 #==============================================================================
#
#     Rank 1 Cards
#
#==============================================================================

#==============================================================================
# Card 0 => Slime - Based on: Geezard
#==============================================================================
Card[0] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 1,
'LEFT' => 5,
'RIGHT' => 4,
'DOWN' => 1,
# Configure the basic settings for the card
'Price' => 11, # Rank 1 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Slime", # Put the name of the card between ""
'Rarity' => 1, # So you can create card boosters or other systems
'Image' => "Slime", # Name of image for player 1.
'Description' => "This is a Slime card.",

}
#==============================================================================
# Card 1 => Bat - Based on: Funguar
#==============================================================================
Card[1] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 5,
'LEFT' => 3,
'RIGHT' => 1,
'DOWN' => 1,
# Configure the basic settings for the card
'Price' => 11, # Rank 1 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Bat", # Put the name of the card between ""
'Rarity' => 1, # So you can create card boosters or other systems
'Image' => "Bat", # Name of image for player 1.
'Description' => "This is a Bat card.",


}
#==============================================================================
# Card 2 => Hornet - Based on: Bite Bug
#==============================================================================
Card[2] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 1,
'LEFT' => 5,
'RIGHT' => 3,
'DOWN' => 3,
# Configure the basic settings for the card
'Price' => 11, # Rank 1 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Hornet", # Put the name of the card between ""
'Rarity' => 1, # So you can create card boosters or other systems
'Image' => "Hornet", # Name of image for player 1.
'Description' => "This is a Hornet card.",

}
#==============================================================================
# Card 3 => Spider - Based on: Red Bat
#==============================================================================
Card[3] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 6,
'LEFT' => 2,
'RIGHT' => 1,
'DOWN' => 1,
# Configure the basic settings for the card
'Price' => 11, # Rank 1 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Spider", # Put the name of the card between ""
'Rarity' => 1, # So you can create card boosters or other systems
'Image' => "Spider", # Name of image for player 1.
'Description' => "This is a Spider card.",

}
#==============================================================================
# Card 4 => Rat - Based on: Blobra
#==============================================================================
Card[4] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 2,
'LEFT' => 5,
'RIGHT' => 3,
'DOWN' => 1,
# Configure the basic settings for the card
'Price' => 11, # Rank 1 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Rat", # Put the name of the card between ""
'Rarity' => 1, # So you can create card boosters or other systems
'Image' => "Rat", # Name of image for player 1.
'Description' => "This is a Rat card.",

}
#==============================================================================
# Card 5 => Toxic Slime - Based on: Gayla
#==============================================================================
Card[5] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 2,
'LEFT' => 4,
'RIGHT' => 1,
'DOWN' => 4,
# Configure the basic settings for the card
'Price' => 11, # Rank 1 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Toxic Slime", # Put the name of the card between ""
'Rarity' => 1, # So you can create card boosters or other systems
'Image' => "ToxicSlime", # Name of image for player 1.
'Description' => "This is a Toxic Slime card.",

}
#==============================================================================
# Card 6 => Wisp - Based on: Gesper
#==============================================================================
Card[6] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 1,
'LEFT' => 1,
'RIGHT' => 5,
'DOWN' => 4,
# Configure the basic settings for the card
'Price' => 11, # Rank 1 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Wisp", # Put the name of the card between ""
'Rarity' => 1, # So you can create card boosters or other systems
'Image' => "Wisp", # Name of image for player 1.
'Description' => "This is a Wisp card.",

}
#==============================================================================
# Card 7 => Assassin - Based on: Fastitocalon-F
#==============================================================================
Card[7] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 3,
'LEFT' => 1,
'RIGHT' => 5,
'DOWN' => 2,
# Configure the basic settings for the card
'Price' => 11, # Rank 1 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Assassin", # Put the name of the card between ""
'Rarity' => 1, # So you can create card boosters or other systems
'Image' => "Assassin", # Name of image for player 1.
'Description' => "This is an Assassin card.",

}
#==============================================================================
# Card 8 => Bandit - Based on: Blood Soul
#==============================================================================
Card[8] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 2,
'LEFT' => 1,
'RIGHT' => 1,
'DOWN' => 6,
# Configure the basic settings for the card
'Price' => 11, # Rank 1 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Bandit", # Put the name of the card between ""
'Rarity' => 1, # So you can create card boosters or other systems
'Image' => "Bandit", # Name of image for player 1.
'Description' => "This is a Bandit card.",

}
#==============================================================================
# Card 9 => Earthspirit - Based on: Caterchipillar
#==============================================================================
Card[9] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 4,
'LEFT' => 3,
'RIGHT' => 2,
'DOWN' => 4,
# Configure the basic settings for the card
'Price' => 11, # Rank 1 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Earth Spirit", # Put the name of the card between ""
'Rarity' => 1, # So you can create card boosters or other systems
'Image' => "Earthspirit", # Name of image for player 1.
'Description' => "This is an Earth Spirit card.",

}
#==============================================================================
# Card 10 => Fanatic - Based on: Cockatrice
#==============================================================================
Card[10] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 2,
'LEFT' => 6,
'RIGHT' => 1,
'DOWN' => 2,
# Configure the basic settings for the card
'Price' => 11, # Rank 1 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Fanatic", # Put the name of the card between ""
'Rarity' => 1, # So you can create card boosters or other systems
'Image' => "Fanatic", # Name of image for player 1.
'Description' => "This is a fanatic card.",

}
#==============================================================================
#
#     Rank 2 Cards
#
#==============================================================================

#==============================================================================
# Card 11 => Snake - Based on: Forbidden
#==============================================================================
Card[11] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 6,
'LEFT' => 2,
'RIGHT' => 6,
'DOWN' => 3,
# Configure the basic settings for the card
'Price' => 12, # Rank 2 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Snake", # Put the name of the card between ""
'Rarity' => 2, # So you can create card boosters or other systems
'Image' => "Snake", # Name of image for player 1.
'Description' => "This is a Snake card.",

}
#==============================================================================
# Card 12 => Scorpion - Based on: Armadodo
#==============================================================================
Card[12] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 6,
'LEFT' => 6,
'RIGHT' => 3,
'DOWN' => 1,
# Configure the basic settings for the card
'Price' => 12, # Rank 2 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Scorpion", # Put the name of the card between ""
'Rarity' => 2, # So you can create card boosters or other systems
'Image' => "Scorpion", # Name of image for player 1.
'Description' => "This is a Scorpion card.",

}
#==============================================================================
# Card 13 => Jellyfish - Based on: Tri-Face
#==============================================================================
Card[13] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 3,
'LEFT' => 5,
'RIGHT' => 5,
'DOWN' => 5,
# Configure the basic settings for the card
'Price' => 12, # Rank 2 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Jellyfish", # Put the name of the card between ""
'Rarity' => 2, # So you can create card boosters or other systems
'Image' => "Jellyfish", # Name of image for player 1.
'Description' => "This is a Jellyfish card.",

}
#==============================================================================
# Card 14 => Plant - Based on: Fastitocalon
#==============================================================================
Card[14] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 7,
'LEFT' => 3,
'RIGHT' => 5,
'DOWN' => 1,
# Configure the basic settings for the card
'Price' => 12, # Rank 2 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Plant", # Put the name of the card between ""
'Rarity' => 2, # So you can create card boosters or other systems
'Image' => "Plant", # Name of image for player 1.
'Description' => "This is a Plant card.",

}
#==============================================================================
# Card 15 => Ghost - Based on: Snow Lion
#==============================================================================
Card[15] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 7,
'LEFT' => 3,
'RIGHT' => 1,
'DOWN' => 5,
# Configure the basic settings for the card
'Price' => 12, # Rank 2 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Ghost", # Put the name of the card between ""
'Rarity' => 2, # So you can create card boosters or other systems
'Image' => "Ghost", # Name of image for player 1.
'Description' => "This is a Ghost card.",

}
#==============================================================================
# Card 16 => Skeleton - Based on: Ochu
#==============================================================================
Card[16] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 5,
'LEFT' => 3,
'RIGHT' => 6,
'DOWN' => 3,
# Configure the basic settings for the card
'Price' => 12, # Rank 2 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Skeleton", # Put the name of the card between ""
'Rarity' => 2, # So you can create card boosters or other systems
'Image' => "Skeleton", # Name of image for player 1.
'Description' => "This is a Skeleton card.",

}
#==============================================================================
# Card 17 => Orc - Based on: SAM08G
#==============================================================================
Card[17] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 5,
'LEFT' => 4,
'RIGHT' => 6,
'DOWN' => 2,
# Configure the basic settings for the card
'Price' => 12, # Rank 2 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Orc", # Put the name of the card between ""
'Rarity' => 2, # So you can create card boosters or other systems
'Image' => "Orc", # Name of image for player 1.
'Description' => "This is an Orc card.",

}
#==============================================================================
# Card 18 => Knight - Based on: Death Claw
#==============================================================================
Card[18] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 4,
'LEFT' => 2,
'RIGHT' => 4,
'DOWN' => 7,
# Configure the basic settings for the card
'Price' => 12, # Rank 2 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Knight", # Put the name of the card between ""
'Rarity' => 2, # So you can create card boosters or other systems
'Image' => "Knight", # Name of image for player 1.
'Description' => "This is a Knight card.",

}
#==============================================================================
# Card 19 => Cerberus - Based on: Cactuar
#==============================================================================
Card[19] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 6,
'LEFT' => 3,
'RIGHT' => 2,
'DOWN' => 6,
# Configure the basic settings for the card
'Price' => 12, # Rank 2 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Cerberus", # Put the name of the card between ""
'Rarity' => 2, # So you can create card boosters or other systems
'Image' => "Cerberus", # Name of image for player 1.
'Description' => "This is a Cerberus card.",

}
#==============================================================================
# Card 20 => Minotaur - Based on: Tonberry
#==============================================================================
Card[20] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 3,
'LEFT' => 4,
'RIGHT' => 6,
'DOWN' => 4,
# Configure the basic settings for the card
'Price' => 12, # Rank 2 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Minotaur", # Put the name of the card between ""
'Rarity' => 2, # So you can create card boosters or other systems
'Image' => "Minotaur", # Name of image for player 1.
'Description' => "This is a Minotaur card.",

}
#==============================================================================
# Card 21 => Windspirit - Based on: Tonberry
#==============================================================================
Card[21] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 7,
'LEFT' => 5,
'RIGHT' => 2,
'DOWN' => 3,
# Configure the basic settings for the card
'Price' => 12, # Rank 2 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Wind Spirit", # Put the name of the card between ""
'Rarity' => 2, # So you can create card boosters or other systems
'Image' => "Windspirit", # Name of image for player 1.
'Description' => "This is a Wind Spirit card.",

}
#==============================================================================
#
#     Rank 3 Cards
#
#==============================================================================

#==============================================================================
# Card 22 => Imp - Based on: Iron Giant
#==============================================================================
Card[22] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 6,
'LEFT' => 5,
'RIGHT' => 5,
'DOWN' => 6,
# Configure the basic settings for the card
'Price' => 13, # Rank 3 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Imp", # Put the name of the card between ""
'Rarity' => 3, # So you can create card boosters or other systems
'Image' => "Imp", # Name of image for player 1.
'Description' => "This is an Imp card.",

}
#==============================================================================
# Card 23 => Puppet - Based on: Behemoth
#==============================================================================
Card[23] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 3,
'LEFT' => 7,
'RIGHT' => 6,
'DOWN' => 5,
# Configure the basic settings for the card
'Price' => 13, # Rank 3 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Puppet", # Put the name of the card between ""
'Rarity' => 3, # So you can create card boosters or other systems
'Image' => "Puppet", # Name of image for player 1.
'Description' => "This is a Puppet card.",

}
#==============================================================================
# Card 24 => Zombie - Based on: Chimera
#==============================================================================
Card[24] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 7,
'LEFT' => 3,
'RIGHT' => 6,
'DOWN' => 5,
# Configure the basic settings for the card
'Price' => 13, # Rank 3 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Zombie", # Put the name of the card between ""
'Rarity' => 3, # So you can create card boosters or other systems
'Image' => "Zombie", # Name of image for player 1.
'Description' => "This is a Zombie card.",

}
#==============================================================================
# Card 25 => Cockatrice - Based on: Pupu
#==============================================================================
Card[25] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 3,
'LEFT' => 1,
'RIGHT' => 10,
'DOWN' => 2,
# Configure the basic settings for the card
'Price' => 13, # Rank 3 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Cockatrice", # Put the name of the card between ""
'Rarity' => 3, # So you can create card boosters or other systems
'Image' => "Cockatrice", # Name of image for player 1.
'Description' => "This is a Cockatrice card.",

}
#==============================================================================
# Card 26 => Chimera - Based on: Elastoid
#==============================================================================
Card[26] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 6,
'LEFT' => 7,
'RIGHT' => 2,
'DOWN' => 6,
# Configure the basic settings for the card
'Price' => 13, # Rank 3 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Chimera", # Put the name of the card between ""
'Rarity' => 3, # So you can create card boosters or other systems
'Image' => "Chimera", # Name of image for player 1.
'Description' => "This is a Chimera card.",

}
#==============================================================================
# Card 27 => Mimic - Based on: GIM7N
#==============================================================================
Card[27] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 5,
'LEFT' => 4,
'RIGHT' => 5,
'DOWN' => 7,
# Configure the basic settings for the card
'Price' => 13, # Rank 3 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Mimic", # Put the name of the card between ""
'Rarity' => 3, # So you can create card boosters or other systems
'Image' => "Mimic", # Name of image for player 1.
'Description' => "This is a Mimic card.",

}
#==============================================================================
# Card 28 => Fairy - Based on: Malboro
#==============================================================================
Card[28] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 7,
'LEFT' => 2,
'RIGHT' => 7,
'DOWN' => 4,
# Configure the basic settings for the card
'Price' => 13, # Rank 3 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Fairy", # Put the name of the card between ""
'Rarity' => 3, # So you can create card boosters or other systems
'Image' => "Fairy", # Name of image for player 1.
'Description' => "This is a Fairy card.",

}
#==============================================================================
# Card 29 => Angel - Based on: Ruby Dragon
#==============================================================================
Card[29] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 7,
'LEFT' => 4,
'RIGHT' => 2,
'DOWN' => 7,
# Configure the basic settings for the card
'Price' => 13, # Rank 3 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Angel", # Put the name of the card between ""
'Rarity' => 3, # So you can create card boosters or other systems
'Image' => "Angel", # Name of image for player 1.
'Description' => "This is an Angel card.",

}
#==============================================================================
# Card 30 => Firespirit - Based on: Elnoyle
#==============================================================================
Card[30] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 5,
'LEFT' => 6,
'RIGHT' => 3,
'DOWN' => 7,
# Configure the basic settings for the card
'Price' => 13, # Rank 3 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Fire Spirit", # Put the name of the card between ""
'Rarity' => 3, # So you can create card boosters or other systems
'Image' => "Firespirit", # Name of image for player 1.
'Description' => "This is a Fire Spirit card.",

}
#==============================================================================
# Card 31 => Ifrit - Based on: Tonberry King
#==============================================================================
Card[31] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 4,
'LEFT' => 4,
'RIGHT' => 6,
'DOWN' => 7,
# Configure the basic settings for the card
'Price' => 13, # Rank 3 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Ifrit", # Put the name of the card between ""
'Rarity' => 3, # So you can create card boosters or other systems
'Image' => "Ifrit", # Name of image for player 1.
'Description' => "This is an Ifrit card.",

}
#==============================================================================
# Card 32 => Waterspirit - Based on: Biggs, Wedge
#==============================================================================
Card[32] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 6,
'LEFT' => 7,
'RIGHT' => 6,
'DOWN' => 2,
# Configure the basic settings for the card
'Price' => 13, # Rank 3 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Water Spirit", # Put the name of the card between ""
'Rarity' => 3, # So you can create card boosters or other systems
'Image' => "Waterspirit", # Name of image for player 1.
'Description' => "This is a Water Spirit card.",

}
#==============================================================================
#
#     Rank 4 Cards
#
#==============================================================================

#==============================================================================
# Card 33 => Werewolf - Based on: Propagator
#==============================================================================
Card[33] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 8,
'LEFT' => 8,
'RIGHT' => 4,
'DOWN' => 4,
# Configure the basic settings for the card
'Price' => 14, # Rank 4 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Werewolf", # Put the name of the card between ""
'Rarity' => 4, # So you can create card boosters or other systems
'Image' => "Werewolf", # Name of image for player 1.
'Description' => "This is a Werewolf card.",

}
#==============================================================================
# Card 34 => Ogre - Based on: Jumbo Cactuar
#==============================================================================
Card[34] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 8,
'LEFT' => 4,
'RIGHT' => 8,
'DOWN' => 4,
# Configure the basic settings for the card
'Price' => 14, # Rank 4 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Ogre", # Put the name of the card between ""
'Rarity' => 4, # So you can create card boosters or other systems
'Image' => "Ogre", # Name of image for player 1.
'Description' => "This is an Ogre card.",

}
#==============================================================================
# Card 35 => Gargoyle - Based on: Tri-Point
#==============================================================================
Card[35] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 8,
'LEFT' => 8,
'RIGHT' => 5,
'DOWN' => 2,
# Configure the basic settings for the card
'Price' => 14, # Rank 4 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Gargoyle", # Put the name of the card between ""
'Rarity' => 4, # So you can create card boosters or other systems
'Image' => "Gargoyle", # Name of image for player 1.
'Description' => "This is a Gargoyle card.",

}
#==============================================================================
# Card 36 => Vampire - Based on: Gargantua
#==============================================================================
Card[36] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 5,
'LEFT' => 8,
'RIGHT' => 6,
'DOWN' => 6,
# Configure the basic settings for the card
'Price' => 14, # Rank 4 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Vampire", # Put the name of the card between ""
'Rarity' => 4, # So you can create card boosters or other systems
'Image' => "Vampire", # Name of image for player 1.
'Description' => "This is a Vampire card.",
}
#==============================================================================
# Card 37 => Succubus - Based on: Mobile Type 8
#==============================================================================
Card[37] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 8,
'LEFT' => 3,
'RIGHT' => 6,
'DOWN' => 7,
# Configure the basic settings for the card
'Price' => 14, # Rank 4 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Succubus", # Put the name of the card between ""
'Rarity' => 4, # So you can create card boosters or other systems
'Image' => "Succubus", # Name of image for player 1.
'Description' => "This is a Succubus card.",
}
#==============================================================================
# Card 38 => Demon - Based on: Sphinxara
#==============================================================================
Card[38] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 8,
'LEFT' => 8,
'RIGHT' => 3,
'DOWN' => 5,
# Configure the basic settings for the card
'Price' => 14, # Rank 4 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Demon", # Put the name of the card between ""
'Rarity' => 4, # So you can create card boosters or other systems
'Image' => "Demon", # Name of image for player 1.
'Description' => "This is a Demon card.",
}
#==============================================================================
# Card 39 => Reaper - Based on: Tiamat
#==============================================================================
Card[39] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 8,
'LEFT' => 4,
'RIGHT' => 8,
'DOWN' => 5,
# Configure the basic settings for the card
'Price' => 14, # Rank 4 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Reaper", # Put the name of the card between ""
'Rarity' => 4, # So you can create card boosters or other systems
'Image' => "Reaper", # Name of image for player 1.
'Description' => "This is a Reaper card.",
}
#==============================================================================
# Card 40 => Behemoth - Based on: BG251F2
#==============================================================================
Card[40] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 5,
'LEFT' => 5,
'RIGHT' => 7,
'DOWN' => 8,
# Configure the basic settings for the card
'Price' => 14, # Rank 4 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Behemoth", # Put the name of the card between ""
'Rarity' => 4, # So you can create card boosters or other systems
'Image' => "Behemoth", # Name of image for player 1.
'Description' => "This is a Behemoth card.",
}
#==============================================================================
# Card 41 => Dragon - Based on: Red Giant
#==============================================================================
Card[41] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 6,
'LEFT' => 7,
'RIGHT' => 8,
'DOWN' => 4,
# Configure the basic settings for the card
'Price' => 14, # Rank 4 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Dragon", # Put the name of the card between ""
'Rarity' => 4, # So you can create card boosters or other systems
'Image' => "Dragon", # Name of image for player 1.
'Description' => "This is a Dragon card.",
}
#==============================================================================
# Card 42 => Asura - Based on: Catoblepas
#==============================================================================
Card[42] = {
# Configure each atribute of the card according to the direction.
# ONLY NUMBERS, if it is an A card, put 10.
'UP' => 1,
'LEFT' => 7,
'RIGHT' => 8,
'DOWN' => 7,
# Configure the basic settings for the card
'Price' => 14, # Rank 4 Price tag
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Asura", # Put the name of the card between ""
'Rarity' => 4, # So you can create card boosters or other systems
'Image' => "Asura", # Name of image for player 1.
'Description' => "This is an Asura card.",
}
#==============================================================================
# Card 43 => Abomination - Based on: Ultima Weapon
#==============================================================================
Card[43] = {
'UP' => 7,
'LEFT' => 8,
'RIGHT' => 7,
'DOWN' => 2,
'Price' => 14, # Rank 4 Price tag If not sellable, put 0
'Element' => 1,
'Family' => 0,
'Special' => 0,
'Grade' => 0,
'Name' => "Abomination", # Put the name of the card between ""
'Rarity' => 4, # So you can create card boosters or other systems
'Image' => "Abomination", # Name of image for player 1.
'Description' => "This is an Abomination card.",
}

end

=begin
  #=============================================================================
  # Template
  #=============================================================================
  Card[0] = {
    # Configure each atribute of the card according to the direction.
    # ONLY NUMBERS, if it is an A card, put 10.
    'UP' => 5,
    'LEFT' => 1,
    'RIGHT' => 2,
    'DOWN' => 2,
    # Configure the basic settings for the card
    'Price' => 10, # If not sellable, put 0
    'Element' => 0,
    'Family' => 0,
    'Special' => 0,
    'Grade' => 0,
    'Name' => "Slime", # Put the name of the card between ""
    'Rarity' => 1, # So you can creat card boosters or other systems
    'Image' => "Slime", # Name of image for player 1.
    'Description' => "This is a slime card.",
  }
=end

 

 

 

Malagar - is there a way we can keep track of how many cards the player has and set it to a variable so I can prevent games from beginning when the player has fewer than 5 cards?

Edited by Dymdez

Share this post


Link to post
Share on other sites

Raizen already provided a function for this. It returns the total number of unique cards a player has.

And there is a switch that forces a player to have 5 cards - also by raven.

 

but im adding these things to the next version anyway. the new version will be more secure, no more errors when a player has no/not enough cards etc.

Share this post


Link to post
Share on other sites

Right, but it isn't unique cards that matters, but rather card total. You can play TT with 1 unique card if you have 5 of the same card.

 

== FIX to cursor starting on your cards rather opponents cards after win ==

In the win/lose scene change index = 4, it used to be 0, as indicated below

 

  #--------------------------------------------------------------------------
  # * Inicialização do sistema
  #--------------------------------------------------------------------------
  def start
    super
    @id = $game_timer.game_triple_triad[4]
    create_windows
    load_cards
    @index = 4 #was 0
    @decision = false
    @goto_x = Graphics.width
    @goto_y = 0
    @speed_x = 0
    @old_index = 0
    @speed_y = 0
    @win_old = $game_variables[WinVariable]
    @start_count = false
    @count = 0
    @npc_index = 5
    @flip_npc_commands = []
    @condition = $game_timer.game_triple_triad[3]
  end

Edited by Dymdez

Share this post


Link to post
Share on other sites

hey everybody,

here is another update. I did my best ironing out the bugs discovered by Dymdez. This was done rather quickly, so I hope it solves a bunch of issues. Its a pure bug-fixing update:

 

# no more crash accessing album with 0 cards

# no more crash when starting triple triad with 0 cards

# numbers on selected card during the game are now fully readable (card is moved to the front)

# win/lose scene enemy cards now correctly colored

# win/lose scene cursor position now correct

# and various others...

 

@Dymdez: could you check please if that solves the remaining bugs? I still have to look into the booster issue...

 

http://www.mediafire.com/download/gg4yjoelf44izyb/Triple_Triad_Demo.rar

Share this post


Link to post
Share on other sites

Yes! I will check it some time today - You're perfecting this script, Mala, thank you! Check this post for my bug report.

 

Edit 1: Mala - Cursor position now covers up right painted number.

Edited by Dymdez

Share this post


Link to post
Share on other sites

I love this script and the script additions so much! Thank you all who put so much effort into this.

 

I have a request if it's possible and not too much a bother.

 

I'd love to be able to teach my players how to play the game, maybe a tutorial game where messages pop up explaining how things go in the game?

Perhaps it may just be easier to take video of it. =P

 

Thanks again everyone, these scripts are just the best!

 

 

Share this post


Link to post
Share on other sites

I love this script and the script additions so much! Thank you all who put so much effort into this.

 

I have a request if it's possible and not too much a bother.

 

I'd love to be able to teach my players how to play the game, maybe a tutorial game where messages pop up explaining how things go in the game?

Perhaps it may just be easier to take video of it. =P

 

Thanks again everyone, these scripts are just the best!

 

Well, I think this should really be upto the developer to do - since there are so many ways of doing this.

 

The way I intend on doing it is to teach each rule 1 by 1, so its not overwhelming. This is easy because the game is essentially trivial at first and each rule only slightly more complicated. The game demo does it in an excellent way, each opponent gets progressively more difficult.

Share this post


Link to post
Share on other sites

@Dymdez, oops - yes you are right. easy fix...

 

@Chrystal: the only problem is that there is currently no way to show message boxes and/or portraits while the Triple Triad scene is running. Because its taking place outside the typical map scene.

 

Dymdez is right, maybe chunk it down and explain the game rules between several tutorial matches.

Share this post


Link to post
Share on other sites

Sometimes when using conditional branch to determine a draw, win or lose does not trigger the event below the bracket line

Try to put Variable 1: WLT on the depended result doesn't trigger and only trigger if using choices command instead of normal.

 

If using choices: the event triggers on depending result

If not using choices or chained choices: win/lose/draw aftermath does not trigger the conditional branch.

Share this post


Link to post
Share on other sites

Sometimes when using conditional branch to determine a draw, win or lose does not trigger the event below the bracket line

Try to put Variable 1: WLT on the depended result doesn't trigger and only trigger if using choices command instead of normal.

 

If using choices: the event triggers on depending result

If not using choices or chained choices: win/lose/draw aftermath does not trigger the conditional branch.

 

Could you be more clear about this problem? Are you sure you have the variables set correctly? I haven't gotten this issue yet.

Share this post


Link to post
Share on other sites

I set the variable correctly, but sometimes it doesn't trigger with more than 1 choice commands instead of a yes or no options. Also even without choices it doesn't trigger the conditional branch of the result.

Share this post


Link to post
Share on other sites

Use a wait command, like wait 1 frame before the condition or choices branch, it should work :).

 

That is more because of how the RPG Maker works, then what it happens on the script, like if it executed everything on that frame, but if you put something to go after 1 frame, it should run the script before.

Share this post


Link to post
Share on other sites

Wow, nice updates!

I thought nobody updates this script anymore.

 

But one thing I don't like at all...

You removed the ability to see all the cards.

At the very least, you should have make that an optional thing only.

 

I like to show my players what they miss, and what they accomplished already.

This actually gives the player something to look forward to do.

I even modified the original scripts (before your edits on them), so that the cards will not get back their "?????" for card names once the player looses the last card from a type. Added a completion percent rate too.

 

I just wanted the elemental rule, and when I saw the new version of this script (thanks Dymdez! :D), I immediately rushed here to check it. But this card album adjustment kinda put me down. >.>

Ohh, well, I guess I will have to merge the 2 card album versions and remove the display limitation you have put in.

 

Still, good job on the other features and of course, thank you very much for them!

Share this post


Link to post
Share on other sites

Wow, nice updates!

I thought nobody updates this script anymore.

 

But one thing I don't like at all...

You removed the ability to see all the cards.

At the very least, you should have make that an optional thing only.

 

I like to show my players what they miss, and what they accomplished already.

This actually gives the player something to look forward to do.

I even modified the original scripts (before your edits on them), so that the cards will not get back their "?????" for card names once the player looses the last card from a type. Added a completion percent rate too.

 

I just wanted the elemental rule, and when I saw the new version of this script (thanks Dymdez! :D), I immediately rushed here to check it. But this card album adjustment kinda put me down. >.>

Ohh, well, I guess I will have to merge the 2 card album versions and remove the display limitation you have put in.

 

Still, good job on the other features and of course, thank you very much for them!

 

I hear ya, I actually like the change, though. Maybe there is a way to tell your players that they are missing cards without clogging it with ?????? maybe a display "45/140 cards"

Share this post


Link to post
Share on other sites

It doesn't really matter, I can compare the two versions, remove the display limitation, and redo my album scene changes. It just takes some time, which I got little now, unfortunately.

 

I use 800x600 resolution for my project and made the card list show 3 columns, effectively showing 40+ cards per pages, and there is still plenty of place left to display info about the selected card, so I got no issue with too many "?????" showing up, neither will my players. :P

Once the player get a card, that card will stay discovered forever, so over time, the player can collect all the information about every card and watch it whenever he/she wants, just like in the original FF games.

The completion tracker shows the discovered percentage and the discovered/total display (like you wrote).

 

Well, at least I got something to work when I finish my encyclopedia. :D

Share this post


Link to post
Share on other sites

Hi,

I always wanted to add an option that allows the player to collection information about cards, so your idea is viable.

 

maybe i can add that to the next version, as well as completion rate and showing/hiding card information.

 

takes a while, im currently busy with other things...

Share this post


Link to post
Share on other sites

You are genius and kind person malagar.

 

i just have one request.

the number/element is painted via script.

can you make the frame and background painted via script too?

 

Halrawk posted the photoshop file of the cards - if you cant find it, let me know, I will post it. It makes editing the cards extremely easy

Share this post


Link to post
Share on other sites

 

You are genius and kind person malagar.

 

i just have one request.

the number/element is painted via script.

can you make the frame and background painted via script too?

 

Halrawk posted the photoshop file of the cards - if you cant find it, let me know, I will post it. It makes editing the cards extremely easy

 

 

I actually only sent that to you. :P

If anyone wants the template I made though:

https://www.dropbox.com/s/mrzfzhsslqtobao/Triple_Triad_Template_Halrawk.psd?dl=0

 

 

I think what Hearts is looking for though, is to have the background and frame added through scripts. So you can just have 1 background image, and it covers them all. So just have <image: background>. I don't think it really save a lot of time though, since you'd still need to make the card graphics.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×