Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Add actor/Hire Mercenary, A very editable script that displays information on new/old actors.
gjoerulv
post Oct 25 2008, 05:21 AM
Post #1


Level 1
Group Icon

Group: Member
Posts: 5
Type: Artist
RM Skill: Skilled




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.

[Show/Hide] Example:
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.
[Show/Hide] Screenshots
Attached File  NEW_s1.png ( 92.92K ) Number of downloads: 239
Attached File  NEW_s2.png ( 107.69K ) Number of downloads: 237

Attached File  NEW_s3.png ( 155.35K ) Number of downloads: 215

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/ss92kk

SCRIPT:Attached File  Scene_New.txt ( 17.95K ) Number of downloads: 104


EDIT: 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
Go to the top of the page
 
+Quote Post
   
Gamerbird
post Oct 25 2008, 05:56 AM
Post #2


Burn The Skies!
Group Icon

Group: Revolutionary
Posts: 411
Type: Writer
RM Skill: Intermediate




Sounds and looks good.
I will try it out.


__________________________
Go to the top of the page
 
+Quote Post
   
gjoerulv
post Oct 26 2008, 12:37 PM
Post #3


Level 1
Group Icon

Group: Member
Posts: 5
Type: Artist
RM Skill: Skilled




lol. I just noticed the type-o in the demo.
Just a reminder! In the demo it says you can make an array like this: a = [1,2,3].new DO NOT do it like this. The ".new" must go. The correct way of doing it is this: a = [1,2,3] (or as many numbers you need)
Go to the top of the page
 
+Quote Post
   
Puppet Of Fate
post Dec 20 2008, 11:11 AM
Post #4


Please join my site!
Group Icon

Group: Revolutionary
Posts: 675
Type: Mapper
RM Skill: Advanced




Does this have any incompatibilities with skills, weapons, armor, etc?


__________________________
Go to the top of the page
 
+Quote Post
   
gjoerulv
post Feb 24 2009, 08:39 PM
Post #5


Level 1
Group Icon

Group: Member
Posts: 5
Type: Artist
RM Skill: Skilled




QUOTE (Kira @ Dec 20 2008, 08:11 PM) *
Does this have any incompatibilities with skills, weapons, armor, etc?


It should work fine with any script. See info in the script itself what is required. Which is nothing.

However with scripts that overrides some of the base classes, it may not work. I mainly only use base classes as super classes.
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 18th May 2013 - 07:14 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker