Individual Battle Commands
#1
Individual Battle Commands
by RPG Advocate
saved from Phylomortis.Com


Introduction
This script changes the battle engine so that each character has individual battle commands, rather than be restricted to the four defined in the database. It also changes the engine so that battle commands are recognized by name rather than by position within the battle command menu. With the code provided here, each actor's default battle commands are still "Attack", "Skill", "Defend", and "Item". The code provided here is only a framework that makes it easy to add new commands, and still only supports the four basic commands. To add support for new commands, you will need to make the engine recognize them by adding to the case statement starting around line 380 in the script, and then adding the code to process the new command.

To change an actor's command through a script call, merely use:
$game_actors[n].battle_commands = ["Attack", "Skill", "Defend", "Item"]
where 'n' indicates the actor in your database... substituting the names of the commands in the array with your own.

Again... the engine recognizes the names of the battle commands rather than index positions. So if you do not add the new command(s) (by its name) to the engine, any added command(s) won't be recognized.


Script
"script"
Reply }
#2
can't you already edit this by class somewhere? i remember doing it once a long time ago without any extra scripts
Reply }
#3
You can change the basic names of your Attack, Skill, Item, and like items in the SYSTEM database, but they are used globally throughout the game for all the actors. And I heard that RM2K3 allowed slight customization of names per actor, but it was a little limited. But this allows you to customize the individual names of every command for each actor.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
#4
RM2k3 allowed you to have varied number of commands of several types for each character or class.

I'm looking at this script and it seems not only poorly applied, but more limited than the RM2k3 version. Granted everything seems clunky to me when I see large swabs of default code pasted in.
Reply }
#5
True. On the other hand, it was the first known version of the system. Advances have been made since then. This is good as a learning tool.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Battle Item Count kyonides 4 2,166 02-04-2024, 05:49 AM
Last Post: kyonides
   Dalissa's Battle Cry DerVVulfman 2 7,436 05-09-2023, 03:07 AM
Last Post: DerVVulfman
   Zenith Tactical Battle System Plus (ZTBS+) DerVVulfman 0 2,849 05-10-2022, 10:42 PM
Last Post: DerVVulfman
   Actor Battle Items DerVVulfman 4 6,094 11-08-2020, 12:36 PM
Last Post: Mel
   Battle Report Raziel 1 6,987 05-29-2020, 02:27 AM
Last Post: Whisper
   ZLSL's Battle Portraits DerVVulfman 4 7,525 11-12-2019, 04:10 AM
Last Post: DerVVulfman
   ACBS - Atoa Custom Battle System 3.2 Victor Sant 150 255,883 03-02-2019, 04:47 AM
Last Post: dragonprincess44
   Mimi's Battle Music DerVVulfman 2 8,839 11-19-2018, 04:18 AM
Last Post: DerVVulfman
   ATOA Chanting Battle Animations DerVVulfman 9 17,868 01-12-2017, 01:46 PM
Last Post: Noctis
   Automatic Battle Actions Claihm 1 7,417 08-15-2016, 09:15 PM
Last Post: Mel



Users browsing this thread: 2 Guest(s)