[XP] Triple Triad XP

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 82
Triple Triad XP
Version: 1.3
Author: Maximusmaxy
Date: October 3, 2011

Version History


  • <Version 1.3> 2011/10/3 - Added Cross Rule,Classic Font
  • <Version 1.2.1> 2011/10/1 - Minor Bug Fixes
  • <Version 1.2> 2011/9/30 - Added Default Borders/backgrounds
  • <Version 1.1> 2011/9/29 - Added Picture Support, AI modes
  • <Version 1.0> 2011/9/28

Description


Insert this script into your game to play the classic FFVIII minigame Triple Triad! Create/Edit/Modify your own cards and play your own way!

Features

  • Modifiable Card Database
  • All the rules and modes of the original game(Plus, same, combo...)
  • New modes(2 player, Gold for winning)
  • New rule(Cross)
  • Random and/or specific card selection for events
  • Custom Image Support(Insert your own card pictures)
  • AI Modes(Smart, Aggressive, Defensive)
  • Custom Triple Triad menu, with cards owned and win/loss ratio

Screenshots




Instructions

To install the script simply paste it above the main, and below the default scripts. Make sure to copy the TT folder from the pictures folder in the demo, into your own pictures folder. If using the audio supplied in the demo, make sure that too is copied into your BGM folder. Instructions on how to use the script are in the demo.

Script


In the demo

Credit


  • Maximusmaxy - Writing the script
  • Squaresoft - Making Triple Triad, Graphics and Audio

Support

Feel free to email me or add me on MSN/Windows Live messenger if you have any questions. maximusmax3000@hotmail.com

Demo

http://www.mediafire.com/?d1clb0qg4iyoi08

Author's Notes

If you have anything you would like to add to the script or if it is incompatible with other scripts, feel free to tell me. If there are any error's or bugs (There are ALLOT of rules variations, too many to test myself), screenshots of what happened are always helpful. Also if you had added anything to the script i'd love to know and maybe implement it into mine aswell.

Restrictions

I wouldn't use this script in commercial games unless you want to be sued by Squaresoft/SquareEnix. But hey, your funeral.
« Last Edit: October 03, 2011, 07:14:11 AM by maximusmaxy »

pokeball XimOffline
**
Rep: +0/-0Level 72
RMRK Junior
Sorry for the big bump but I have a bug issue that I am encountering.

I changed the game type for the winner to get gold instead of taking a card, but I get an error message that says "cannot convert fixnum into String"

This is a pretty awesome script otherwise. Love it. I just feel like winning only cards doesn't give it much practical use for overall gameplay as much.

*
i am satin die lol
Rep:
Level 96
welcom to hel
GIAW 14: 2nd Place (Hard Mode)2013 Biggest Drama Whore2013 Zero to HeroParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
I took a look and I have no clue.
On line 1632 if you change the 0 to a 4, then you don't lose or gain cards... but I can't figure out how to make you lose/gain money.

Code: [Select]
    @trade_type = (@match_type == 0 ? $game_system.tt_trade : 5)

pokeball XimOffline
**
Rep: +0/-0Level 72
RMRK Junior
 ;)Well thanks for trying anyways.

I do have an idea for a work around. I'm using Blizz ABS so I'm only using the "forced game" and I made an inventory item to view your card deck. What I'd like to have is a way to check if the player won or lost the game, that way I can have gold being won/lost or even have a part of the story where you have to try and defeat an npc in a card game.

I really just need a way to check with a conditional branch on if the player won or lost the card battle.

*
i am satin die lol
Rep:
Level 96
welcom to hel
GIAW 14: 2nd Place (Hard Mode)2013 Biggest Drama Whore2013 Zero to HeroParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
I'll take a look.

pokeball XimOffline
**
Rep: +0/-0Level 72
RMRK Junior
Awesome thanks!

I know the script stores the player's wins/losses. I just don't know too much about scripting so I can't really access it for a conditional branch.

But I was thinking the event would maybe something go something like making a variable equal to the amount of wins before the duel and then make another that's equal to the wins after the duel, then finally comparing the two variables.

*
Avatar Gallery, Lol
Rep:
Level 88
Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.Secret Santa 2012 ParticipantSilver - GIAW 10Silver - GIAW 92011 Biggest Drama WhoreBronze - GIAW HalloweenGold - Game In A Week VII
well the reason triple triad was rewarding in FF8 was because you could mod cards into powerful items and spells which was more important than gold. Unless the economy in your game is really tightly controlled gold probably won't be a good reward to your players. (generally)

You could have a card trading shop where you could trade cards for gold or items maybe?
:tinysmile:

pokeball XimOffline
**
Rep: +0/-0Level 72
RMRK Junior
Well, gold is a big deal in my game. Only a selected few enemies drop it (just humans).

I could have a card shop. I just don't know how I'd be able to do that.

I'd just like to know how to check stuff like what wins, losses and what cards the player has through an event.

*
Avatar Gallery, Lol
Rep:
Level 88
Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.Secret Santa 2012 ParticipantSilver - GIAW 10Silver - GIAW 92011 Biggest Drama WhoreBronze - GIAW HalloweenGold - Game In A Week VII
sure just thought I'd mention it, in many jrpg's gold becomes pointless in short order and ceases to be a reward for time invested in things.
:tinysmile:

pokeball XimOffline
**
Rep: +0/-0Level 72
RMRK Junior
sure just thought I'd mention it, in many jrpg's gold becomes pointless in short order and ceases to be a reward for time invested in things.

Well, my game is a little Japanese inspired, but it's a Canadian RPG  :P

Anyways, so I found out how to check if the player has won! And also how to check what cards the player has! I'll show everybody.

Code: [Select]
Have this before the battle

$game_variables[10] =
$game_system.tt_wins

and then have something like this after the battle. Now what I had to do what make it so a switch is called when the battle starts and that switch activates an invisible touch activated event that will determine if you've won after walking away from your opponent.

$game_variables[11] =
$game_system.tt_wins

And then have a conditional branch that compares variable 10 with 11!

pokeball XimOffline
**
Rep: +0/-0Level 72
RMRK Junior
Okay, nevermind I give up on this script. It's not working anymore. It just crashes every time I win a game, none of my variable checks are working.

Thanks guys for at least giving me a hand with this stuff though. But this doesn't seem to work in BABS, I guess.