Help - Search - Members - Calendar
Full Version: Triple Triad XP
RPG RPG Revolution Forums > Scripting > Script Submissions > RGSS-Submissions
maximusmaxy
Triple Triad XP

Version 1.3
Author Maximusmaxy
Release Date 28/9/2011

Introduction
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
  • Random/Specific/Mix Event Card Generator
  • All the rules of the classic game(Plus,Same,Combo...)
  • New additional Modes(2 Player, Gold for winning...)
  • New rule(Cross)
  • Custom Image Support(Insert your own card pictures)
  • AI Modes(Smart, Aggressive, Defensive)
  • Custom Triple Triad menu, with cards owned and win/loss ratio

Script
Inside the demo

Screenshots



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

Installation
Place the script above the main and below the default scripts. Copy the TT folder from the demo into your pictures folder. If using the BGM's supplied, make sure to copy them into your BGM folder.

Terms and Conditions
Please be sure to credit me if using this script. There are ALLOT of different rule set up variations so there may have been some bugs i have missed. Please feel free to PM me or post here if you do notice any bugs, screenshots of what happened and what you were doing are always helpful. If you would like me to add any features or support for any of your scripts, PM me and i will see what i can do.

Credits
Maximusmaxy for writing the script
Squaresoft for creating FFVIII/Triple Triad/Graphics/Audio. Couldn't have done it without them
yamina-chan
I have to say this is really impressive!
Even tough there allready is a TripleTriad script made by SephirothSpawn I have to say I like your version a lot more vor various reasons. One of them beeing that it doesn't need the SDK.
I have been testing it for a while now and I couldn't find any critical bugs so far. The only thing I noticed that is worth mentioning is the fact that you can just leave the match when you press S duiring it as I did by accident. That yould be used to cheat your way ot of loosing; you see that you can't win anymore, just discard the match and try again.
maximusmaxy
Thanks for the comment biggrin.gif Yeah i've heard allot about Sephiroths TT script although i haven't been able to find it. I was hoping to maybe implement some of his features and make my script the best it could be.

I implemented the S thing on purpose. It's only available in debug mode so you can quit the match at any time whilst debugging. I mentioned it somewhere in the long instruction section but it's easy to miss I know wink.gif If it is really annoying or you don't want that feature you can easily just delete it by searching for the following lines (ctrl+f) and deleting them:
CODE
    #DEBUG exit
    if Input.trigger?(TT::INPUT) && $DEBUG
      $scene = Scene_Map.new #debug exit
      return
    end

Tsukihime
Minor bug from demo: when I challenge someone but then decide not to by pressing the cancel key, the game freezes until I talk to the NPC. Also, they would automatically talk after the match.
yamina-chan
QUOTE (maximusmaxy @ Sep 30 2011, 04:07 PM) *
Thanks for the comment biggrin.gif Yeah i've heard allot about Sephiroths TT script although i haven't been able to find it. I was hoping to maybe implement some of his features and make my script the best it could be.

I implemented the S thing on purpose. It's only available in debug mode so you can quit the match at any time whilst debugging. I mentioned it somewhere in the long instruction section but it's easy to miss I know wink.gif If it is really annoying or you don't want that feature you can easily just delete it by searching for the following lines (ctrl+f) and deleting them:
CODE
    #DEBUG exit
    if Input.trigger?(TT::INPUT) && $DEBUG
      $scene = Scene_Map.new #debug exit
      return
    end


Huh...And here I was, taking the time to read all the instructions and i still miss that XD
Bud good to know.
Also, I have added a link to a Demo of SephirothSpawn's version =)
http://depositfiles.com/files/2ckh1uqix
maximusmaxy
Bugs fixed, thanks Tsukihime.

Thanks for the link Yamina, I see what Sephiroth was trying to do with his script but it just seems like too much. He didn't even have the plus rule!(It's my favourite rule wink.gif ) but i was thinking of implementing the cross board rule that he's got into my script before i saw his one, but then people would probably think i was trying to copy him, and i prefer all the coding/idea's to be mine.

Plus i moved the Debug thing to the top of the script so people can't miss it now. Thanks for all your feedback.
Tsukihime
When I lose and they take my card, it seems like the card is not removed from my inventory (I chose the last 5, and then later checked to see if anything changed but it still says I still owned 1 of each)

Though, I'm not too big a fan of the card game and am more interested in your code lol
maximusmaxy
Your quite the bug finder aren't you happy.gif It was just a small problem of the cards not turning the right colour. Bug fixed.
QUOTE
Though, I'm not too big a fan of the card game and am more interested in your code lol

Thanks wink.gif Yeah Triple Triad was relatively easy to program, just very large and time consuming. My goal in creating it was to create a system which is easy to implement and also relatively easy to modify, so I've commented allot of the script so you can easily find what you want to change up.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.