RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[SOLVED]Compatability issue with Rockleedude's SE script

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 72
I've misplaced my pants.
Edit requested for Rockleedude's SE script
10/20/2011



Summary
Hello!

Basically, I'm hoping to make Rockleedude's SE script compatible with Yanfly's Engine Melody. I've tried inserting it both into my own project and a vanilla copy of Melody itself, but each time I start up the game, I get this error:



I'm guessing that Melody overwrites some definitions, and this script doesn't know what to do to compensate. I've tried editing it myself (I have a basic knowledge of Ruby, at least enough to make minor script edits), but I suspect this will need more than a little tweaking. I've seen some other projects around the web that are running both Melody and this script, so it should be possible. Unfortunately, Rockleedude doesn't support the script anymore. If anyone could help out by writing a patch or editing the script, I'd really appreciate it. Credit will be given, of course. Besides, I'm sure this could be a useful utility to people other than myself.

Here is the script in question:

http://www.megaupload.com/?d=T4WT4TIT

What other scripts are you using?
    Yanfly Engine Melody (All Melody scripts present in Melody demo)

    GB Production Scripts: YEM BEM; YEM BEM spin command ADD-ON (Modified from Ziifree's spin command); YERD Subclass Compatibility Patch

    YERD Scripts: YERD Status Scene Menu; YERD Subclass; ; YERD Synth Shop

    MALG Yerd Aftermath Fix

    Shanghai's Simple Scripts: FFXIII Menu; FFXIII Status; Minigame Input Match; Minigame Button Mash; Minigame Target

    Wora's Neo Save

    Cursor Sprite + Smooth Movement Script by STRCat

    Modern Algebra Scripts: Animated Paralax; Shatter Transitions 1.0

    Zeriab's Caterpillar Script

    Battle Backgrounds - RMVX by Synthesize

    Scene Transitions by Rafidelis

    Battler SE (Sideview) by Rockleedude



Did you search?
Yes

Where did you search?
    rpgmakervx.net
    RMRK.net
    rpg-maker-vx.bbactif.com
    rpgrevolution.com

What did you search for?
    "Rockleedude Sound Effect"
    "Rockleedude error"
    "Rockleedude"
    "RMVX battler sound effect"
    "RMVX battlecry"
    "RMVX Melody Battler Sound Effect"
« Last Edit: October 26, 2011, 05:39:41 AM by omegaskye »

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
From the sounds of it, Rockleedude's script does the same as this one: http://rmrk.net/index.php/topic,29778.0.html

You could try just replacing it and see if NAMKCOR's doesn't share the compatibility problem.

Alternatively, you could try switching the order of the scripts in the editor (Ie if Battlecry above BEM, put Battle Cry below or vice versa.

**
Rep: +0/-0Level 72
I've misplaced my pants.
Thank you for the response, Modern Algebra (I love your scripts, btw)!

I had considered Namcor's before, but what made Rocklee's so attractive was the ability to have the characters "cry out" when they're struck. Most of the effects of Namcor's I was able to pull off with common events in battle and stringing the battle cries to animations, but getting the characters to cry out when hit has been a bit of a problem. I tried setting the sound effect to one of my battlers in Melody (I'm using the style that uses animations to make the battlers), but Melody has this weird quirk of making the sound effect echo, which sounds sort of weird.

I thought that maybe I could do it using common events by setting the HP of the character to a variable (thus triggering the sound effect when the HP decreases), but I haven't had a lot of success in making that work.

As for swapping Rocklee's script around--I tried placing it in several places in my script list (above BEM, under, ect), but the problem seems to constantly be that undefined method.

Would it be possible for me to write an extra method into my custom battle system to define what it's having trouble with, or am I on the wrong track?

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Well, not necessarily, but actually - I was a little confused as to what the Sprite_Damage class is, since it isn't a default class so I took a look. You grabbed the Sideview Battle System version, which I assume was made for Tankentai, not Melody.

So, the first thing I would do is just try the regular version of the script and go from there. You can get it here: http://www.mediafire.com/?1tzqdmqgjwd

**
Rep: +0/-0Level 72
I've misplaced my pants.
THANK YOU! I managed to get it working! I DID grab the sideview--I hadn't attempted it with the default. I feel sort of silly now.

This can be closed now, all's well. :)