The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: Aithest G. on November 10, 2010, 06:50:22 AM

Title: [Resolved] 2 Scripts decide to ruin my day; can someone help me out?
Post by: Aithest G. on November 10, 2010, 06:50:22 AM
(Been a while since I've posted on here...)

     Okay, so I've been using Minkoff's Enhanced ASVABS as my battle system for a while, then I decided to use the CMS made by Rune. However, I realize that the ASVABS I have requires the usage of the Battlers slot in the actor database. And since Rune's CMS uses that too, it will show the sprite sheet instead of the usual battler.

With the ASVABS Sprites...
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fsadpanda.us%2Fimages%2F272948-18RWU81.jpg&hash=afa0a6e53f973879a3c694e6e309880cba581f68)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fsadpanda.us%2Fimages%2F272950-9AK3AKY.jpg&hash=0db7c62c0ef5c7b18e3c970f4c4c01eec0649a29)

Without the ASVABS Sprites...
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fsadpanda.us%2Fimages%2F272951-6SXIBMU.jpg&hash=32106be477c7c925fa49c1b1e09996d4e4ecdbfc)(https://rmrk.net/proxy.php?request=http%3A%2F%2Fsadpanda.us%2Fimages%2F272952-YXER5TX.jpg&hash=79de0e5b64898c4d3a623ac810d112d8b2a18968)

     I have tried to manually modify the script myself to make it use a different folder as a destination for the picture, and also tried to make it something other than the battler. But I know little to nothing about scripting, so I failed utterly. Then, I tried to use events to make the battler change every time the Menu pops up. But, again, I'm not that great at making complex events, so that failed too.
     I like both scripts, and would like to keep them, but I might have to look for a more suitable Battle System or Custom Menu System if I want to keep either of them.

     Can someone help me out so that the CMS script can "co-exist" with the Battle System?



Edit: Added the scripts as attachments.
Title: Re: 2 Scripts decide to ruin my day; can someone help me out?
Post by: WeirdGameMaker on November 20, 2010, 10:04:45 AM
so you want the battler from your char in the menu and keep the battle system?
try putting something in the battle system that wil use the spritesheet in battles
and uses the battler in the menu maby you should put the scripts in your request
to fix it I think that woul'd be more helpfull for scripters so they don't need to
make a new script.
Title: Re: 2 Scripts decide to ruin my day; can someone help me out?
Post by: Aithest G. on November 27, 2010, 05:34:28 PM
@WeirdGameMaker

Sorry for the late reply. Eh, I probably should've added the scripts in there too.
And what you suggested for me, I think I already tried that. However, I could try to re-do that again though. In any case, thanks!
Title: Re: 2 Scripts decide to ruin my day; can someone help me out?
Post by: IAMFORTE on November 27, 2010, 07:22:35 PM
Um if  the above doesn't work, i might be able to fix this XD
Title: Re: 2 Scripts decide to ruin my day; can someone help me out?
Post by: WeirdGameMaker on November 27, 2010, 10:23:31 PM
no problem and,
if my idea gets completly wrong wait some days and ill try to fix it
I'm learning the ruby language so it might take a whil
Title: Re: 2 Scripts decide to ruin my day; can someone help me out?
Post by: Aithest G. on December 02, 2010, 03:20:58 AM
Okay... I tried to fix it again, but the outcome was still the same.
(I'm either completely dense, or just plain dumb, lol.)

I tried tinkering with the CMS's script part:
Spoiler for:
Code: [Select]
class Window_Base
def draw_actor_battler(actor, x, y, opacity)
bitmap = RPG::Cache.battler(actor.battler_name, actor.battler_hue)
cw = bitmap.width
ch = bitmap.height
src_rect = Rect.new(0, 0, cw, ch)
self.contents.blt(x - cw / 2, y - ch, bitmap, src_rect)
end

I tried changing the destination from Battler/actor.battler_ETC. to the picture folder and changed the word 'battler' to 'picture.' Obviously, that wasn't the right thing to do. I tried two other methods, but they didn't work either.

Heh, I'm pretty poor at this.
Title: Re: 2 Scripts decide to ruin my day; can someone help me out?
Post by: IAMFORTE on December 02, 2010, 03:39:03 AM
bitmap = RPG::Cache.battler(actor.name+"display.png", actor.battler_hue)

try that : )

original name+display.png
Title: Re: 2 Scripts decide to ruin my day; can someone help me out?
Post by: EvilM00s on December 02, 2010, 04:54:56 AM
Code is rather lost on me, but in the VX version of the SBS your character battlers had to be on their own sprite sheets.
Title: Re: 2 Scripts decide to ruin my day; can someone help me out?
Post by: Aithest G. on December 02, 2010, 06:12:51 AM
@IAMFORTE

Haha! That worked! Thanks, man!

Also, thanks WeirdGameMaker and EvilM00s for helping me out too.  ;)