|
  |
*NEW* Face Script!, Fully customizable script |
|
|
|
|
Jun 20 2009, 12:34 PM
|
Level 1

Group: Member
Posts: 10
Type: Musician
RM Skill: Skilled

|
Alright, I hate to be a tease, but here is a screenshot. I'm still tweaking the code to make it more user-friendly. Note that on the image, I added some noise so my tileset and charsets won't be stolen. All this script involves is editing one line in the pre-rendered code in every game. Then, you create a common event for each face that you want to appear. The end result is:
New_Script.png ( 501.61K )
Number of downloads: 793Full script will be posted only here on RPG Revolution, and as a reply to this post, TONIGHT! Check back!!
|
|
|
|
|
|
|
|
|
Jun 20 2009, 09:07 PM
|
Level 1

Group: Member
Posts: 10
Type: Musician
RM Skill: Skilled

|
(Note that this example calls for two separate graphic files: one file containing the speaker's name (160x40) and one containing its face (160x120). You may use only one image (160x160) to make things easier. If you do, omit any script lines that refer to Picture 2) Instructions:1. Edit line 12 in Window_Message so that it looks like: super(160, 320, 470, 160) # super(80, 304, 480, 160) 2. Highlight and delete lines 173-178 so that line 173 is blank. Paste the following into the now blank line 173: when 0 # up self.x = 5 self.y = 304 when 1 # middle self.x = 85 self.y = 160 when 2 # down self.x = 165 self.y = 304 3. Create a common event with the following two lines: For a Left-indent: @>Show Picture: 1, 'Face-Seiya', Upper Left (5,304), (100%,100%), 235, Normal @>Show Picture: 2, 'Face-Seiya1', Upper Left (5,344), (100%,100%), 235, Normal
For a Right-indent: @>Show Picture: 1, 'Face-Seiya', Upper Left (475,304), (100%,100%), 235, Normal @>Show Picture: 2, 'Face-Seiya1', Upper Left (475,344), (100%,100%), 235, Normal
4. Save this event as "Seiya". 5. Create a new event on the map. Add the following lines ( RED text is optional): If your Common Event shows a face on the right: @>Call Common Event: Seiya @>Change Text Options: Top, Show @>Text: Hello. I am:: Change Text Options: Top, Show @>Move Picture: 1, @4, Upper Left (475,304), (100%,100%), 0, Normal @>Move Picture: 2, @4, Upper Left (475,344), (100%,100%), 0, Normal @>Wait: 5 frame(s) @>Erase Picture: 1 @>Erase Picture: 2 If your Common Event shows a face on the left: @>Call Common Event: Seiya @>Change Text Options: Bottom, Show @>Text: Hello. I am:: Change Text Options: Top, Show @>Move Picture: 1, @4, Upper Left (5,304), (100%,100%), 0, Normal @>Move Picture: 2, @4, Upper Left (5,344), (100%,100%), 0, Normal @>Wait: 5 frame(s) @>Erase Picture: 1 @>Erase Picture: 2 And you're done! The end result should look like the following:
Indent_left.png ( 249.75K )
Number of downloads: 117
Indent_right.png ( 247.4K )
Number of downloads: 69
Indent_middle.png ( 198.37K )
Number of downloads: 55
This post has been edited by SetandSpike: Jun 20 2009, 09:08 PM
|
|
|
|
|
|
|
|
|
Jun 22 2009, 04:06 PM
|
Level 1

Group: Member
Posts: 10
Type: Musician
RM Skill: Skilled

|
Here are some screenshots of what the coding should look like:
Face1.png ( 35.65K )
Number of downloads: 108
Face2.png ( 35.54K )
Number of downloads: 47
Face3.png ( 111.25K )
Number of downloads: 45
Face4.png ( 137.41K )
Number of downloads: 39
Face5.png ( 111.35K )
Number of downloads: 20
Face6.png ( 138.03K )
Number of downloads: 24
Face7.png ( 44.28K )
Number of downloads: 50I'm also working on this script to have it work similarly to the other popular script (the one that uses an in-text command, \f) so that you won't have to create common events, or manually make the pictures disappear. It's a lot of work to get it set up, but once you have everything working, you'll see the results are very aesthetically pleasing. Let me know if it works, let me know if it doesn't work. If I have to, I'll post a Test Game Demo with the code in place, so you can just modify it to your needs, or copy&paste to your own game. Cheers!
|
|
|
|
|
|
|
|
|
Jun 23 2009, 12:30 AM
|

"In a world called Tenebrae..."

Group: Revolutionary
Posts: 566
Type: Developer
RM Skill: Skilled

|
would you mind posting a demo( not that its needed ), but it would make it abit easier
hey i managed to set it up, but the pictures ends up in the background and the text is just showing over the players face now thats abit annoying
__________________________
Title: Final Fantasy V.2 Ascension Engine: RPG Maker XP Original Story and Concept by Xach-Crisis "Graphical Beast Xach-Crisis working on Gai's Hunter with Vision Studios, check it out!"
|
|
|
|
|
|
|
|
|
Jun 23 2009, 03:14 PM
|
Level 1

Group: Member
Posts: 10
Type: Musician
RM Skill: Skilled

|
QUOTE (Sicon @ Jun 23 2009, 04:30 AM)  would you mind posting a demo( not that its needed ), but it would make it abit easier
hey i managed to set it up, but the pictures ends up in the background and the text is just showing over the players face now thats abit annoying Can you show me a screenshot of what it looks like for you? Perhaps you forgot to change the text options, or are using the wrong coordinates for the picture. Keep in mind that by default, the text will indent from the left; in other words, there will be an empty space on the left side of the text, where the picture graphic should load. I tried uploading it as a .rar file, but it wouldn't let me. RapidShare - can only be downloaded 10 times
|
|
|
|
|
|
|
|
  |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
RPG RPG Revolution is an Privacy
Policy and Legal
|
|