Help - Search - Members - Calendar
Full Version: CCAO'S UMS script help?
RPG RPG Revolution Forums > Game Engines > RPG Maker XP Discussion
skitzen
I have a lot of face set pictures for my game, I know how to use the script and such. I was just wondering, how if possible I could change the destination folder for where the script looks, Like a new folder "Face sets"? That way my "pictures" folder isn't clogged up with face sets.

Thanks all! :3
Jens of Zanicuud
QUOTE (skitzen @ Nov 22 2012, 04:08 AM) *
I have a lot of face set pictures for my game, I know how to use the script and such. I was just wondering, how if possible I could change the destination folder for where the script looks, Like a new folder "Face sets"? That way my "pictures" folder isn't clogged up with face sets.

Thanks all! :3


There are actually two ways to do that:

1. Just replace this line

CODE
RPG::Cache.picture([picture name])


with this:

CODE
RPG::Cache.picture("Face Sets/" + [picture name])


where [picture name] must be replaced by the picture name.
Remember you should create that new folder just inside the Pictures folder.

This is the most straightforward way.

2. There's another way to do it, however.
You should add this in a blank above main:

CODE
module RPG::Cache
    def self.face(filename)
      self.load_bitmap("Graphics/Face Sets/", filename)
    end
end


and call

CODE
RPG::Cache.face( [picture name])


when you need to use a face file. This way, you will be able to put your Face Sets folder just in the Graphics folder and you won't be obliged to put it into the Pictures folder.

I hope this can help, ask for further explainations anytime smile.gif

Jens
skitzen
QUOTE (Jens of Zanicuud @ Nov 22 2012, 12:33 PM) *
QUOTE (skitzen @ Nov 22 2012, 04:08 AM) *
I have a lot of face set pictures for my game, I know how to use the script and such. I was just wondering, how if possible I could change the destination folder for where the script looks, Like a new folder "Face sets"? That way my "pictures" folder isn't clogged up with face sets.

Thanks all! :3


There are actually two ways to do that:

1. Just replace this line

CODE
RPG::Cache.picture([picture name])


with this:

CODE
RPG::Cache.picture("Face Sets/" + [picture name])


where [picture name] must be replaced by the picture name.
Remember you should create that new folder just inside the Pictures folder.

This is the most straightforward way.

2. There's another way to do it, however.
You should add this in a blank above main:

CODE
module RPG::Cache
    def self.face(filename)
      self.load_bitmap("Graphics/Face Sets/", filename)
    end
end


and call

CODE
RPG::Cache.face( [picture name])


when you need to use a face file. This way, you will be able to put your Face Sets folder just in the Graphics folder and you won't be obliged to put it into the Pictures folder.

I hope this can help, ask for further explainations anytime smile.gif

Jens


Thanks so much! Going to give the first one a try. Though it doesn't quite match up with it. And there are a few of them, so I'll try it on all and see. Experiment from there XD
Jens of Zanicuud
You have to replace only the ones which actually call the face files...
If this method doesn't work, send me a PM with the script and I'll fix it.

Jens
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.