!!

Welcome to Save Point!

Formerly known as RMVXP, Save-Point is a game creational forum that aids users in creating games using software like RPG Maker or Game Maker. Support is also available today for members and members can also upload and download resources and scripts to use in their games. If you are new or experienced we welcome you to register.

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[XP Script] Individual Battle Commands
RPG Advocate
Unregistered

 
Thanks:
Given thank(s) in post(s)

Save Points: 0sp
Awards:

Gender:
Favorite Maker:
Post: #1
Individual Battle Commands

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"
03-03-2008 05:24 AM
Quote this message in a reply
KasperKalamity Offline
Misanthropic Lorax

****
Posts: 625
Joined: Oct 2011
View My Download Submissions
Thanks: 9
Given 2 thank(s) in 22 post(s)

Save Points: 5,118sp
Items: (View All Items)
Awards:

Gender: Male
Favorite Maker: RPG Maker XP
Post: #2
RE: Individual Battle Commands

can't you already edit this by class somewhere? i remember doing it once a long time ago without any extra scripts
10-08-2011 03:42 PM
Find all posts by this user Quote this message in a reply
DerVVulfman Offline
Administrator

Posts: 4,238
Joined: May 2009
View My Download Submissions
Thanks: 23
Given 59 thank(s) in 146 post(s)

Save Points: 14,688sp
Items: (View All Items)
Awards:

Gender: Male
Favorite Maker: RPG Maker XP
Post: #3
RE: Individual Battle Commands

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...)
Personal standpoint...
"I believe in giving people options, not 'forcing' only one script or system upon everyone. Adaption is key, not specialization. Overspecialize, and you breed in weakness."


10-09-2011 03:44 AM
Find all posts by this user Quote this message in a reply
Taylor Offline
slate furry thing

****
Posts: 271
Joined: Mar 2010
View My Download Submissions
Thanks: 0
Given 2 thank(s) in 8 post(s)

Save Points: 13,990sp
Awards:

Gender: Undisclosed
Favorite Maker: RPG Maker XP
Post: #4
RE: Individual Battle Commands

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.

[Image: m1.png]
10-09-2011 04:38 AM
Visit this user's website Find all posts by this user Quote this message in a reply
DerVVulfman Offline
Administrator

Posts: 4,238
Joined: May 2009
View My Download Submissions
Thanks: 23
Given 59 thank(s) in 146 post(s)

Save Points: 14,688sp
Items: (View All Items)
Awards:

Gender: Male
Favorite Maker: RPG Maker XP
Post: #5
RE: Individual Battle Commands

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...)
Personal standpoint...
"I believe in giving people options, not 'forcing' only one script or system upon everyone. Adaption is key, not specialization. Overspecialize, and you breed in weakness."


10-09-2011 04:44 AM
Find all posts by this user Quote this message in a reply
Post Reply 


User(s) browsing this thread:
1 Guest(s)


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
   Romancing SaGa Battle System orochii 0 110 05-09-2013 05:55 AM
Last Post: orochii
   Yanfly Battle Status Helladen 3 481 04-20-2013 04:40 AM
Last Post: Helladen
   Battle Report Script Window style mageone 4 1,833 03-20-2013 10:51 PM
Last Post: KasperKalamity
   Sideview Battle System Tankentai XP - Version 2.2xp Victor Sant 22 6,667 03-03-2013 05:37 PM
Last Post: DerVVulfman
   ACBS - Atoa Custom Battle System 3.2 Victor Sant 134 28,873 02-13-2013 04:57 PM
Last Post: daylights
   Ar Tonelico CBS Add-On : Atelier Series Battle Camera MGC 13 4,613 02-03-2013 03:26 AM
Last Post: penguwin
   GTBS - v1.5.2 (A FFT styled tactical battle system) updated 5/30/2012 GubiD 44 9,388 01-25-2013 02:33 AM
Last Post: cheos
   Victor Engine - Active Time Battle Victor Sant 0 307 12-16-2012 08:17 PM
Last Post: Victor Sant
   Golden Sun Camera Battle System DerVVulfman 3 895 11-18-2012 08:29 PM
Last Post: Yin
   CTB - A Final Fantasy X-like Battle System, Version 3.2 Charlie Fleed 572 82,391 08-22-2012 04:37 PM
Last Post: Rose Guardian



 Quick Theme: