Help - Search - Members - Calendar
Full Version: Multicast (cast several spells in the same turn)
RPG RPG Revolution Forums > Scripting > Script Submissions > RGSS2-Submissions
332211
Multicast


Autor: 332211
Last Date Updated: 2009.05.12
Version: 2

Exclusive Script at RPG RPG Revolution


Introduction
This script allows the creation of skills like Doublecast which cast 2 or more spells in a row.

Script
Click to view attachment

Customization
Placing these tags into a skill's notebox will allow for a certain number of
spells to be cast in one turn.

<multi_cast x>
The skill will allow for x spells to be casted in one turn
(like Doublecast in FFT)

The skills which can be multicasted are the ones without the 'Physical Attack'
box checked.

<chain_cast>
The skill can be multicasted even without the 'Physical Attack' box checked.

<no_chain_cast>
The skill can't be multicasted even with the 'Physical Attack' box checked.

Compatibility
Defaul battle system

Alias:
- Scene_Battle:
~ determine_skill
~ execute_action_skill
~ update

New methods:
- Window_skill:
~ update_skill_list
~ update*
- Scene_Battle:
~ update_chain_skills_command_selection
~ target_ally_selection_cs
~ target_enemy_selection_cs

Screenshot


Credits
Yanfly, for the script head template tongue.gif
kaimonkey
One, single word: Amazing!
Octople Threat
I have an idea for a feature you can add.

Let's say you select Fire, Ice, and Bolt spells with the triple cast. well, instead of being cast separately you instead cast an epic combination spell.
IkaruTak
Hey! This is an excelent script, I insert it in my game, but when I use the "Doublecast" skill, the game crash and pop-up an error in the line 241
332211
@Octople Threat
not in the list of my top priorities because I is not the way I want the script to go.

QUOTE (IkaruTak @ May 13 2009, 04:46 AM) *
Hey! This is an excelent script, I insert it in my game, but when I use the "Doublecast" skill, the game crash and pop-up an error in the line 241

What other scripts are you using?
IkaruTak
ahmm.. a lot of them xD ahmm...

KGC DistributeParameter
New Visual Battle (Add faces on the battle screen)
Flash Target Enemy
Define Enemy HP
Yanfly Engine RD - Usable Item Fix
Yanfly Engine RD - Variable Controlled Discounts
Yanfly Engine RD - Custom Status
Yanfly Engine RD - Custom Target Select
Yanfly Engine RD - Custom Skill Effects ReDONE
Yanfly Engine RD - IconView
Yanfly Engine RD - Menu System Options
Yanfly Engine RD - Skill Query
New Window Savefiles (Show player's names in the Saved Game slot)

These are all the scripts that I'm using
Lurking
Cool, but there should really be a function that warns the player if they're about to double/triple/quad cast something and don't have enough MP (like a message that pops up that says "%n did not have enough MP to finish the cast" in combat).
Linda
Erm, was wondering if someone can help me with this?

Everything works out great until the person actually casts the spell, and this pops up.


EDIT: I realized the image was too small.. xD;
It says:
Script ' ' line 251: NoMethodError occured.
undefined method `chain_target' for nil:NilClass

I tried using it with different spells, and sometimes it'll work. Like, it'll cast the first spell I chose, but the second one wont pop up.

Battle Script Im Using: http://www.rpgrevolution.com/forums/index....showtopic=18304 (I tried doing what he said for that error, starting from a new save, but still nothing..)
Octople Threat
The Tankentai battle system is monster of a script that only compatible with a couple dozen other scripts. It looks good sure, but is it really worth the sacrifice of the hundreds of scripts you could use without it?

Short answer to your question, it doesn't work because of Tankentai and it's, IMHO, overly complicated setup for any one attack.
Auron3000
Soooooorry for the a year ago-bump, but i really want this script (and many people too)
the script has some compatibility errors, someone might fix it? make a version 3 i don't know...

don't ban me xD, i actually enjoy the place ): i just want the script mellow.gif

my apologies.
Fonstw
QUOTE (332211 @ May 10 2009, 10:16 AM) *


How do i make one skill cast other skills?
If I do for exaple: <multi_cast 40,41,42,43,44> it does not work...
Please put an example in the script or make a demo.

EDIT: ANSWER ME!!!!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.