Weiß nicht ob's richtig ist oder ich das überhaupt darf, aber da es auf unserer Seite ja keine echte Referenzliste für Ruby oder den RMXP allgemein gibt hab' ich mir überlegt das ich wenigstens mal die Standardscripte (Advanced Messagescript und Vollbildmodus) posten sollte - Sachen die man halt standardmäßig braucht, egal was man für ein Spiel macht (naja, fast egal zummindest). Ich habe die Sachen einfach aus meinen Beständen kopiert, weiß auch nicht genau ob das AMS noch aktuell ist. Sollte es illegal sein weil die Sachen nicht von mir sind dann soll ein Mod eures Vertrauens den Thread wieder löschen. Andernfalls wäre es nicht verkert es zu pinnen, denn ich wurde schon öfter nach dem AMS gefragt.
EDIT: Ups, da sind offenbar einige Zeichenketten zu Smilies mutiert. Ich guck besser mal ob ich die Code-Klammern hinkriege...
naja, ich poste erstmal:
AdvancedMessage Script
ReadMe für das AMS
www.dubealex.com (Creation Asylum)
Instruction Manual:
Each of those "commands" are to be used in your message events.
Change the text color temporarly (Default):
\c[ColorID]
Insert the color ID of your choice. All colors are coded in Window_Base starting at line #39, 0 is white.
Change the text color temporarly (Hexadecimal):
\c[#000000]
Enter an Hexadecimal color code as in HTML in there. For example:
#000000 = black
#FFFFFF = white
Show the gold window:
\G
This will show a gold window in the top-right corner of the screen, with the amount of gold the player have in possesion.
Show the hero's name:
\n[HeroID]
Use the hero ID of the hero's name you want to display in the message box.
Show the monter's name:
\m[MonsterID]
Use the monster ID of the monster's name you want to display in the message box. This function was added by Dubealex.
Show an item's price:
\Price[ItemID]
Use the item ID of the item's price you want to display in the message box. This function was added by Dubealex.
Show the current map name:
\Map
This will show the name of the map you are currently on. This function was added by Dubealex.
Show a face graphic in your message box:
\f[FaceName]
FaceName must be the filename of a graphic file found in the directoyr Graphics\Pictures of your RPG Maker XP project. The file must be a PNG of 96X96 pixels. You do not need to write the file extention.
Show the class name of a character:
\Class[HeroID]
Use the hero ID of the hero's class name you want to display in the message box. This function was added by Dubealex.
Show variables, items, weapons, armor and skill names:
\v[xID]
You must replace the x by the first lettter of what you want to modify, it goes as follows:
Variable = Do not write anything, use the standard \v[VariableID]
Items = i + itemID --> \v[iID]
Armors = a + armorID --> \v[aID]
Weapons = w + weaponID --> \v[wID]
Skills = s + skillID --> \v[sID]
Show a name or other info in a name box:
\Name[text]
Use this to show a name box above the message box that will contains the text you specified. You can also use variable and other commands such as "Show hero name" in that name box. As the following example:
\Name[\v[12]] --> Will show the value of variable ID# 12 in the name box.
\Name[Dubealex] --> Will show "Dubealex" in the name box.
\Name[\n[1]] --> Will show the name of hero ID# 1 in the name box.
Modify the text opacity:
\o[Opacity]
Use this to modify the opacity of the text in the message box. Enter a number between 0 and 255, where 255 is fully opaque and 0 is fully transparent.
Modify the text speed:
\s[Speed]
Use this to modify the speed of the text in the message box. Enter a number between 1 and 19, where 19 is the slowest.
Modify the text size:
\h[Size]
Use this to modify the size of the text in the message box. Enter a number between 6 and 32, where 32 is the biggest.
Show the message box above player or events:
\p[Option]
Use this to set the window to appear whether above the player or any event present in your map. Use the following options:
\p[Event ID]
\P[0]
\p[-1]
Using "\p[Event ID]" will put the window on top of the specified event ID.
Using "\p[0]" will put the window on top of the player.
Using "\p[-1]" will make a window without background and without borders.
Add wait in message and other commands like that:
\| --> Wait for 1 second
\. --> Wait for .25 second
\~ --> Auto close window at last letter
\! --> Wait for key input from the player
\\ --> Will show the backslash \ character
Set the letter by letter ON/OFF temporarly:
\< --> Will set it ON
\> --> Will set it OFF
Change the font in a message box (permanent):
\t[FontName]
FontName must be a .TTF found in Windows\Fonts and must be case sensitive. The changes made to the font will be permanent. So remember to do another command to revert it to anything you want. This script now works with the parenthesis, new in R3... So no worry about that ! It's safe now. This feature was added by Dubealex.
Play an SE as the letter are shown (permanent):
\a[FileName]
File must be in directory Audio\SE
Remember to set that effect OFF when you dont need it anymore using \a[] Leaving the brackets empty, or else the SE will be heard on all window from this point on.
Display text as a superscript:
\[First]second
The "FIRST" will be at normal size, and "SECOND" will be a little bit higher on the line, as a superscript.
Allow / Disallow Text Skip button (permanent):
\%
Use this command to toggle the text skip button to whether enabled or disabled. It's useful if you want to control the flow of some stories and you don't want the player to be able to skip the text by himself. Remember that the changes are permanent, meaning that if you use it once to disable the text skip, it will stay like that. Remember to do it once again to revert the text skip to enabled for the rest of the game. Feature added by Dubealex.
Modify the text color of the name box (permanent):
\z[ColorID]
Use this as you use the normal color command \c[ColorID] - But this time it will set the color used in the name box; and the changes will be permanent. So remember to do it once again to change the color back. Feature added by Dubealex.
Change the color of the text in message box permanentatly:
\Color[ColorID]
Use this as you use the normal color command \c[ColorID] - But this time it will set the color used in the message box permanently; meaning you wont have to use a color command on each message event from now on. Remember to do another command like this to revert the color to something you want. Feature added by Dubealex.
Customize other aspects of the AMS:
In the first lines of the AMS, you can customize things.
Those lines help you configure the default you will use in the AMS; so you can now specify the font name and size for both message box and name box independatly, and set their windowskin; which will not affect any other windows as the menus.
You can also set the position and size of the name box, just play with the values and test it. The default are written in the comments aside each line so you cannot "mess" the script up.
I also created an object named $ams that hold all those values for you, and it saves them in your save files, and load them when you load a game. This means that if you changed the font in the middle of your game, save the game, and reload the game, the font will still be the one you specified in the middle of your game -- This would not have worked in any other message script.
You can also access those settings to read or write to them in your game using the ATTR_ACCESSOR I created.
Have fun, and report any bug in this topic. But take note that some bug may occur because of other script, and I may not be able to help if it's the case.