Scene_New v1.0 by gjoerulv
Released 10.25.08
This script is very simple, and very editable. It displays an actor's information with editable text, face and picture. It can be used as a simple "status window". It can also loop through actors, and the player can chose which actor to add to the party. You have to use the script function in an event to call it.
CODE
# SIMPLE EXAMPLE 1:
$scene = Scene_New.new(1, "")
# This will add actor with ID 1 to the party, optionally fade out the screen and display
# all the editable text and stats. It will NOT show an image.
# ---------------------------------
# SIMPLE EXAMPLE 2:
t = "This is a text"
$scene = Scene_New.new(1, "1", t)
# By having 3 parameters, the 3rd will be displayed in the button of the
# optional textbox. In other words "This is a text" will be displayed.
# Again, the picture ("1.png") are loaded from the Graphics/Pictures folder.
# ---------------------------------
# SIMPLE EXAMPLE 3:
a = [1,2,3,5,9]
t = "This is a text"
$scene = Scene_New.new(a, "1", t, true)
# By having 4 parameters, the 1st should be an array of actor IDs.
# It can be a single number too, but then there will be no loop.
# The 4th will be whether or not you can loop between the array to chose
# what actor to add. In other words, if the 1st parameter is an array,
# the 4th should be true to make sense. If you can loop, the picture can
# optionally change as well.
#
# If you want this effect you should call the pictures
# equal to an actor's ID; a single number as in the examples.
# And you should send in the picture in the parameters with name
# equal to the 1st item in the array. e.g. if the array is [5,4,6] it should be
# "5", and if it's [8,12,1,6] it should be "8"
More information is in the script.
To make things easy (and working), make the picture name you want to display with a certain actor equal to the actor's ID from the database.
E.g. by default Ralph has ID = 1, so his image name should be "1.png". But it is possible to have the same image displayed for all characters. In that case you could call it whatever you want.
DEMO: http://www.sendspace.com/file/ss92kkSCRIPT:
Scene_New.txt ( 17.95K )
Number of downloads: 104EDIT: There is wrong information in the demo instructions. DO NOT make an array like this:
a = [1,2,3].new. Remove the "
.new"
This post has been edited by gjoerulv: Oct 25 2008, 05:29 AM