Help - Search - Members - Calendar
Full Version: + < Mix Skills System > + *NEW DEMO 16/01/2009*
RPG RPG Revolution Forums > Scripting > Script Tutorials > RGSS2
woratana
Mix Skills System
Version 1.1
by Woratana
Release Date: 26/05/2008


Introduction
This script is requested by Rast.

It is the system that allow you to mix 2 or more skills to get 1 or more skills.
You can create unlimited recipes, and each recipe you can set what actor can/cannot use.

You also can edit text in the mix skills system's windows easily in SETUP PART.

Enjoy~ laugh.gif


Features
CODE
# - Mix 2 or more skills to get new skill(s)
# - Choose actor(s) that can/cannot use each recipe
# - Choose to just add new skill(s), or remove skills you used for mix too.
# - Easy to edit text in Mix Spell System windows



Screenshots



Demo
Here is demo that will show you how to call/setup this script. smile.gif



Script
Place it above main
Click to view attachment



Instruction
Call Scene_MixSkill by call script:
CODE
$scene = Scene_Mixskill.new


The instruction to setup script is included in the script. biggrin.gif


Author's Notes
Free for use in your work if credit is included.


Bug Report?
Please give me these informations:
QUOTE
- What is it says in error window?
- When is it get error? (Right after run game, when you choose something, etc.)
- Do you have any other scripts running in your game that may crash with this script?
drebenk
@woratana WOOO HOOOO! Nice script mate. I love it.

/offtopic and I'm waiting for a quest log script from you. It will be the only quest log script I'll use in my game. ^^
woratana
Thanks biggrin.gif

The quest log is finished too. But because technical problem,
I've to remove the "Region" in menu that will show all regions you have passed.

Though, 'region' in the system will still work~
and I also add MODE to set what script that will be show in quest window. In case anyone want to use it without region system. smile.gif
drebenk
@woratana I can't wait for the release of your next script mate. I love all of your scripts more than I love muffins (and I really do love muffins a lot). ^^
Puppet Of Fate
Oooooooooooh I like it. Nice work buddy.
Phili
Thanks Woratana, your scripts are always good smile.gif
Joosu
Thank you soooo much!
Gamerbird
Would you be able to implement this into the actual menu hopefully not overiding any other of the menu scripts I am using? If so can you post please as I would be most grateful!
wsensor
I think I mentioned over at rmxp , org

that this could be used to make a really good alchemy useing class XD
just need an item requirement that reduces total items for each skill use...
say you have alchemy skill

bomb <= 1 blast powder, 1 fuse
egg toss <= 1 egg... (generic skill that you get if you have eggs in your inventory...)

new skill = Egg bomb <= 1 blast powder, 1 fuse, 1 egg (bomb that does base bomb damage but higher ammount of whatever that variance is... meaning you might do a lot more or less damage)

it could be really funny...

would be nice if you could allow using items to make skills also...

such as you dont have the bomb skill but you have the items and a recipe for bomb...

1 blast powder 1 fuse in your inventory...

now you could allow them to choose random skills and items... to let them learn skills that are hidden or something...

so say instead of giving them egg toss as a skill

all you would need is [BOMB] skill and an "EGG" and choose combine...

and poof you get the new EGG BOMB skill hehee

I just wish vx had a better built in battle system
brawler12
Is it possible to make it stay in the menu with everything else (Items, Status and Equip)?
Talos15
Would it be possible to mix 2 or more items instead of skills?

Thanks, great script by the way! happy.gif
shiriko1989
Wow... This Script, actually can make it in alchemy as well...
Ken Shiro X
i can't download the DEMo.. why?
Garlyle
Can the demo for this be re-uploaded? It currently links to a non-existant location.
nevious
demo does not work could you reseed it?
GronkJuice
Just out of curiosity, do you think that The line of code of change two spells into one, be used in combat as well?

In other words; it would be like this
1) You would use your recipe to set up the combo
2) You check during the beginning of combat if the spells where chosen to be casted (this I would need some help with)
3) If both spells are casted, then cast the new spell and cancel the old spells

Would this be possible?
woratana
I uploaded new demo. Check the first page. ^^/

No, it can't use during the battle. :3
TalesOf_Fantasy
Great script!!!
Mickadell
Comment
Rate: Not bad

Alright.
woratana
Could you tell me which parts are good/bad in this script?

That would be more helpful. ^-^/
dnasman
can it mix 1 or more items instead of skil?
anyway great script!
Kaliosmaster
Woratana your Scripts Rules yes.gif bunny.gif
dorky106
anyway to make this script so its possible to do this in the menu?
KillerRed9
Reminds me of Pokemon Mystery Dungeon...

Anyways, this script is unique, powerful, and... Well, just plain freaking awesome.

Don't necropost unless you have a question or bug report. ~Kread
vegassims4
I can't figure out how to trigger the script can some1 help me?
Kread-EX
Use this in a call script event:
CODE
$scene = Scene_Mixskill.new
andre3000
Thank you for this awesome script biggrin.gif
Is there a way to incorporate the $scene = Scene_Mixskill.new
anywere in the system to show the mix skills window to mix skills for one charachter every time that charachter levels up? And also to include restrictions like being only 1 time allowed to mix skills per level up? I'm trying to figure it out but by myself but if someone can help me the better.

Night_Runner
I think this should work for you:
CODE
#==============================================================================
# ** VX: Night_Runner's MixSkills After Battle
#------------------------------------------------------------------------------
# History:
#  Date Created: 5/April/2012
#  Created for: andre3000
#   @> http://www.rpgrevolution.com/forums/index.php?showtopic=14336
#
# Description:
#  This script automatically opens Woratana's Mixskill scene after specific
#  battlers level up
#
# How to Install:
#  Copy this entire script. In your game editor select Tools >> Script Editor.
#  Along the left hand side scroll to the bottom, right click on 'Main' and
#  select 'Insert'.
#  Paste this code in the blank window on the right.
#  MAKE SURE THIS CODE IF AFTER WORATANA'S MIX SKILL SYSTEM SCRIPT.
#==============================================================================


#==============================================================================
# ** Customisation
#==============================================================================

module NR_MixSkill
  # By default Actors 1 & 2 (Ralph & Ulrika) activate the Mixskill script
  # when they level up.
  Actor_IDs = [1, 2]
  # Whether or not to stop processing after the skills have been mixed
  Return_After_Mixing = true
end


#==============================================================================
# ** Scene_Battle
#------------------------------------------------------------------------------
#  Edited to go to Woratana's Mixskill scene after specific actors level up.
#==============================================================================

class Scene_Battle
  #--------------------------------------------------------------------------
  # * Alias Methods
  #--------------------------------------------------------------------------
  alias nr_mixSkills_process_victory  process_victory  unless $@
  #--------------------------------------------------------------------------
  # * Start processing
  #--------------------------------------------------------------------------
  def process_victory(*args)
    # Backup the original levels
    orig_levels = []
    $game_party.members.each { |member| orig_levels << member.level }
    # Run the original process_victory
    nr_mixSkills_process_victory(*args)
    for i in 0...$game_party.members.size
      member = $game_party.members[i]
      if member.level != orig_levels[i]
        if NR_MixSkill::Actor_IDs.to_a.include?(member.id)
          $scene = Scene_Mixskill.new
        end
      end
    end
  end
end



#==============================================================================
# ** Scene_MixSkill
#------------------------------------------------------------------------------
#  Edited to return to the last scene.
#==============================================================================

class Scene_Mixskill
  #--------------------------------------------------------------------------
  # * Alias Methods
  #--------------------------------------------------------------------------
  alias nr_mixSkill_terminate  terminate  unless $@
  alias nr_mixSkill_runstep    runstep    unless $@
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize
    # Backup the scene used to get to this scene
    @return_scene = $scene.clone
  end
  def runstep(id, *args)
    # Run the original runstep
    nr_mixSkill_runtep(id, *args)
    terminate if id == 5 and NR_MixSkill::Return_After_Mixing
  #--------------------------------------------------------------------------
  # * Termination Processing
  #--------------------------------------------------------------------------
  def terminate
    # Run the original terminate
    nr_mixSkill_terminate
    # Return to the last scene
    $scene = @return_scene
  end
end



#==============================================================================
# ** End of Script.
#==============================================================================
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.