Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> *Beta-Release* Neo-Face System Advance 3.0, *Merged with NMS - Neo Message System 2*
woratana
post Jan 20 2008, 12:19 PM
Post #1


Looking for scripter to hire? PM me *O*
Group Icon

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed




Neo-Face System
Version 2.0
by Woratana
Release Date: 22/01/2008


Here is the second place I post this script,
I've posted this script in:
http://www.rpgrevolution.com/forums/index.php?showtopic=8131

Introduction
Yesterday I read this thread: Your RPG Maker VX Maps and found Rabu's show face style
[Show/Hide] Rabu's Screenshot

I heard that he used show picture for this, and he posted the face graphic that cut already.

So I script one to make it easier~^^

Features
Version 2.0
- No limitation in face size, use 1 face per file
Example:
Face size 192*192 pixel
http://i83.photobucket.com/albums/j295/woratana/facess1.jpg
Face size 255*255
http://i83.photobucket.com/albums/j295/woratana/facess2.jpg

- Show face in left side, right side, or switch back to normal RMVX face system.

- Fix bug when use "Show Choice" command.
Before and After:
Version 1.0
http://i83.photobucket.com/albums/j295/woratana/faced1.png
Version 2.0
http://i83.photobucket.com/albums/j295/woratana/faced2.png

Version 1.0
- Face size: 192*192 pixel, use 1 face per file
- Show face in left side or right side.
- Turn on/off face's Fade In effect, and change speed of Fade In effect.

Script
Place it above main
CODE

#==============================================================================
# NeoFace System v.2.0 [RMVX Script]
#------------------------------------------------------------------------------
# by Woratana [woratana@hotmail.com]
# Thaiware RPG Maker Community
# Special Thanks: Rabu
#------------------------------------------------------------------------------
# Released on: 22/01/2008
# - Put face graphics in folder "face" of your project.

# [New Features in Version 2.0]
# - Auto arrange face position (You can use any size of face file)

# - Call Script "$game_message.side = (number)" to switch show face mode.
# $game_message.side = 0 << switch to normal face system (default face system of RMVX)
# $game_message.side = 1 << switch to NeoFace system (show face in left side)
# $game_message.side = 2 << switch to NeoFace system (show face in right side)
# Default system when you first setup this script is 1
# THESE NUMBERS & RESULTS ARE DIFFERENT FROM VERSION 1.0 #

# Fixed bug in Show Choice command.
#==============================================================================

#==============================================================================
# Window_Base
#------------------------------------------------------------------------------
#==============================================================================
class Window_Base

def draw_face2(face_name, x, y)
@face.z = 201
@face.bitmap = Cache.face(face_name)
if $game_message.side == 1
@face.mirror = false
@face.x = x + 6
else
@face.mirror = true
@face.x = x + (538 - @face.width)
end
@face.y = y - (@face.width - 123)
@face.opacity = 0 # Change 0 to 255 to turn off face's fade in effect.
end
end

#==============================================================================
# Window_Message
#------------------------------------------------------------------------------
#==============================================================================
class Window_Message

alias msg_ini initialize
def initialize
msg_ini
@face = Sprite.new
$game_message.side = 1 # Default face's side when game start~ (default: 1)
@default_conx = 0
# Move text left (-) or right (+) when there's face in right side or no face (default: 0)
end

def new_page
contents.clear
if @face.bitmap != nil
@face.bitmap.dispose
end
if $game_message.face_name.empty?
@contents_x = @default_conx
else
name = $game_message.face_name
index = $game_message.face_index
if $game_message.side == 0 ##
draw_face(name, index, 0, 0)
else
draw_face2(name, self.x, self.y)
end
get_x_face
@contents_x = @fx
end
@contents_y = 0
@line_count = 0
@show_fast = false
@line_show_fast = false
@pause_skip = false
contents.font.color = text_color(0)
end

def new_line
if $game_message.face_name.empty?
@contents_x = @default_conx
else
get_x_face
@contents_x = @fx
end
@contents_y += WLH
@line_count += 1
@line_show_fast = false
end

def update
super
update_gold_window
update_number_input_window
update_back_sprite
update_show_fast
if @face.bitmap != nil and @face.opacity < 255
@face.opacity += 20 # Speed up face's fade in by increase this number
end
unless @opening or @closing
if @wait_count > 0
@wait_count -= 1
elsif self.pause
input_pause
elsif self.active
input_choice
elsif @number_input_window.visible
input_number
elsif @text != nil
update_message
elsif continue?
start_message
open
$game_message.visible = true
else
close
if @face.bitmap != nil
@face.bitmap.dispose
end
$game_message.visible = @closing
end
end
end

def start_number_input
digits_max = $game_message.num_input_digits_max
number = $game_variables[$game_message.num_input_variable_id]
@number_input_window.digits_max = digits_max
@number_input_window.number = number
if $game_message.face_name.empty?
@number_input_window.x = x - 23
else
case $game_message.side ##
when 0
@number_input_window.x = (x + 112) - 23
when 1
@number_input_window.x = (x + @face.width) - 23
when 2
@number_input_window.x = x - 23
end
end
@number_input_window.y = y + @contents_y
@number_input_window.active = true
@number_input_window.visible = true
@number_input_window.update
end

def update_cursor
if @index >= 0
if $game_message.face_name.empty?
x = @default_conx
else
get_x_face
x = @fx
end
y = ($game_message.choice_start + @index) * WLH
if $game_message.face_name.empty?
facesize = x
else
facesize = @face.width
end
self.cursor_rect.set(x, y, contents.width - facesize, WLH)
else
self.cursor_rect.empty
end
end

def get_x_face
case $game_message.side
when 0
@fx = 112
when 1
@fx = @face.width
when 2
@fx = @default_conx
else
@fx = @default_conx
end
end



end # Class

#==============================================================================
# Game_Message: + store side variable
#------------------------------------------------------------------------------
#==============================================================================
class Game_Message
attr_accessor :side
end

#==============================================================================
# END NeoFace System
# by Woratana (woratana@hotmail)
#==============================================================================


Download
- If you have problem with copy text from codebox,
you can download text file here.
Attached File  NeoFace_Script_2.txt ( 5.9K ) Number of downloads: 1296


- If you want to try version 1.0 of this script, download text file here.
Attached File  NeoFace_Script_1.txt ( 5.1K ) Number of downloads: 210


- Face graphic cut in 192*192 pixel by Rabu
Download Faces Pack Here!
Uploaded New Link @ 17/02/2008

example:



Instruction Version 2.0
1) First, import the face graphic (any size) to folder "Face" in your game folder.

2) When you're choosing face graphic in event command "Show Message", you will see that it divided in 8 parts.
Don't worry about it, choose any part you want. All parts will show face same result in this script.

3) Type the message you want, and "Show Message" window should look like this:

4) Test the game, and you will see the result!

=================================

Change Face's Side & Switch to Normal VX Face System
You can show face in left or right side, or switch back to normal VX face system.

To change face's side, use event command "Call Script" and type this:
CODE
$game_message.side = (0 or 1 or 2)

0 << switch to normal face system (default face system of RMVX)
1 << switch to NeoFace system (show face in left side)
2 << switch to NeoFace system (show face in right side)
^ 1 is DEFAULT MODE when you first place this script
(If you don't use this script before show message, face will show in the last side that you set)

Example:
$game_message.side = 0 Normal RMVX Face System
http://i83.photobucket.com/albums/j295/woratana/facess8.jpg << In Editor
[Show/Hide] $game_message.side = 0


$game_message.side = 1 NeoFace system in Left side
http://i83.photobucket.com/albums/j295/woratana/facess4.jpg << In Editor
[Show/Hide] $game_message.side = 1


$game_message.side = 2 NeoFace system in Right side
http://i83.photobucket.com/albums/j295/woratana/facess6.jpg << In Editor
[Show/Hide] $game_message.side = 2

=================================

Author's Notes
Free for use in your non-commercial work if credit included. If your project is commercial, please contact me.

Please do not redistribute this script without permission. If you want to post it on any forum, please link to this topic.

Special Thanks
- Rabu (for cutout face graphics)
- ccoa's script thread, for outline of the script thread.

This post has been edited by woratana: Mar 8 2008, 12:11 PM


__________________________
Check out my NEW blog!!!



MVP (Most Valuable Poster) Award 2008


Go to the top of the page
 
+Quote Post
   
 
Start new topic
Replies
asuka26
post Mar 6 2008, 05:46 AM
Post #2



Group Icon

Group: Member
Posts: 3
Type: Artist
RM Skill: Advanced




the link to the face pakage isn't working.
pls upload it
thnx
(i think it's a nice script tongue.gif)

nevermind, found them tongue.gif

This post has been edited by asuka26: Mar 6 2008, 05:49 AM
Go to the top of the page
 
+Quote Post
   

Posts in this topic
- woratana   *Beta-Release* Neo-Face System Advance 3.0   Jan 20 2008, 12:19 PM
- - jasonicus   Thanks. Nice job on this. It is very helpful. T...   Jan 20 2008, 03:43 PM
- - KiteDXX   Thanks for this. I will be using this, definitely.   Jan 20 2008, 03:56 PM
- - SeeYouAlways   I am a bit too lazy to use this, but it looks neat...   Jan 20 2008, 11:44 PM
- - Kinnison   Nice system, the default one doesn't stretch t...   Jan 20 2008, 11:54 PM
- - jasonicus   Tried it out and it works great. Thanks.   Jan 20 2008, 11:57 PM
- - woratana   Thank you, everyone~^^ feel free to post for any q...   Jan 21 2008, 12:45 AM
- - darkkyros   This looks awesome. I will try this out when I ge...   Jan 21 2008, 01:51 PM
- - Vale   Wow. This is really really good stuff. Almost make...   Jan 21 2008, 02:02 PM
- - woratana   Hi! everyone, Is anyone has any idea to impro...   Jan 21 2008, 04:40 PM
- - Elighja   Wow thanks for this, I was really thinking about g...   Jan 21 2008, 05:53 PM
- - woratana   Version 2.0 Finished!! New Features QUOTE...   Jan 21 2008, 06:46 PM
- - GubiD   v1 to v2 in a single day. That sounds like the fa...   Jan 21 2008, 07:58 PM
|- - woratana   Update Version 2.0!!! You can get the...   Jan 22 2008, 05:40 PM
- - Vale   I bet Woratana's a workoholic. XD   Jan 22 2008, 11:56 AM
- - Ratbag   I'll obviously use the script, nice job dude...   Jan 23 2008, 05:01 AM
- - alucart13   I would use this, but i still have no idea how to ...   Jan 24 2008, 11:23 AM
- - lahandi   This systems is great mate. It will make reading c...   Jan 29 2008, 08:56 PM
- - alucart13   It wont work for me man... It says ????? NeoFace...   Jan 30 2008, 04:02 PM
- - woratana   @Alucart1 What version you are using? And can you ...   Jan 30 2008, 05:27 PM
|- - neclords   Cool huh!   Jan 31 2008, 02:54 AM
- - Koru-chan   woratana, <3 This is of all the VX scripts out...   Jan 30 2008, 06:16 PM
- - OneWingedAngelVII   Appears to be something wrong wth line 73 to me, s...   Feb 12 2008, 05:37 AM
- - jasonicus   Which one is Line 73? Please post that, I don...   Feb 12 2008, 06:04 AM
- - Koru-chan   line 73 should be: CODEdraw_face2(name, self....   Feb 12 2008, 11:04 AM
- - starhammer1   Hi there everyone, Im new to the boards, thought I...   Feb 12 2008, 11:53 AM
- - woratana   @OneWinged I'd like to see what is the error...   Feb 12 2008, 04:33 PM
- - starhammer1   I sure do   Feb 12 2008, 05:45 PM
- - lahandi   Mr Woratana, In this : # $game_message.side ...   Feb 14 2008, 12:00 AM
- - woratana   @lahandi It will automatically flip your face, so...   Feb 15 2008, 04:03 PM
- - starhammer1   I still cant DL the faces   Feb 15 2008, 04:30 PM
- - woratana   @starhammer1 I don't know why my internet can...   Feb 15 2008, 08:03 PM
- - Denko   I just wanted to give feedback and thank you for a...   Feb 15 2008, 09:39 PM
- - shaman666   there's anyway to make this work a little diff...   Feb 17 2008, 05:30 AM
- - starhammer1   Could someone PLEASE help me out? All I need is th...   Feb 17 2008, 03:34 PM
- - woratana   I finally found file hosting that works Download...   Feb 17 2008, 04:31 PM
- - starhammer1   THANK YOU   Feb 17 2008, 05:33 PM
- - Denko   Woratana, I'm having a problem with the script...   Feb 18 2008, 12:19 AM
- - woratana   Didn't test yet, but you may want to try chang...   Feb 18 2008, 12:50 AM
- - Denko   Thank you, it worked perfectly. I have one more qu...   Feb 18 2008, 01:12 AM
- - lahandi   QUOTE It will automatically flip your face, so you...   Feb 18 2008, 03:15 AM
- - woratana   NeoFace version 3 is coming! New Features - A...   Feb 18 2008, 11:27 PM
- - shaman666   thank you woratana, you heard my prayers xD and P...   Feb 19 2008, 11:07 AM
- - Denko   Everything you're putting into version 3 is aw...   Feb 19 2008, 03:09 PM
- - SeeYouAlways   QUOTE (shaman666 @ Feb 20 2008, 05:14 AM)...   Feb 19 2008, 08:09 PM
- - ImmortalDreamer   Unless he starts adding stuff like Nameboxes, then...   Feb 19 2008, 08:13 PM
- - Denko   QUOTE (SeeYouAlways @ Feb 19 2008, 09:16 ...   Feb 19 2008, 08:14 PM
- - woratana   Oh, I just finished name box and found these new p...   Feb 19 2008, 09:10 PM
- - Magdreamer   Wow! Amazing! Is the Namebox + Picture abo...   Feb 20 2008, 05:41 AM
- - woratana   @Magdreamer What do you mean by Picture above the...   Feb 20 2008, 08:31 AM
- - RisingPhoenix   I think he means if you were to shift the picture ...   Feb 20 2008, 09:18 AM
- - Magdreamer   RE: *Beta-Release* Neo-Face System Advance 3.0   Feb 21 2008, 12:55 AM
- - woratana   @MagDreamer Move Name Box a little bit at line: ...   Feb 21 2008, 02:39 AM
- - Magdreamer   Is there a size limitation for the faces above the...   Feb 21 2008, 03:37 AM
- - MISTER BIG T   I'm having this weird error Windows_Base22, N...   Feb 21 2008, 08:33 AM
- - shaman666   just amazing, woratana that namebox was everything...   Feb 21 2008, 09:05 AM
- - woratana   @Magdreamer There's no limit of size if you...   Feb 21 2008, 10:35 AM
- - MISTER BIG T   No, but then again I have absolute no knowledge of...   Feb 21 2008, 07:27 PM
- - woratana   I got same error as you when I'm scripting Fac...   Feb 21 2008, 08:15 PM
- - MISTER BIG T   Windows_mesasge 23 Name Error undefined method co...   Feb 22 2008, 02:23 AM
- - woratana   You may want to try this change this line: CODEc...   Feb 22 2008, 02:42 AM
- - MISTER BIG T   Still giving the same error expect from line 148 n...   Feb 22 2008, 03:20 AM
- - woratana   Have you try put NeoFace above main?   Feb 22 2008, 08:15 AM
- - shaman666   @woratana no, it worked perfectly here, exactly a...   Feb 22 2008, 11:23 AM
- - Denko   I finally got to try out Neo-Face advance, and it...   Feb 22 2008, 06:41 PM
- - MISTER BIG T   Well it works now but I'm having troubles sett...   Feb 23 2008, 05:44 PM
- - Denko   No, it's \na[Name Here]   Feb 23 2008, 09:05 PM
- - woratana   @MISTER BIG T It's \nn[name you want] fo...   Feb 23 2008, 09:26 PM
- - MISTER BIG T   Same with \na and \nn too.   Feb 24 2008, 02:07 AM
- - woratana   \nb[name] is for NMS Could you send me file...   Feb 24 2008, 02:23 AM
- - Alex898   Hate if this is a stupid question but where I can ...   Feb 26 2008, 07:11 PM
- - woratana   You have to cut 255 * 255 px yourself. The one I s...   Feb 26 2008, 07:23 PM
- - Alex898   Hmmm I mean I was interested in having full body (...   Feb 26 2008, 07:53 PM
- - woratana   There's a pack of big faces (Yeah, no full bod...   Feb 26 2008, 09:14 PM
- - MISTER BIG T   http://www.givemebeer.caliburgames.com/Scripts.rvd...   Feb 28 2008, 08:21 PM
- - woratana   @MISTER BIG T Well, when I say 'Place script ...   Feb 29 2008, 03:45 PM
- - kageryuto   huh, where do i get the uncut faces? maybe there w...   Mar 1 2008, 09:46 AM
- - SeeYouAlways   The uncut faces are included in the RPG Maker VX d...   Mar 1 2008, 04:17 PM
- - MISTER BIG T   Still doesn't work. Also, only part of the fac...   Mar 1 2008, 05:52 PM
- - woratana   @Mister Big T You've to put all the script ab...   Mar 1 2008, 06:19 PM
- - MISTER BIG T   Well the name box works now but the face is still ...   Mar 1 2008, 07:03 PM
- - woratana   That's OK ---------------------- You have t...   Mar 1 2008, 07:45 PM
- - Royppeliini   Is should be possible to use animated faces?. ...   Mar 2 2008, 03:28 AM
- - MISTER BIG T   Everything works perfectly now, thank you so much;...   Mar 2 2008, 06:02 AM
- - Wiks   How do I turn the fade effect off in the middle of...   Mar 2 2008, 01:52 PM
- - woratana   @Wiks There's no option about that yet   Mar 2 2008, 02:26 PM
- - Wiks   Okay, thanks. I wasn't sure if I'd just m...   Mar 2 2008, 06:10 PM
- - Xethion   I just wanted to thank you for the awesome script....   Mar 2 2008, 09:38 PM
- - kabuto202   Doesn't really add much features but never les...   Mar 6 2008, 07:41 AM
- - Bigtatsu   MANY THANKS Woratana!   Mar 6 2008, 11:15 PM
- - Switchblade   Nevermind....I figured it out, VERY NICE WORK!   Mar 12 2008, 02:45 PM
- - SpyFox   the face is being displayed behind the message box...   Mar 14 2008, 08:25 AM
- - woratana   You may want to try Neo Face 3 that attached to Ne...   Mar 14 2008, 12:20 PM
- - fryedrycestyle   Sorry if this has been mentioned, I don't have...   Mar 14 2008, 01:03 PM
- - woratana   Just change @face.z to be lower and the face wil...   Mar 14 2008, 04:24 PM
- - .Zakuma   192*192 pixel faces link do not work. Sorry to be ...   Mar 16 2008, 10:38 AM
- - woratana   Here is it http://neofacepack.notlong.com/ Host...   Mar 16 2008, 11:06 AM
- - fryedrycestyle   Okay another question. Once I've moved it to b...   Mar 16 2008, 11:14 AM
- - .Zakuma   QUOTE (woratana @ Mar 16 2008, 07:13 PM) ...   Mar 16 2008, 11:27 AM
2 Pages V   1 2 >


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 23rd May 2013 - 04:13 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker