Advanced Individual Battle Commands V4.2

Remember this

{key => value, key => value} is a hash
[value, value] is an array

For your question though

special_learn actor.skills.include?(skill_id)
Expand to see the code.


where skill_id is the skill id that needs to be learned
Ok! Thanks a lot trickster!
Is the support for the Blitz Command still implemented?
No Twilight that is a different script Bag of Battle Commands which I haven't updated yet, but you already knew that didn't you :p

Updated to Version 3.5.1 fixes a bug with the name set parameter thanks Jonny
When I try to save my game by compressing it and encrypting so that I can e-mail it to my friend, an error message pops up that says: Unable to find Data\Commands.rxdata
And when I rename BattleCommands as Commands I get this error message:
http://img368.imageshack.us/img368/8861/errormessage3js8.th.png[/IMG]
It was stated in the instructions what you needed to do
  #--------------------------------------------------------------------------
  # * Save Data
  #   - Set to True Run Project at least once then turn this option off
  #     if you want to encrypt your project (this will prevent a file not found
  #     error found if you encrypt your project w/o using this option)
  #   - Note: This option will create a file that can be loaded used load_data
  #     which can be read in encrypted projects (Commands.rxdata)
  #--------------------------------------------------------------------------
Expand to see the code.


Set that constant to true
Run your Project Once Before Encrypting (This creates the File Commands.rxdata)
then encrypt your project
Alright, thanks for pointing that out.
I seem to be having problems using it in my game and the game itself is pretty bare-bones. So far I've added (in this order):

SDK 2.1 (Parts I-IV and the Update Patch)
MACL 1.5
Advanced Individual Battle Commands
Advanced Targetting

My CMS (basically an edit of Catchm's FFX-2 CMS)


Anyway, the problem lies when I go into battle. If I select "Fight" I get this error:
http://img85.imageshack.us/img85/6734/errorqb5.gif[/img]

I've tried it with copying your actor database and still get the same error and I don't see anything else I would have to turn on given the simple instructions...

Any ideas?
This must be a bit silly question, but:
If I want a command to be unlocked through game events,
what special learn condition has to be set?
how would be the script call to unlock it?
[QUOTE=nellshini;167139]I seem to be having problems using it in my game and the game itself is pretty bare-bones. So far I've added (in this order):

SDK 2.1 (Parts I-IV and the Update Patch)
MACL 1.5
Advanced Individual Battle Commands
Advanced Targetting

My CMS (basically an edit of Catchm's FFX-2 CMS)


Anyway, the problem lies when I go into battle. If I select "Fight" I get this error:
http://img85.imageshack.us/img85/6734/errorqb5.gif[/img]

I've tried it with copying your actor database and still get the same error and I don't see anything else I would have to turn on given the simple instructions...

Any ideas?[/QUOTE]

Try the new version

[QUOTE=daigotsu;167214]This must be a bit silly question, but:
If I want a command to be unlocked through game events,
what special learn condition has to be set?
how would be the script call to unlock it?[/QUOTE]

use in game switches the condition would be

$game_switches[id]

where id is the id of the switch without leading zeroes

Script updated to Version 3.6
Long time no write here.

Well, its me again, with a question:

How to make a command, which makes a random skill, being from x number to y number, and/or x, y, z, a number skills?

nice, an upgraded version, i must put it again coz i formatted my pc and lost all my project and blaah :(
im sorry for bumping this but i need you to help me with this thing

i need a system like in FF9 vivi and Steiner thing
but as element

lets just say character A is like vivi but in my version its little different

if A has skill named Flare(Fire element) then B, C and D can use their learned skills that are Fire element based(if A doesnt have Flare but B/C/D has Fire element based skills, it cant be used) and every time they use Fire element type of skill A will loose small mount of SP. If A is dead or SP is 0 then element based skills cant be used.

thanks in advance, and sorry about bad explenation, i suck at it
does this have the ability to make an overdrive option? kind of like in ffX when your character hits OD the OD option pops up along with all the other commands. just a question
[QUOTE=pmhoa;181723]im sorry for bumping this but i need you to help me with this thing

i need a system like in FF9 vivi and Steiner thing
but as element

lets just say character A is like vivi but in my version its little different

if A has skill named Flare(Fire element) then B, C and D can use their learned skills that are Fire element based(if A doesnt have Flare but B/C/D has Fire element based skills, it cant be used) and every time they use Fire element type of skill A will loose small mount of SP. If A is dead or SP is 0 then element based skills cant be used.

thanks in advance, and sorry about bad explenation, i suck at it[/QUOTE]

You need a better explanation if you want me to do anything for you

@christof3264 - Yes Try Searching the RGSS Support Forum I have answered how to do that with this script there
I get this error when i go into battle. It was working fine yesterday too..

http://img211.imageshack.us/img211/8274/errorno0.png[/img]
ah sorry for bad explenation, lets just say my mage is root for all elemental skills. if my mage has certain Elemental Skill (example. fire, ice, lighting, etc.) others can use that type of element based attacks which my mage has learned. so if others have Lighting based Elemental attack skill, and my mage doesnt have skill Lighting then they cant use it, unless my mage learns it, And if they have Fire based elemental Attack skill, and my mage has Fire named skill, they can use it their Fire based element skill.

so basicly my mage will learn skills named
Fire, Lighting, Ice, Water, Earth, Wind.

and my Monk will learn
Hot Kick, Lighting Slash, Ice Guard etc... (he cant use Hot kick if mage havent learned Fire skill, or he cant use Ice Guard if mage havent learned Ice skill)

sorry for long text and thanks again in advance :)
pmhoa this is more a problem that Seph's skill requirements can help you with all I you can with this script is get them to not show up in the window and not have them appear disabled in battle, so check his test bed or you can reply and I'll give you the command for this script for that but they will not show up in the windwow
I get an error when I go into battle and press fight. It says:

Script 'Class Modifications' line 197: NoMethodError occurred.

undefined method `[]' for nil:NilClass

I'm using version 3.6 and SDK 2.2
is this the line with the error
    @special_commands << $game_commands[command_id, self]
Expand to see the code.


If so then there is no way you could have gotten that unless something is messing with your Scene_Title script and edits a method

What other scripts are you using?
Don't worry about my problem. Turns out it was the RTAB.
I'm using:

SDK 2.2
your method and class library 1.5
a bitmap.memory script
Cybersam's keyboard input module
the 1-Scene CMS by Legacy
a bar script that I think was created by cogwheel
DerVVulfman's Limit Break script v. 1.6
a lvl up notifier that I can't remember where I got
your Advanced Individual Battle Commands(obviously)v. 3.6
SephirothSpawn's weapon specials
your bag of skill effects v. 4.0
Near Fantastica's path finding script
Prexus's px module
Prexus's inn script
ccoa'a tileset swap script
ccoa's three image title edited by you
a script that let's you play .avi files
sasuke89's locker and storage system
BlueScope's name input script
a script by alexanderpas that forces you to save when you make a new game
a script by alexanderpas that auto-saves your game to the file you loaded
SephirothSpawn's multiple animations script
your map info script
your bestiary script v. 1.1
your window_sprites script
a memorize_location script by dubealex
a credits script edited by midas mike
character biography script by ItalianStal1ion
Status effect changes by ccoa(i think)
and ccoa's UMS script

I hope that's not to many.
Oh the problem is with LeGacY's CMS :-/

That script has been causing problems with alot of other scripts

I'll see what I can do, but I am not creating a patch for my script to his I'm going to rewrite his entire script (I don't know when soon)

But yeah when you save the $game_commands array is not saved with the save data and when you go to load it doesn't get loaded causing problems later.
Alright, I guess I'll just wait until then. Thank you! :D
[QUOTE=Trickster;182420]pmhoa this is more a problem that Seph's skill requirements can help you with all I you can with this script is get them to not show up in the window and not have them appear disabled in battle, so check his test bed or you can reply and I'll give you the command for this script for that but they will not show up in the windwow[/QUOTE]
okey thanks alot for the info :D
Found a bug: skills which are specified through the "skills" section (those you can put into a particular command, no need to be learned) can be used even if actor's sp(not command ammo) isn't high enough. If used they consume
sp as always, even if sp is too low.

Like in Holy command, you can use its skills with any sp.
Ok, I will look into it
I have been trying to use your script, but the only problem is I'm having trouble re-naming the starting commands. I am not very good with scripting and a lot of this is coming to me as if it were another language.

Basically, I'd like to change the command 'Skills' to be another name, like 'White Magic' if the actor is of a certain class.

So if Actor3(Rosa) is Class4(White Mage), 'Skills' becomes 'White Magic'

How would I do that in the battle commands data?

Or should I be editting it elsewhere?
Sorry, a very stupid question...
Is it possible to have the SDK-1.5 version of this script?
SDK 2.X mess half of the script I use, so I can't use it ÃÂ §_ÃÂ §
I'm also curious if there is a way to use this script without the sdk
@Silencher - you would use the skill_set parameter reply if you need further assistance
@Weiss - Use the SDK update patch found in the SDK topic
@NBEOTM - Try removing the SDK lines if it doesn't work then sorry.

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