GTBS v1.5.1.4 - A FFT Styled Battle System (5/19/2010)

Great script indeed. Thank you Gubid.

Only trouble I ran into was creating a ranged (normal) attack for enemies. This probably was fixed though/I probably did something wrong.

It would be great to see the Advanced Wars Add-on.
I started a new project in vx, copied all of the scripts and all of the graphics from the sample VX game, but whenever I hit an enemy I got an error message(undefined method "name" for nil class), pointing me to this line:
it's on Bitmap/animObj
@turnable = animation.name.downcase.include?("[turn]")
I don't know where to start to fix it, I hope someone can help...
Just copy all animations in the demo to your new project and everything will be OK (^^)
thanks it worked =)
Another question, I use tint screen in my game in some places, but when I enter a battle, it goes back to the default tint, I can use a battle event to tint it again, but I can't make it work before the 1st turn. (therefore the "BATTLE START" and first enemy/your turn messages have still the default lightning) is there a way to make it when you enter a battle it doesn't reset the tint?
Gubid, I've tried $scene.remove_battler("enemy", 49, 117)
where: $scene.remove_battler("type", id, anim)
but nothing happens, even with $game_temp.in_battle as a conditional branch.
any ideas on how to fix this?
Edit: P.S.: I'm using VX
You are a Godsent!
I do not know if anyone else has this problem. In the VX version enemies ranged attacks don't seem to work.
How do you change the battler picture for the characters in RMXP?

I changed the battler for one of the actors, but in-game it doesn't display the battler in the top-right, how do you get the script to display the new battler?
where is gubid ?? he is not posting for more than 1month !
Doesn't look like he offers support on this script anymore  :dead:


i made a test game to see if i can put this system into a game, and this pops every time i get into the game, can you tell me whta's the problem? :P
Why is the button in japanese? If it's an illegal copy it won't work, because none of the translations translate the script, and so it won't recognise any functions. If you want it to work you'll need the proper version.
I am still here!  Sorry, have been way to busy this last month to do much of anything.  I also admin at another forum(www.rpgm.org) but besides that just been working on filling old request that I took and never delivered.  I still have a bunch of things to finish scripting before I return to finish the 1.5 gtbs.  Its mostly done, just have some bugs to work out. 

As for the range things not working in vx, the problem has since been corrected, but is caused because I used self.id(xp command) to get the enemy id instead of the new method.. self.enemy_id to ask gtbs module what the ranges should be. 

Anyway, need to be off.  Later
Hmm, this might sound really stupid, but I know practically nothing about scripting :(

Is there a way to turn a switch on when the battle finishes?
Set a victory condition then pass a common event that sets the switch for you.
Please forgive ma lazyness; but I just downloaded your script, and didn't bother rumaging through nearly 40 pages of posts...
This script seems to be exactly what I was looking for... exept a couple annoying things happening in the demo

1/ after placing my actors and started the fight, I have to press the action button once more for the combat effectively taking place. Did I miss something ?

2/ I tried replacing 'place' events with 'actor1' 'actor2' and 'actor' as specified in the help file. In ths cas, the actor are well placed when the combat starts; baut the game hangs ther with the battle BGM running.

3/ I also tried to start a combat with a slimes*2 troop. and ended up.... not with as many slimes as there are 'enemy' Events on the map (6); but 'only' 5 slimes

I'll try it a little more. See you later 😉
Sorry to keep asking questions but, if I put in an event as script:

tbs_victory(10)

It would mean that if all the enemies are defeated then call common event number 10, correct? Just want to check whether the problem lies in that or my eventing.
What is the reason behind rplacing the tileset in the VX version with your own? Why did you take out tiles and replace them with numbers?
Its to display the isometric hieghts.  The number represents the current height on the map.  It had to be done on a non-autotile tileset and hence it I chose one.

tbs_victory(nil,nil,10)
this will say.. run common event #10 when all enemies have been defeated.

1. can you explain a little more what you mean, I am not so sure I understand it.
2. There was an issue in 1.3 and prior where if you had a autostart or parallel event you could get stuck in the battle scene and it attempting to abort each 'update'.  This should be resolved in 1.4, but if you are using 1.4 I would need a demo to determine the exact cause of the problem.
3. This is because of 1 thing, the script by default is setup to add 3 new slimes to the first troop in the database, which happens to be 2* slimes.  2* in turn becomes 5* slimes.  But I never place more enemies than there are in the existing troop.

Hope that answers your questions, let me know if you continue to have problems.
Lets say we have no intention of ever going to an "iso map". Would it be safe to use the default tilesets? Could I remove the iso scripts (Isometric Basic, and Advanced)?
1/ In the Q&A you ptovided with the demo, ther is the following issue

#
# How do I place actors, enemies and/or neutrals on the map?
#----------------------------------------------------------------------
#     Create an event with a name including "actor","enemy" or "neutral"
#     followed by a number.
Expand to see the code.


On the map of the demo, there are nly "enemy", "neutral" and "place". So, I renamed 3 of the "place" as "actor1", "actor2" and "actor3", and deleted the remaining "place" (I also tried leaving them in place).
When I started the fight, my characters were already in the specified spots, the combat BGM was started, but I never get the "Combat start" messsage, ond whatever keu I press, nothing more happen.

----------------------------------------------------------------------------

2/ When I said I was lazy... 😛

----------------------------------------------------------------------------

3/ Although I don't understand why it adds those 3 slimes, it works perfectly with the other slime combat you provided. Thanks.
any intentions of finishing the line skills piece of the code? I'm in the mood to make a laser beam attack that would span the entire battlefield because that would be awesome, but I guess I'm still waiting.
Is there a tutorial on how to make battles, change enemies attacks etc? Or do we have to guess how to work this script?

Just realised it is in the scripts list  😆
sorry for bugging, but what about my post? i really need help
giam, even though you have no intention of using iso, I would leave the script there as gtbs relies on it to a small degree, mostly for checking what method to use.  However you are free to remove the tileset and use the default.  It was just given as an example of iso based maps.

fustel, I will need a demo to figure what the problem is.

coprolalia, the line skills part is already complete.  The help file may not be up to date though. Look in the demo for the dash skill and its setup to use line skills.

gimnis, you error is because you didnt copy all of the scripts OR you didnt place them in order.  I would recopy the scripts to make sure that you have them in the correct order as in the demo.
Is it possible to summon more than one summon with the same skill? I cant seem to figure this out by looking at the code... and maybe by using a cross patter range (i.e. range = [3,1, false, true ] )
No, you must have a different skill for each one, because the actor when summoned can only be in 1 location.  I suppose I could create copies of the object when summoned but because of other request I have never considered it. 
If you have the time Gubid, I would greatly appreciate it!  :thumb: Thank you.
I am trying to put it within another scripts in my project but I am getting some errors here, look:
In Game_Battler, line 403 (@current_action.clear(true)), I'm getting wrong number of arguments, 1 for 0, just after the battle to begin. Although it is needed to be there, otherwise the characters will just be walking in the same place. What can I do?
This is YOUR demo I used. I just changed the name of the 3 Event below the 'neutral1' one, from 'place' to 'actor1', 'actor2', and 'actor3'. The ones I deleted are the 4 to the left. I touched nothing else..

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