Triple Triad - FF8 Mini-game
RGSS3 Scripts (RMVX Ace)Wow, that looks weird.
I am writing from my phone, so I am not sure if my phone is doing it, but I assume that you mean the odd text anomaly, right? I got some issues with that font type too, but only with the first letter, not all.
Either try to change your font type or try to install Mithran's Text Cache script. That tends to fix text issues and adds a huge speed up too for text drawing.
Btw, do all of your menus look like that or only the triple triad menus
I am writing from my phone, so I am not sure if my phone is doing it, but I assume that you mean the odd text anomaly, right? I got some issues with that font type too, but only with the first letter, not all.
Either try to change your font type or try to install Mithran's Text Cache script. That tends to fix text issues and adds a huge speed up too for text drawing.
Btw, do all of your menus look like that or only the triple triad menus
Hey Sixth, how can we change the equip sound effect in the card album scene? It's lame right now 🙂
It was all menus after the resolution was put up to 640x480 but I have fixed it, I had a message resizer that was messing with everything, removed that and boom, its all looking sleeeek 🙂
Thanks for all your help guys, I love playing the triple triads game in my own game! (I should probably stop as its stopping me mapping and such!) haha
Also
When I win some duels it says that my album is full, where do I see the max capacity in the script for my album?
Thanks for all your help guys, I love playing the triple triads game in my own game! (I should probably stop as its stopping me mapping and such!) haha
Also
When I win some duels it says that my album is full, where do I see the max capacity in the script for my album?
In the General Settings script there is:
#===============================================================================
# Card Limit Settings:
#===============================================================================
# Set the maximum amount of cards the player can hold.
# Set it to 0 for no limit.
Max_Cards = 0
# Set the maximum amount of cards the player can hold from one type.
# Set it to 0 for no limit.
Max_Cards_Types = 0
Also, have you added the FIX for card album full bug couple posts behind (it's NOT included in the demo!)?
Thanks, and no I hadn't, done it now!! 🙂
Also is everyone's script in half Portuguese? or have I got a hybrid script for different languages? 😛
Also is everyone's script in half Portuguese? or have I got a hybrid script for different languages? 😛
Raizen wrote the script, Malagar and I just added some new features in it.
Raizen wrote it on his language, Malagar and I wrote it on English if you mean the comments in the script itself, so yeah, it is kinda hybrid in that regards. 🙂
As for the equip sound, why is it lame? o.o 😛
If you want to change it, find the 'def equip card' definition in the Card Album script, and change the first line of it ('Sound.play_ok') to this:
RPG::SE.new("the name of the SE file goes here").playYou can do the same in the Card Overflow script.
And if you don't like any other sound effects, you can change them all if you want.
Anything which starts with 'Sound.play_' is a sound effect, and you can replace any of them with the above mentioned line to play whatever SE you want. But it might help to know which SE happens where, right? 😀
I will make a setting for it in the next version of the demo, so don't worry much about it. 😛
Raizen wrote it on his language, Malagar and I wrote it on English if you mean the comments in the script itself, so yeah, it is kinda hybrid in that regards. 🙂
As for the equip sound, why is it lame? o.o 😛
If you want to change it, find the 'def equip card' definition in the Card Album script, and change the first line of it ('Sound.play_ok') to this:
RPG::SE.new("the name of the SE file goes here").playYou can do the same in the Card Overflow script.
And if you don't like any other sound effects, you can change them all if you want.
Anything which starts with 'Sound.play_' is a sound effect, and you can replace any of them with the above mentioned line to play whatever SE you want. But it might help to know which SE happens where, right? 😀
I will make a setting for it in the next version of the demo, so don't worry much about it. 😛
yeah its all working amazingly now,
Not sure if you guys know, but since I have switched to 640x480 my lighting system has gone a bit crazy (its only showing the image on 3/4+ of the screen...
Do you know the standard dimensions the picture needs to be to fit 640x480
as to fit standard its 288x288 🙂 (well for the lights)
as my screen tinting also seems bodged 😛
Not sure if you guys know, but since I have switched to 640x480 my lighting system has gone a bit crazy (its only showing the image on 3/4+ of the screen...
Do you know the standard dimensions the picture needs to be to fit 640x480
as to fit standard its 288x288 🙂 (well for the lights)
as my screen tinting also seems bodged 😛
Let me guess... You use a custom script for your lighting effects?
If it is Khas Awesome Lighting System, you don't need to edit any pictures.
Go into his script and search for 544 and 416.
Replace every 544 with Graphics.width and 416 with Graphics.height.
That should fix your issue.
If you use some other lighting system script, you will need to give me a link for it, because I used Khas's system only so far.
Or you could do the same what I wrote above, it might work if the code in that script is similar like Khas's code.
If it is Khas Awesome Lighting System, you don't need to edit any pictures.
Go into his script and search for 544 and 416.
Replace every 544 with Graphics.width and 416 with Graphics.height.
That should fix your issue.
If you use some other lighting system script, you will need to give me a link for it, because I used Khas's system only so far.
Or you could do the same what I wrote above, it might work if the code in that script is similar like Khas's code.
Go to def equip card and change 'sound.play_ok' to 'sound.play_equip' and thank me later, ok? 🙂 it sounds awesome now when u equip a card 🙂 like ur making a card squad 😀
Also question: How come combo is only operative with Same and Plus? Why can't combo be a setting all on its own? Couldn't you have combo without plus or same? I assume its because this is how the rules are in FF8 but this is purely arbitrary, right?
Nahh, that would make it a static SE still. If I make a setting for it, I will make it fully customizable. 😛
You will still be able to use the default equip SE with the settings.
And yeah, that is how it works in FF8 if I remember right.
I wouldn't modify that, even if I knew how to do it. Combo should be an extra effect when you made something else than just randomly putting down cards, it is like a domino effect.
Cards would be flipping left and right if it could be triggered anytime. 😀
It could be changed to trigger anytime for sure, but I lack the time and the motivation to do it... ohh and the knowledge too. 😀
You will still be able to use the default equip SE with the settings.
And yeah, that is how it works in FF8 if I remember right.
I wouldn't modify that, even if I knew how to do it. Combo should be an extra effect when you made something else than just randomly putting down cards, it is like a domino effect.
Cards would be flipping left and right if it could be triggered anytime. 😀
It could be changed to trigger anytime for sure, but I lack the time and the motivation to do it... ohh and the knowledge too. 😀
Hi guys,
What is the command to put a branch in if you win the duel it does this (in this case triggers a quest done )
If you lose he gloats and you want to punch him.
I know you'd need a conditional branch just not sure what the commands are to check if they win the game?
Cheers!
What is the command to put a branch in if you win the duel it does this (in this case triggers a quest done )
If you lose he gloats and you want to punch him.
I know you'd need a conditional branch just not sure what the commands are to check if they win the game?
Cheers!
Just copy the ones in the demo. They use the variables in the general settings.
See I tried copying the slime boys over, but it just keeps repeating all the same "lets duel" and keeps doing that,
I am probably doing something silly but I dont seem to be able to set up a 'triad game'
where if you lose you have to fight him till you win
and if you win you can continue to the next guy.
Could anyone enlighten me ? 🙂
I am probably doing something silly but I dont seem to be able to set up a 'triad game'
where if you lose you have to fight him till you win
and if you win you can continue to the next guy.
Could anyone enlighten me ? 🙂
Because you need to change the variables to whatever they are in your game!
I did I created my own Triad Variables n shiz and it just repeats, I will take another look :L
@Sixth
Hmm.. game seems to crash if you don't have enough cards to play?
Edit: Doesn't crash, it just exits out of the game all together.
Also, I am going to post a video soon... I assigned the 'D' button to initiate triple triad. For some reason pressing the key designated to start triple triad is causing some serious glitching when im not interacting with an event. Remember the autorun issue? It's similar to that...
Take a look at what happens to this event as I press 'D' when I'm not directly next to the event
https://www.youtube.com/watch?v=WDtbCAAvHng&feature=youtu.be
Hmm.. game seems to crash if you don't have enough cards to play?
Edit: Doesn't crash, it just exits out of the game all together.
Also, I am going to post a video soon... I assigned the 'D' button to initiate triple triad. For some reason pressing the key designated to start triple triad is causing some serious glitching when im not interacting with an event. Remember the autorun issue? It's similar to that...
Take a look at what happens to this event as I press 'D' when I'm not directly next to the event
https://www.youtube.com/watch?v=WDtbCAAvHng&feature=youtu.be
I can't even initiate a duel if I don't have enough cards, it just won't start it at all.
No crashes, no errors, it just won't start.
What do you mean "it just exits out of the game all together"?
Does your game closes itself or what? o.o
But you can always just event the check for having at least 5 cards before initiating a duel. Why would you let the player to even enter on the duel card choosing scene if the player got less than 5 cards?
Optionally, I can add a text message box saying that the player got less than 5 cards, so he/she can not initiate a duel. This message would pop up automatically when the player got less than 5 cards while trying to enter a duel.
And re-reading your post, I am not sure if I understood what you wrote in the right way.
Do you mean it exits out, as in, exits from the game itself or exits from the triple triad game only?
If it is the second, how did you even manage to start a triple triad game without at least 5 cards? o.o
As for the button press issue...
It won't trigger any side effects in my game at all.
Just to eliminate the possibility that it is caused by another custom script you are using, make a full search (CTRL+SHIFT+F) for 'def update_nonmoving'.
If you find a match in a custom script, try to put the activation script below the last script with the match on the script list. If you don't find any match, than I guess I will have to find another way of initiating a duel with the button press.
Can't watch the video now, unfortunately, so can't even guess for more possible solutions, but when I manage to watch it, I might be able to figure something out.
No crashes, no errors, it just won't start.
What do you mean "it just exits out of the game all together"?
Does your game closes itself or what? o.o
But you can always just event the check for having at least 5 cards before initiating a duel. Why would you let the player to even enter on the duel card choosing scene if the player got less than 5 cards?
Optionally, I can add a text message box saying that the player got less than 5 cards, so he/she can not initiate a duel. This message would pop up automatically when the player got less than 5 cards while trying to enter a duel.
And re-reading your post, I am not sure if I understood what you wrote in the right way.
Do you mean it exits out, as in, exits from the game itself or exits from the triple triad game only?
If it is the second, how did you even manage to start a triple triad game without at least 5 cards? o.o
As for the button press issue...
It won't trigger any side effects in my game at all.
Just to eliminate the possibility that it is caused by another custom script you are using, make a full search (CTRL+SHIFT+F) for 'def update_nonmoving'.
If you find a match in a custom script, try to put the activation script below the last script with the match on the script list. If you don't find any match, than I guess I will have to find another way of initiating a duel with the button press.
Can't watch the video now, unfortunately, so can't even guess for more possible solutions, but when I manage to watch it, I might be able to figure something out.
Thanks -
Album Text [12] is specifically for the occasion that a player tries to play with less than 5 cards, it's in the script already.
Album_Text[12] = 'Not enough cards!'I figured it would be burdensome to do an additional conditional branch checking the amount of cards for each player, but I suppose it will just take a few. And yes - it exits out of my game entirely, not just triple triad. It just closes, no error message or anything.
As for the second problem, something is allowing the initialization key to have an effect when it should not - I will check. Thanks. Let me know when you have decent internet, I can send you a demo.
Edit: I checked for that 'def' and found nothing.
Edit: Ok, so this particular problem in the video above is caused by the fact that I had the event movement for the triple triad event page set differently than his regular movement, so when I pressed 'D' even though I wasn't near him, his page switched and he started moving randomly (which was the movement accidentally set on the event page).
Album Text [12] is specifically for the occasion that a player tries to play with less than 5 cards, it's in the script already.
Album_Text[12] = 'Not enough cards!'I figured it would be burdensome to do an additional conditional branch checking the amount of cards for each player, but I suppose it will just take a few. And yes - it exits out of my game entirely, not just triple triad. It just closes, no error message or anything.
As for the second problem, something is allowing the initialization key to have an effect when it should not - I will check. Thanks. Let me know when you have decent internet, I can send you a demo.
Edit: I checked for that 'def' and found nothing.
Edit: Ok, so this particular problem in the video above is caused by the fact that I had the event movement for the triple triad event page set differently than his regular movement, so when I pressed 'D' even though I wasn't near him, his page switched and he started moving randomly (which was the movement accidentally set on the event page).
Yes, that Album_Text[12] used to do that.
But if you take a look at the 'triple_triad(id)' definition:
I marked the line which is relevant with a comment.
That means nothing will happen if the player got less than 5 cards. I don't think I was the one who put that check in there, thou.
But the game closing without any error... I can't trigger that thing, no matter how I try.
And looking at the definition in the spoiler, it should be clear that it can not be caused because of the lack of cards. Try it in the demo, and if it happens for you even there, than you can send me the exact steps to reproduce the issue, so that I can solve it.
I will need to check how exactly the activation script operates, because I have no idea when does that definition triggers exactly. When I did that, I can be more clever with the solution, or at least I hope. 😀
And sure, I will check out your demo. No idea when will I get my hands on a better connection thou. >.>
But if you take a look at the 'triple_triad(id)' definition:
def triple_triad(id) if total_triad_cards > 0 # <-- This line! load_triad_enemy(id) $triple_force_5_cards = true if $game_timer.total_cards.size > 0 SceneManager.call(Scene_Triad_Album) $game_variables[Config_Triple_Triad::NumDuelsVariable] = $game_variables[Config_Triple_Triad::NumDuelsVariable] +1 end end end
That means nothing will happen if the player got less than 5 cards. I don't think I was the one who put that check in there, thou.
But the game closing without any error... I can't trigger that thing, no matter how I try.
And looking at the definition in the spoiler, it should be clear that it can not be caused because of the lack of cards. Try it in the demo, and if it happens for you even there, than you can send me the exact steps to reproduce the issue, so that I can solve it.
I will need to check how exactly the activation script operates, because I have no idea when does that definition triggers exactly. When I did that, I can be more clever with the solution, or at least I hope. 😀
And sure, I will check out your demo. No idea when will I get my hands on a better connection thou. >.>
Original thread: https://forums.rpgmakerweb.com/threads/triple-triad-ff8-mini-game.22285/
