cleared and rewrited shitload of template comments, and added email formatting function
This commit is contained in:
@ -1,18 +1,4 @@
|
||||
//---------------------------Menus--------------------------
|
||||
//This .dic file is primarily concerned with the double-click menus for each of your ghosts. If you don't want to have menus for your characters, you'd just have to delete the OnMouseDoubleClick functions near the end of mouse.dic and then ignore this file, as none of it will be called I believe. Menus can be cool though, since you can put stuff in them and create new functions if you know what you're doing. For example, I've added a lot of games and interactions and little linked icons to my Hunter Smoker ghost to keep track of their feelings and such. Much of that is pretty complicated though (and kind of messy, cough), so I won't go into it here, but I covered some of the concepts in the coding page of the walkthrough, and enterprising ghost makers can study the menu.dic file I set up for Hunter/Smoker and see how I put it together.
|
||||
|
||||
//The complexity of this file depends on how customized you want your menus. If you just want to leave them as they are, then all you'll have to do is replace dialogue appropriately. Many of the options here can be ignored if you don't care. You only have to fill in the things that interest you! The default template dialogue will handle anything you don't. If you get bored or tired, you can skip a lot of these if it comes down to it. You can always go back and fill them in later too. Your ghost will function fine either way!
|
||||
|
||||
//And of course, this file will always be waiting for you when you've gotten more familiar with ghosts and want to add cool features! It can be a flexible playground, but don't feel too stressed out about it. As mentioned, just fill in what comes to you and the template dialogue will cover the rest.
|
||||
|
||||
|
||||
|
||||
//Make sure to read the walkthrough (http://www.ashido.com/ukagaka/) for more details about how to properly format ghost dialogue!
|
||||
//I will reiterate that you should be editing these in Notepad++, and in particular, you should set the Language to C (or Java I guess) to properly highlight all the text. It will make things A LOT EASIER for you, trust me! It will also help you keep track of your brackets in case you forget some. If you click on a line with a bracket in Notepad++, it should highlight where the other bracket ends, or turn purple if there's no finishing bracket (which you should definitely fix!)
|
||||
//It will also highlight my commented lines in green, so you'll know where they are. Any line beginning with // is a commented line that the code will not read. It's just for your reference!
|
||||
|
||||
//If you see a big block of commented text you want to uncomment, highlight the text and then hit ctrl-shift-k in Notepad++ and that should uncomment it. Mostly this is intended for advanced users.
|
||||
|
||||
|
||||
//--OpenSakuraMenu
|
||||
//This is a bit of intro dialogue before the main character opens their menu. You can see below that there are three pieces of separate dialogue listed before it goes to MenuRun. The character will randomly choose one of those pieces of dialogue before opening the rest of their menu. You can customize this with individual greetings for the character, such as "Yes, %(username)?" or "Need something, %(username)?" or things like that. Note that none of the lines end with \e!
|
||||
@ -21,21 +7,20 @@
|
||||
|
||||
OpenSakuraMenu
|
||||
{
|
||||
"\0\s[0]\b2This is the first random menu open dialogue."
|
||||
"\0\s[0]\b2This is the second random menu open dialogue."
|
||||
"\0\s[0]\b2This is the third random menu open dialogue."
|
||||
"\0\s[0]\b2А?"
|
||||
"\0\s[0]\b2Чем Люма может помочь, %(username)?"
|
||||
--
|
||||
MenuRun
|
||||
}
|
||||
|
||||
//--MenuRun
|
||||
//As you just saw above. This actually fills out the rest of the menu. If you're going to be adding or changing functions, this is where you'll be doing your edits.
|
||||
// This actually fills out the rest of the menu. If you're going to be adding or changing functions, this is where you'll be doing your edits.
|
||||
|
||||
MenuRun : all
|
||||
{
|
||||
wd = GetWeekDay
|
||||
ap = GetAP
|
||||
//These four statements basically get the day of the week, whether it's AM or PM, the hour, and the time. It's putting together the information to display the time at the bottom of the balloon. Pay it no mind.
|
||||
//These four statements basically get the day of the week, whether it's AM or PM, the hour, and the time. It's putting together the information to display the time at the bottom of the balloon.
|
||||
--
|
||||
"\n\n\_q\b2" //The \n\n means two new lines as detailed in the walkthrough, and \_q means quick session, meaning all the text from this point on will display instantly instead of a few letters at a time like normal ghost dialogue. You can ignore it.
|
||||
--
|
||||
@ -53,8 +38,6 @@ MenuRun : all
|
||||
--
|
||||
"\![*]\q[Say something,OnAiTalk]\n"
|
||||
|
||||
//"\![*]\q[Say something 2,OnAiTalk]\n"
|
||||
|
||||
//This option will force the ghost to say something from aitalk if the user clicks it. Just replace "Say something" with whatever caption you think would be appropriate.
|
||||
//Advanced users, you can add multiple captions for any option you add to a menu you make just like this, as long as you separate it from the other options into its own section with two dashes above and below. Note that you can't do this if the Function above has ": all" after it, since that will put every potential option in. You'll have to set it your menu up differently to take --s into account. I commented it out here because of ": all" above, but you can see the basic idea.
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user