The RPG Maker Resource Kit

RMRK RPG Maker Creation => XP => Topic started by: BadWolf on April 10, 2012, 12:32:59 AM

Title: Music Insertion [XP]
Post by: BadWolf on April 10, 2012, 12:32:59 AM
I was wondering how you put music into XP, also can you put faces of characters on the text boxes to show who is talking like in VX. :zwink:
Title: Re: Music Insertion [XP]
Post by: Lethrface on April 10, 2012, 12:35:45 AM
You import the file just like any other resource by selecting the music folder in the import material window and click import.

As for faces, I'm sure there are scripts out there for that.  Most any feature from 2k/2k3 is available for XP through scripts and VX just returned the face in message box feature.
Title: Re: Music Insertion [XP]
Post by: BadWolf on April 10, 2012, 12:48:18 AM
Thanks, is there a specific file type that you need the files to be in to import them, and can you be more specific on the face thing. :zwink:
Title: Re: Music Insertion [XP]
Post by: bluntsword on April 10, 2012, 02:50:23 AM
A quick parousal of the rpg maker xp help file tells me it has to be midi.  I may be wrong, but that's what I see.

Also, try this for the messages:
http://www.rmxpunlimited.net/forums/files/file/63-ccoas-ums-18/
Title: Re: Music Insertion [XP]
Post by: BadWolf on April 10, 2012, 02:58:55 AM
A quick parousal of the rpg maker xp help file tells me it has to be midi.  I may be wrong, but that's what I see.

Also, try this for the messages:
http://www.rmxpunlimited.net/forums/files/file/63-ccoas-ums-18/

okay I clicked the link and the script is a little nondescript but I'll try it anyhow, anyways when I clicked download it told me I didn't have the authority necessary to download it. Does that mean I need a membership or what? :zwink:
Title: Re: Music Insertion [XP]
Post by: bluntsword on April 10, 2012, 03:14:53 AM
u have to sign up
Title: Re: Music Insertion [XP]
Post by: BadWolf on April 10, 2012, 03:31:06 AM
I don't suppose you know a script that has an easier system of adding the faces like the one in VX where you just click the face box and the screen with all the faces comes up and you choose the one you want. Is it possible to cannibalism that script from VX and add an extra file for the faces? :zwink:
Title: Re: Music Insertion [XP]
Post by: Zylos on April 10, 2012, 03:37:05 AM
For faces, you simply need a message script like the others have said. No other way in XP. Ccoa's UMS that you were linked to is probably the best of them, though I also like DubeAlex's AMS. They can sometimes be complicated to figure out how to use properly if you're brand new to RPG Maker, so it's usually best if you take things slowly to figure out what is what and have at least a little practice before you try to use one.

For music, either use the resource manager and import the song into your game, or just copy/paste the song file directly to your game's folder. XP can play a lot of different types, though you'll have to play with it to see the best types to use that loop properly.
Title: Re: Music Insertion [XP]
Post by: BadWolf on April 10, 2012, 04:29:23 AM
Can I just use the scripts that are in the Project7 Game or do I have to use it as a base for my RPG.
Title: Re: Music Insertion [XP]
Post by: Zylos on April 10, 2012, 04:35:18 AM
Project7 Game? Huh?
Title: Re: Music Insertion [XP]
Post by: BadWolf on April 10, 2012, 04:54:42 AM
Project7 Game? Huh?
When I downloaded the script the download was all the components necessary for playing and editing a game, the contents of this game was a map with all the characters each one with a different text thing applied to it, it was called Project7. So do I need to use that as a base or can I just copy the script that each of the displayed characters are using.
Title: Re: Music Insertion [XP]
Post by: Zylos on April 10, 2012, 04:58:31 AM
Uh, that would be the script's demo, which by it's very definition has a sole purpose literally just to demonstrate what the script can do. Just copy the script over to your own game, along with any graphics they you might need from the demo. You don't need to start your project all over using the demo.
Title: Re: Music Insertion [XP]
Post by: BadWolf on April 10, 2012, 05:11:13 AM
When I tried what it said to do I got this after the text was exicuted:
NoMethodError occurred while running script

undefined method `face_graphic=` for
#<Game_System:0x315f660>

What did I do wrong?
Note: the file with the face in it was in the Game's Pictures folder.
Title: Re: Music Insertion [XP]
Post by: Zylos on April 10, 2012, 05:25:03 AM
First, did you copy over the entirety of the script and properly place it in your script database? Below everything except for Main? Second, did you properly use the text code or scripting code like they did in the demo for the script? Third, did you attempt to load from a previous save file from before you had the script implemented?
Title: Re: Music Insertion [XP]
Post by: BadWolf on April 10, 2012, 01:36:59 PM
First, did you copy over the entirety of the script and properly place it in your script database? Below everything except for Main? Second, did you properly use the text code or scripting code like they did in the demo for the script? Third, did you attempt to load from a previous save file from before you had the script implemented?

I used the text code, I did not use an old save but what do you mean by entirety of the script? This is what I meant when I asked if I needed to use the demo as a base, I wanted to know if there was anything extra added to that games script other than just the ingame scripts that were added to the players command box.
Title: Re: Music Insertion [XP]
Post by: D&P3 on April 10, 2012, 01:41:24 PM
Could you recreate the error in a new project and upload it?

It's easier to sort these problems that way.
Title: Re: Music Insertion [XP]
Post by: BadWolf on April 10, 2012, 01:45:10 PM
Could you recreate the error in a new project and upload it?

It's easier to sort these problems that way.

I have an NPC I talk to it, it says the text that I imputed but without the face that was supposed to be added and then the screen goes dark and the error above occurs and the game testing turns off.
Title: Re: Music Insertion [XP]
Post by: D&P3 on April 10, 2012, 01:50:09 PM
I didn't ask you to further explain your problem :P

I asked you to recreate the error in a new game besides the one you're working on and upload it so that your problem is handled directly instead of with guesses. :)
Title: Re: Music Insertion [XP]
Post by: Zylos on April 10, 2012, 02:15:44 PM
Also, what I meant by entirety of the script is the full script plus any other parts to it if it's a multipart script like the BlizzABS is (I have no idea which script you settled with, so I'm just best guessing). The best way to tell if you're doing it right is to check to see how it's being done in the demo. Where is the script placed in the demo's script editor, and is it in the same place for your own game?

What Chris 3 (aka D&P3, sorry about the confusing names) is asking is for you to specifically show where the error is so that we can get a better idea. Probably an easier way of doing that would be to take screenshots of what you're trying to do and how your script looks with the Alt + PrtScr keys on your keyboard and upload those. Either way, it'll allow us to take a direct look to see what's going on and give you more specific instructions for a fix to your problem. Up to you though.
Title: Re: Music Insertion [XP]
Post by: BadWolf on April 10, 2012, 11:31:42 PM
Also, what I meant by entirety of the script is the full script plus any other parts to it if it's a multipart script like the BlizzABS is (I have no idea which script you settled with, so I'm just best guessing). The best way to tell if you're doing it right is to check to see how it's being done in the demo. Where is the script placed in the demo's script editor, and is it in the same place for your own game?

What Chris 3 (aka D&P3, sorry about the confusing names) is asking is for you to specifically show where the error is so that we can get a better idea. Probably an easier way of doing that would be to take screenshots of what you're trying to do and how your script looks with the Alt + PrtScr keys on your keyboard and upload those. Either way, it'll allow us to take a direct look to see what's going on and give you more specific instructions for a fix to your problem. Up to you though.

Where do I get the entirety of the script and Where am I suppose to put it.
Title: Re: Music Insertion [XP]
Post by: Zylos on April 11, 2012, 02:39:29 AM
Um, probably in the demo where you found it in the first place. Just check to see if A) you copied all of it instead of accidentally only copy/pasting half, and B) if it says "part one / part two" or anything anywhere on the script. If you didn't make a mistake and have the whole thing, then you already are good as far as that. As far as proper placement for where you're supposed to put it, I believe I've already mentioned that it needs to be below the other default scripts but above Main (which is always at the very bottom of the list of scripts).
Title: Re: Music Insertion [XP]
Post by: BadWolf on April 11, 2012, 02:51:04 AM
Wait, do you mean I have to copy something from the Script Editor and put it in my game?
Title: Re: Music Insertion [XP]
Post by: pacdiggity on April 11, 2012, 02:54:51 AM
HOW ELSE WOULD YOU GET THE SCRIPT?!

I don't mean to be rude (or do I?), but half the fun of RPG Maker is figuring things out for yourself. Asking a forum for everything is ruining it for you (and it annoys us somewhat :>).
Title: Re: Music Insertion [XP]
Post by: bluntsword on April 11, 2012, 02:56:47 AM
http://rmrk.net/index.php/topic,263.0.html

Read this thread, then see if that answers your question.
Title: Re: Music Insertion [XP]
Post by: BadWolf on April 11, 2012, 02:59:13 AM
HOW ELSE WOULD YOU GET THE SCRIPT?!

I don't mean to be rude (or do I?), but half the fun of RPG Maker is figuring things out for yourself. Asking a forum for everything is ruining it for you (and it annoys us somewhat :>).

Sorry I'm a bit of a noob.
Title: Re: Music Insertion [XP]
Post by: modern algebra on April 11, 2012, 03:06:47 AM
I don't suppose you know a script that has an easier system of adding the faces like the one in VX where you just click the face box and the screen with all the faces comes up and you choose the one you want. Is it possible to cannibalism that script from VX and add an extra file for the faces? :zwink:

No, it is not; you can't change the RMXP's GUI with scripts. You would either need to alter the program itself, which is illegal, or else build a program from scratch which would work with a message script and which copies to your clipboard data which you can paste into an event page.

As to your problem, it sounds like you just copied the script commands out of the event. That's not enough. You need to go into the Script Editor of ccoa's demo (press F11) while in the program itself, not in Test Play. Go down near the bottom, where you will see something like UMS or ccoa's UMS or something - I don't have the demo so I don't know what it's called, but it will be near the bottom, between Scene_Debug and Main.

Copy that script to your clipboard by pressing CTRL+C.

Then you need to open up your project and paste it into your Script Editor around the same place by pressing CTRL+V.
Title: Re: Music Insertion [XP]
Post by: Lethrface on April 11, 2012, 03:17:45 AM
When you go into the script editor, every new script gets copied right above main on the left side of the window in the long list of scripts with a scrollbar.  All scripts must go here.  In this spot, the scripts are able to over-write what needs to be over-written and whatnot.  There may be times when scripts clash and not all scripts will function with each other.  In cases like that, pick and choose your scripts wisely, especially with XP because some scripts are only getting partial support now and he original creators may not want to continue to work on it and move on to the new makers (or other things in general).

Read the instructions that are posted in the original page where you picked it up from or with the script download itself which can be found either in a read-me file or generally in the first custom script in the script editor in rpgmaker.  The instructions will typically be found at the top of the script in green (the green is created by a hash tag at the beginning of the line which means that the rest of that line is a comment.  Comments are found all throughout scripts to describe what each portion is for.  The instructions will be in one huge block of comments generally)

The help file will tell you everything you need to know about functions within the program, what file types are accepted, sizes of images that can be used etc.  Refer to it if you have any questions first and foremost and if you can't find it, THEN that's where some of us can help out. 

Remember that a lot of things can be easily googled.  I know you're getting tired of being told this but you have to understand that some of us have answered questions like this hundreds of times already in the past either here or on other boards so it is frustrating having to answer these things again and again, especially after seeing that the person asking the question just really doesn't WANT to google the question.  Now, I've taught you how to fish, so catch some fish.
Title: Re: Music Insertion [XP]
Post by: BadWolf on April 11, 2012, 02:06:49 PM
I put his script into my editor and it looks like it worked but every time I try to play test it I get this error:
Unable to find file Graphics/Windowskin/talk1.
Title: Re: Music Insertion [XP]
Post by: Zylos on April 11, 2012, 02:08:57 PM
Go into the demo's graphics folder. Look around for the windowskin folder and copy everything from that folder over to the corresponding folder in your own game folder. It's probably a script specific graphic that you forgot.