The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: alex1111333 on May 09, 2010, 03:32:02 AM

Title: [Request] Musical thing
Post by: alex1111333 on May 09, 2010, 03:32:02 AM
Is there a script in which you can play lyrics like link legend of Zelda ex: ocarina of time?

Title: Re: [Request] Musical thing
Post by: Grafikal on May 09, 2010, 03:33:15 AM
Hmm... I think I've seen one in the past. I couldn't tell you if it were XP or VX. I'll take a look around for a bit though.

Edit: My bad. Only found this topic http://rmrk.net/index.php/topic,35128.msg423936.html#msg423936 which is yet unresolved as well.
Title: Re: [Request] Musical thing
Post by: cozziekuns on May 09, 2010, 04:08:59 AM
You could just do this with events. Make an item called "Ocarina". Make it so that it opens common event 1 (or whichever one you prefer) and is NON-consumable. Make the common event turn ON a switch. Make another common event, and set it to parallel process if that switch is on. Make loads of Input button conditional branches. For example:

Conditional Branch: The A button is Being Pressed
 Play SE: Chime 2, 100, 100
 else
  Conditional Branch: The C button is Being Pressed
  Play SE: Chime 2, 100, 110
  else 
   Conditonal Branch: The X button is Being Presesd
   Play SE: Chime 2, 100, 120
   else
    Conditional Branch: The B button is Being Pressed
    Control Switch[(Whatever your switch id is)]= OFF
    else
   end
  end
 end
end

Something like that. Obviously, the more buttons you want on the Ocarina, the more conditional branches you should have. Just make sure that the conditional branch for B is always: Control Switch[(Whatever your switch id is)]= OFF.

Off-topic: Why does nobody ever use the pitch function?
Title: Re: [Request] Musical thing
Post by: hikick10 on May 09, 2010, 05:04:36 AM
Wow, that sounds cool. Do you mean like the thing where it goes: < v ^ > ? with the directional arrows?