This script was not written by me! I simply translated it from Japanese and posted it here to share! Do NOT ask me for support, I'm not a scripter (I'll try, but most likely fail)!
Now that that's over. The script I've got for you guys this time is:
Galge Conversation System
Version 0.7
by Saba Kan of
プチレア - PetitRare
Updated: 2012/01/21
Email asking for and being granted permission to translate and share:
Spoilerkirinelf さんへわざわざメールありがとうございます。
日本語ですみません。
もちろん歓迎します、どうぞ翻訳なさってください。
>
http://www.rpgmakervxace.net
>
http://forums.rpgmakerweb.com
おお! これからもチェックさせていただきます!
2012年3月26日21:42 Kirin:
> こんにちは、
>
> 僕は英語のRPGVXAのコッムニティからのkirinelf です。キリンで呼びますこと
> もいいです。あの。。。日本語があまり上手でわありませんですから申し訳あり ません。よろしくおねがいします!
>
> 今回のメールの理由はRPGVXAのRGSS3スクリプトを翻訳したいことです。貴方様 のスクリプトを英語に翻訳してもいいでしょうか?もちろん
> 貴方様の記載もあ ります。自分を書いた事も絶対言いません。
>
> 僕の目的は面白そうなスクリプトを翻訳して、このサイトにほかの英語のユーサ と分かち合います:
>
>
http://www.rpgmakervxace.net
>
http://forums.rpgmakerweb.com
>
> そのサイトは英語RPGVXAの一番大きいコッムニティです。
>
> お返事を根気よくて待ています。
>
> kirinelf (キリン) より。
The above, translated:
SpoilerTo kirinelf:Thank you for going out of your way to send an email to me.
Sorry for this being in Japanese.
Please be my guest and translate them as you wish.
>
http://www.rpgmakervxace.net
>
http://forums.rpgmakerweb.com
Oh! I'll be sure to check these sites from now on too!
2012年3月26日21:42 Kirin:
> Hello,
>
> I am kirinelf from the English speaking RMVXA community. You can call me Kirin.
> I'm not very good at Japanese, so I apologize for that. Pleased to make your acquaintance!
>
> The purpose of this email is to ask about translating RMVXA's RGSS3 scripts. Is it alright
> to translate your scripts into English? Of course, you will be credited. I will not claim
> to have written any of your scripts.
>
> My aim is to translate scripts I find interesting and to share them with the rest of the
> English speaking community, namely at these sites:
>
>
http://www.rpgmakervxace.net
>
http://forums.rpgmakerweb.com
>
> These sites are the largest English RMVXA communities.
>
> I will await your reply patiently.
>
> From kirinelf (Kirin)
So what does this script do? Well, ever played a visual novel? AIR or Clannad or Fate/Stay Night? Well, maybe not the latter; it uses a different message system, but. Most visual novels use this style of message system. Here're some screenshots so you can get the gist of it (Spoilered for size).
Spoiler
Message Log screen:
Features
Spoiler
- Potraits! Have large character potraits ingame.
- Dynamically adjusts emoticons so you can show them over the head of the character speaking.
- Has a function that switches windowskins and speech balloon graphic colors so your characters can have their unique message window color.
- Allows you to have a name display window at the cost of losing a line in message input, or you can turn it off and have four lines at once.
- Can be set up through common events so you don't have to turn every switch on and off every time.
- Easily choose whether the potrait is displayed on the left or the right.
- You can use a key to fast forward through conversations!
- Sub scripts allow you to hide the message window, access the save menu from within the message, and display a message log.
There really are quite a few features and setting up shenanigans that you need to be aware of, and for that reason I've included a How to Use text file I wrote up myself after experimenting with the demo that I hope will help you guys.
There are three scripts: A main script that handles the conversation details such as potrait placements and such, and two sub scripts. The first sub script allows you to have keys that let you hide the message window and/or access the save screen from within the message window. The second subscript lets you access a message log in the Visual Novel style as seen in the screenshots.
Without further ado, here're the three scripts:
1. Main script
Spoiler Code:
2. Sub script #1: Hide Message Window and Access Save Screen
Spoiler Code:
3. Sub script #2: Message Log
Spoiler Code:
The script also requires a few images that need to be placed in the Graphics/System folder. This is a link to the images required for the script to run:
[Link] I have also attached them to this post for easy access. Remember that you also need a bunch of potraits that are included in the demo but which I won't add for you guys.
The demo can be found here:
[Link] This is quite a simple script IF you know what you're doing, which takes a bit of playing around. So I've included a demo to save you the trouble of accidentally ruining your current project or having to start a new project just for this. Aren't I kind?
For those of you who can't be bothered downloading the demo, I'm including a copy of the documentation here.
How to Use
SpoilerPlace the three scripts in the order I've numbered them above Main and under Materials. 1 - This is the main script. It has the bulk of the processing stuff in it.
2 - This is a sub script. It makes it so that you can hide the message window completely or open the save screen from within the message.
3 - This is a sub script. It adds a message log so you can reread messages in case you missed one.
Place all the images in the System folder into your Graphics/System folder. You also need all potraits to go into the Graphics/Pictures folder. Refer to the demo for additional details.
One thing to note here is that since this system can be used in conjunction with the default message system, I'm going to call this a Conversation system instead of a Message system.
This script is NOT compatible with Yanfly's Ace Message System. I haven't tried any others yet. modern algebra's ATS: Formatting doesn't work with it either, which is sad.
*******
Full Use
*******
Full use of the script includes the following elements:
Character Potrait Positioning
Speech Balloon
Windowskin Color
Namebox
Emoticons (Balloon Icons)
as well as
Message Logs
Enter Save Screen from Conversation
Hide Conversation Window
The latter three are from sub scripts, and the last two can be disabled individually.
*******
Setting Up
*******
To use the script to its fullest extent, you will need to turn switches on and off, as well as tinting and erasing pictures. This is easily done by setting up two common events and calling them before and after each convo, as can be seen in the demo. The first common event, which I labelled Conversation Start, turns on the switches that toggle the Conversation Mode to begin with, Name Display and Speech Balloon Graphic Display. This is also the reason why I distinguish between Conversations and Messages; there's a bloody switch that toggles between the two. These switches can be assigned from within the script; the default IDs are 132, 133 and 134.
The second common event, which is used for ending a conversation, tints the two character potraits (Which, by default, will take up Pictures ID 10 and 12) dark, turns off the three switches you turned on, then erases them to formally end the conversation. This is all you really have to do to set up the script. This and, of course, have the pictures in your System/Pictures folder.
You call the first common event before setting up your convo messages, and call the second common event after you're done and want to stop the conversation.
*******
Assigning and Using Potraits
*******
By default, the script uses the actor face you picked to determine the potrait you use. Refer to this grid:
0 1 2 3
4 5 6 7
Each face graphic in the Graphics/Faces folder fits that grid. The script looks at the face you choose for your message, adds 1 to it, then searches your Graphics/Pictures folder for the file that matches it. This is the filename it searches for:
(FaceFilename)_(FaceID+1).png
So for example, you picked Ralph's face. Ralph's face belongs to the file Actor1.png in the Graphics/Faces folder, and it's in the '0' section of the grid. This means the script will look for a potrait named Actor1_1.png in the Graphics/Pictures folder. I hope that makes sense.
This has many uses, and the most typical way this is used in the gaming industry is to have a bunch of emotions on the characters. Due to the way the system works, it's easy to organize a set of 8 different emotions for each actor you have, and it'll organize them neatly by filename in your Pictures folder. So Actor1_1 will have a neutral Ralph, Actor1_2 will have a bored Ralph, Actor1_3 will have an angry Ralph, so on and so forth.
Also note that if you select a face ID that doesn't have a corresponding potrait in the Pictures folder (For example, Actor1_8 when you only have 7 potraits), it'll spit an error out at you saying it can't find that image.
The last bit of configuration comes from the message positioning. If you select 'Top', the potrait appears on the right. If you select 'Bottom', the potrait appears on the left. 'Middle' crashes the game. Be warned. Oh, this does not actually affect the message position. It will ALWAYS appear at the bottom, regardless of your setting.
*******
Balloon Icons
*******
Also known as emoticons. These are easy to use. Just have an event command as usual, but with the target set to Player. They will play over the head of the next character who has a line. This may not be ideal for some (For example, having a character be startled with an exclaimation icon, but having the character who startled him speak next), but it can be dealt with by having ellipsises in that character's message (Such as by having the aforementioned startled character 'say' "...!" while having the emoticon pop up on his head).
*******
Speech Balloon Graphic and Windowskin Color
*******
The speech balloon graphics are the little pointer things over the message box that point at the person speaking so you know who's actually talking at the moment. For the most part, this is automatically handled for you. What it does is get the ID of FaceFilename and searches Graphics/System for the matching files. For example, Actor1 = Balloon1 = Window1.
This DOES mean that your FaceFilename has to have a unique number at the end of it. For example, Eric1, Natalie2 and so on. If you have Eric1 and Natalie1, both Eric and Natalie will share the same speech balloon graphic and windowskin color.
The speech balloon graphic is also automatically placed. If your message is positioned at the 'Top' and the character thus appears on the right, the speech balloon graphic is automatically placed so it points towards him. There's no need to worry about this one.
You can ignore windowskin color changes by changing line 70 in the main script. This will make everyone use the one windowskin and speech balloon graphic, regardless of filename ID.
*******
Message Input
*******
Not much to say here. Messages work like any other, simply type in the message and make sure to preview it to make sure it doesn't go over the boundaries. One thing to keep in mind; if you have the Name Display switch turned on, the messagebox only has three lines for text input. The first line is for name input, and should have the actor's name written in it (Or \n[x]).
You can also use \i[x] to put icons in the text, where 'x' is the icon ID.
You can also simulate a system message or a message from someone out of view by turning off the Name Display and Speech Balloon Graphic Display switches temporarily, which turns the message box back to four lines as well as defaulting to the Window0 windowskin.
*******
End
*******
And there we go. Any questions, pop me a line. I might not be able to answer it, but I'll do my best and hopefully we can solve it together, or with the help of someone who knows what he's doing.
Kirin, out.
FAQ
Q: Where do I put these scripts?
A: Above Main, under Materials. You really only
need the main script; the other two are just bonuses.
Q: How do I use this script?
A: Read the 'How to Use.txt' file included in the demo, or refer to the same section in my post above.
Q: Help! I'm getting an 'Unable to find file: Graphics/System/<Insert filename here>' error!
A: The hint is in the error. Download the images from either
this link or from the attachment and place them in the proper folder.
Q: Help! I'm getting an 'Unable to find file: Graphics/Pictures/<Insert filename here>' error!
A: You have selected a face that doesn't have a corresponding potrait in the Pictures folder. Either get one or change your face.
Credit and Thanks
- Saba Kan, for making this script.
- Kirin (me), for translating this.
- Kread-Ex, for giving me pointers as to how to modify the picture base ID.
- Enterbrain, for once again making an awesome maker.
- Google Translate, for helping me with minor translations.
- The makers of the Rikai-chan addon for Mozilla and the Rikai-kun extension for Chrome, for giving us an awesome Japanese translator.
Galge Conversation.zip
本贴来自国际rpgmaker官方论坛作者:kirinelf处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/saba-kans-galge-conversation-system-0-7.1022/