Triple Triad

[LEFT]
Quote:
I AM LAZY, AND DON'T HAVE TIME TO RE-UPLOAD THIS RIGHT NOW. FOR YOU, Kuri$u WAS KIND ENOUGH TO PROVIDE THIS DEMO. USE IT. WHEN I HAVE TIME, I WILL RE-UPLOAD EVERYTHING, BUT I AM VERY BUSY. SORRY.

DEMO: http://www.savefile.com/files/733014
[/LEFT]

Triple Triad


Version: 1


Introduction

Re-visit or discover the highly addictive card game of Final Fantasy VIII. This script not only duplicates the orignal system, but expands on it, giving dynamic NPC's, advanced player profiles, card shops, and tons more.

Screenshots
Spoiler Show


Features
  • Dynamic Player Profile : Edit Name, Custom Title, Collect Triads, Have an avatar, keep track of your record, etc.
  • Dynamic NPC's : No longer do the NPC's have random cards. You can control what cards the NPC's have, and they collect cards to add to their own collects. The NPC's have the same properties as the player : Name, Title, Avatar, Records, etc.
  • Customizable Backgrounds (use the map background or a Triple Triad background), sound effects, and other options in the game.
  • Profile editor, to edit your player properties.
  • View Cards Database to view your card inventory
  • Card shop, to Purchase Single Cards, Booster Packs and Complete Decks. You can also sell singles, and exchange Triad currency with regular game gold.
  • Players Databse to view all NPC profiles, locations in the game, records, cards, etc.
  • Tutorial mode, to view Triple Triad rules and concepts. All rules are read from text files from within a folder, and are easily customizable.
  • Challenge Windows when starting battles with NPC's
  • Very Very Smart AI. Of the beta testers I had, most got stomped by the AI. It takes some time to get used to the AI patterns.
  • Multiple Game Rules
    • Elemental - Open - Same - Combo - Crossboard (Wall)
  • Multiple Trade Rules
    • Any - Multiple - All - Captured - Multi-Captured - All Captured
  • Setup for future expansion packs. I left this open and very customizable. In the future, you can add more decks, NPC's, booster packs, etc. to the Triple Triad database.
Demo

Deck Graphics

Final Fantasy VII
Final Fantasy VIII
Final Fantasy IX
Final Fantasy X
Final Fantasy X-2

Other Resources

Note That The Demo Is Not Enough. Make Sure You Read the Instructions Below.

Script

You Will Either Need Triple Triad 1 - 4 Which I broke down into sections for easier editing, or Triple Triad Complete

TT1 - TT2 - TT3 - TT4
TT Complete

After That in the editor, paste this. This is exapnsion pack 1. It include 10 default NPC's, FFVII - FFX-2 Decks and booster packs.

Triple Triad EP 1

Instructions

Copy And Paste Either The 4 Sections or the Complete Script Below the SDK. Below that paste expansion pack 1.

In Expansion Pack 1, choose which decks you want to include.
  Include_FFVII_Deck = true
  Include_FFVIII_Deck = true
  Include_FFIX_Deck = true
  Include_FFX_Deck = true
  Include_FFX2_Deck = true
Expand to see the code.
true to include a deck, false to not include it.

After that, from the demos section, select which decks you want to include.

Extract all deck graphics in Game/Graphics/Triple Triad/Cards/ Directory.

For further scripting instructions, refer to the script heading or just ask. This is a extremely dynamic script, and in many ways, isn't copy and paste.

FAQ

Awaiting...

Compatibility

Should work with just about anything. This is SDK, and I don't know if it will work without. Don't ask me to make it non-SDK. I will never do it. Evolve.

Credits and Thanks

First off, thanks to all my beta testers, Raz, Constance, LeGaCy, etc.
www.ffshrine.com for the mid music
Fallen God for some of the sounds effects.
All Card Graphics from www.ttadvance.com and their respected authors.
Game Originally designed by Square-Enix

Author's Notes

Enjoy, and let me know if you run into any difficulties.
o.O i think i came
Finally....

One of a pretty addictive script ever with a god-damned AI... I'm always debating wether should I put it in my game or not...

Glad you finally released it ^^
this script looks very nice...drools...
Finally done. You spent so many time and work in this script and the result is awesome. A great AI and the game itself is real fun. Great work on this one. :)
Wow you guys finally released it...and there goes my orgasm. Damn, that's one hell of a features list.

Damn I wish you guys had all around RMing skills...you make one badass game.

What's next on the scripting agenda?

EDIT: HOLY SHIT AI!!!!
Jesus-titty-fucking-christ!

It has been released... SS, you are a god amongst men.
MY god what a script... *faints*...
AI, man you are a god..
Thanks everyone, but let's keep it clean. As much as it makes me laugh and happy to see everyone's remarks, .

Can you believe the AI is only right around 80 code lines. XD
OMG, you finally completed it. Great work!
Wow, Sephiroth's script was able to make everyone "explode with joy"... not that I blame them... this script is so unbelivably awesome, it's just too much to describe with words... o_o
Maybe it is, Shiro, but I am having a problem with the scripts now. When I tried to get the game menu working the first time it says it has an RGSS error at Window_Base on line thirty. I'll put down the script lines 28-32.

def dispose
    # Dispose if window contents bit map is set
    if self.contents != nil
      self.contents.dispose
    end
Expand to see the code.


Know what to make of it? Also, when I try doing it again, the game shuts down!!
This is a really wonderful script Seph. Unfortunately, it doesn't seem to work without the SDK... but then again, I can never get any of your scripts to work without the SDK. ~.~; Sadly, I won't be able to put this in any of my games, but it still rocks.
Skyla_Doragono wrote:
This is a really wonderful script Seph. Unfortunately, it doesn't seem to work without the SDK... but then again, I can never get any of your scripts to work without the SDK. ~.~; Sadly, I won't be able to put this in any of my games, but it still rocks.

SephirothSpawn wrote:
Compatibility

Should work with just about anything. This is SDK, and I don't know if it will work without. Don't ask me to make it non-SDK. I will never do it. Evolve.


:)

EDIT: Actually sephi you did a real number on this version. So far from what I've seen it looks pretty dang *evades mods blow* sweet.
No. I refuse to evolve! o(><)O

*smacks Wings* Smart ass. XP

Actually, the SDK confuses the hell outta me, and would make half of the scripts I do use go "wtf DX". I understand the importance of it, but it's not gonna do me any good. :|
Thanks all for the phrase. It keeps me going. Now on to the issues:

@thechocobohunter:

Change that method with this. EB should have done this in the first place, but o well.
  def dispose
    return is disposed?
    # Dispose if window contents bit map is set
    if self.contents != nil
      self.contents.dispose
    end
  end
Expand to see the code.


That should solve the problem.

@Skyla_Doragono: Why not use the SDK? some old conficting scripts? Find my SDK conversion request thread. As long as it isn't battle systems, I will convert it. I am actually considering re-scripting Ccoa & Minkoff systems to be SDK, but that's only if I don't make my own battle system.
Ready for a list, Seph? :P

I'm using:

*Ccoa's weather script
*Slipknot's AMS (which doesn't even seem to work with the SDK in it's demo)
*Fukuyama's train actor
*RPG Advocate/Guillaume777 Autoscroll Panorama
*Minkoff/Cogwheel CBS with Damage Modification and Skill Counter Add-ons
*Legacy's new CMS
*Some script called "Bitmap" you or someone else gave me awhile ago; outlines all text.
*Squall's new Mini map
*Tricker's new Steal Script (I know there's an SDK version, but after how long it took me just to get it working with RTAB, I DO NOT want to mess with it).
*and last but not least, a title screen edit by パラ犬 (whatever that translates to)

I also want to use Ccoa's Regan/Shell/Protect/Reflect scripts, but she hasn't made a version compatible with RTAB yet (and I don't think she will either T_T).

So... yeah. Given my like... zero knowledge of Ruby on top of it, it's pretty easy to see why I wouldn't want to mess with anything else.
Great script as always!

Small question though, Is it possible to call certain scripts in the normal way like: $scene.Tripletriad.new? I know thats probably not the correct line but thats the line I'm looking for rather then the open one which is supplied, I'd like to be able to call the cards menu from my status menu.
Yes. Do a search in TT4, or TTComplete, for the interpreter class.

Look in under each methods in that class, to see the syntax for opening each scene.

Basically, I have everything extremely organized into modules; the data structure, windows, scenes, etc.

Its something like

$scene = TripleTriad::Scenes::Main.new

but be sure to check each method in the interpreter for all the details. The classes are setup to automatically return to the class it was called from, so if you call it with the same syntax from the map, it returns to the map and like wise with the menu. A little trick I worked on for a while.
I tried that line when I found it but it gives me an error, saying invaild sytax or no method.
Seph you done it again. it works wonderfully
@Lockheart:

# * Open Triad Main
$scene = TripleTriad::Scenes::Main.new(0, animation, $scene.class)
# * Open Triad Profile
$scene = TripleTriad::Scenes::Profile.new(animation)
# * Open Triad View Cards
$scene = TripleTriad::Scenes::ViewCards.new(deck_index)
# * Open Triad Shop
$scene = TripleTriad::Scenes::Shop.new(animation)
# * Open Triad Database
$scene = TripleTriad::Scenes::Database.new
# * Open Triad Tutorial
$scene = TripleTriad::Scenes::Tutorial.new
Expand to see the code.


Those should work.
Hello everyone:D
Seph, I'm amazed at this script, I waited it for a long long time ago.
When I read yesterday your announce "Triple Triad Tomorrow" I almos died. It was like adream come true.
Awesome script, the best of the best.;)
Now lets move to the bad side. This script is non-usable without the SDK.
But that is a minor problem.
I had a question. How do you turn on the other game rules such as cross board, same, open, element, etc.?
And where do I put them to turn on this rules?
Thanx in advance!

-Love ya'
FrozenCard
There's an error with the script change you said that I should do (which I did).

The error is another Window_Base error. Line 29, NoMethodError, and it also says "undefined method `is' for #".

Here's the script thing.

def dispose
    return is disposed?
    # Dispose if window contents bit map is set
    if self.contents != nil
      self.contents.dispose
    end
  end
Expand to see the code.


Can you fix it?
[QUOTE=SephirothSpawn]@Lockheart:

# * Open Triad Main
$scene = TripleTriad::Scenes::Main.new(0, animation, $scene.class)
# * Open Triad Profile
$scene = TripleTriad::Scenes::Profile.new(animation)
# * Open Triad View Cards
$scene = TripleTriad::Scenes::ViewCards.new(deck_index)
# * Open Triad Shop
$scene = TripleTriad::Scenes::Shop.new(animation)
# * Open Triad Database
$scene = TripleTriad::Scenes::Database.new
# * Open Triad Tutorial
$scene = TripleTriad::Scenes::Tutorial.new
Expand to see the code.


Those should work.[/QUOTE]

Fixed my error, seems my menu was trying to create to many .new commands, so by removing .new from the tripletriad scene call it worked perfectly! Great script once again.
Seph, do you produce a Triple Triad non SDK for me?
[QUOTE=thechocobohunter]There's an error with the script change you said that I should do (which I did).

The error is another Window_Base error. Line 29, NoMethodError, and it also says "undefined method `is' for #".

Here's the script thing.

def dispose
    return is disposed?
    # Dispose if window contents bit map is set
    if self.contents != nil
      self.contents.dispose
    end
  end
Expand to see the code.


Can you fix it?[/QUOTE]

It probably should have been this

def dispose
    return if disposed?
    # Dispose if window contents bit map is set
    if self.contents != nil
      self.contents.dispose
    end
  end
Expand to see the code.


Compatibility wrote:
Should work with just about anything. This is SDK, and I don't know if it will work without. Don't ask me to make it non-SDK. I will never do it. Evolve.
No offense, Trickster, but I think that's the same thing as the script part that I was having trouble with.
And you didn't look hard enough

return if disposed?
@thechocobohunter: Yes, the line should be return if disposed?

@Digimon Leader: Please Read.
Quote:
Should work with just about anything. This is SDK, and I don't know if it will work without. Don't ask me to make it non-SDK. I will never do it. Evolve.

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=5929