Save-Point
CTB - A Final Fantasy X-like Battle System, Version 3.2 - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+--- Thread: CTB - A Final Fantasy X-like Battle System, Version 3.2 (/thread-2298.html)



CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - Charlie Fleed - 02-06-2010

If you press LEFT there's a second command window with these commands.


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - zackxxi - 02-06-2010

I may have overlooked it, if so I am sorry. But is there a way to make it where the actors do not run forward/to the ally to cast spells and use items? I think I recall seeing it somewhere but I can't find it now. =( Sorry to bug you over this.


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - Charlie Fleed - 02-06-2010

Sure, it's in the configuration of Animated Battlers. Look for MNK_STATIONARY_SKILLS and MNK_STATIONARY_ITEMS.


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - Guest - 02-06-2010

Darn Charlie. You beat me to it.


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - Charlie Fleed - 02-06-2010

Silne30 Wrote:Darn Charlie. You beat me to it.

try again Grinning


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - zackxxi - 02-06-2010

Ok, im new to scripting. Is there a certain thing I can put in the box to where it makes all spells and item use stationary? So I dont have to put each number of every spell. =) Thanks for the time.


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - Charlie Fleed - 02-06-2010

I'm afraid there isn't.
However you can try this. Make a new empty project and create an event with the following script event command:
Code:
MAX=200
outfile = File.new("list.txt", "a")
list=Array.new(MAX-1)
list.each_index { |index|
  list[index]=index+1
}
outfile.write sprintf ("%p",list)
outfile.write "\n"
outfile.close

Run the game and activate the event. Close it. You'll see a text file with the list. Change the MAX value to meet your needs.


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - zackxxi - 02-06-2010

Awesome! Thanks a ton. =) By the way. What formula do you use for drakoken to determine if it learns the skill?(if you dont mind me asking)


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - Charlie Fleed - 02-06-2010

rand(100)*user.int - rand(100)*self.int > 0

it relies on the comparison of the int values, with some randomness added to it


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - zackxxi - 02-06-2010

Gotcha. =) So I can jack up int values of the enemy if I need to make some harder to learn. Thank you.