Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> N543 Skit System, Like the Tales of series!
Night5h4d3
post Jun 29 2011, 02:20 PM
Post #1


The past tense
Group Icon

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




Skit System
version 5.0
By Night5h4d3




Introduction

A while back I was working on a project with a group as their scripter, and I was requested to make a script for displaying 'skits' as cutscenes. Later we changed engines and so I decided to upload this script for the general public. What it is-is basically a remake of the skit system from the 'Tales of' series (give or take a few features). It runs off of common events, so that creating and using skits is as simple as creating map-based cutscenes.

Features

> Display, move, and remove custom face graphics and expressions (See how to use)
> Runs from common events
> Custom music
> Easy to configure
> Supports 640x480 mode too!
> Face effects Hop, Pop, and Shake
> Animated 'new skit' button

Installation

To install, just place the script anywhere below other scripts and above main. Make sure you have the required resources!

Script

v5.0 Standalone

Demo

Skit System Demo 5.0

Compatability

Aliases
Game_Temp - initialize
Game_Interpreter - setup
Window_Message - reset_window
Scene_Title - create_game_objects
Scene_File - write_save_data and read_save_data

Changes
Game_Interpreter - update
Window_Message - initialize
Scene_Map - create_command_window and update_command_selection

Get RMXP v4.6.01 here!


Screenshots

spoiler




Required Resources

spoiler

see FAQ for info on animating this:






Positioning is relative, so it will be in the same area of the screen in both 544 and 640 resolutions.


How to use
spoiler

1) create the skit - in the script you'll find the Skits module, add a new array in the specified format
2) create a common event - make sure it corresponds to the common event you used in the skits module
3) Begin coding your skit!

Adding the face
CODE
$scene.new_face(face, expr, pos, mir?, num)

face - the filename of the face set to use
expr - the facial exp​ression (0 is the top left face, 1 is the one to it's right.. 4 is on the bottom left, etc). Default is 0
pos - the position of the face a number ranging from 0 to 18, or use an array to specify a direct placement, (refer to the cheat-sheet). Default is 0
mir? - set to true to mirror the face graphic. Default is false
num - the index of the face to use, normally the first face created is 0, the second is 1, etc, but you can specify the index.

Changing the face
CODE
$scene.change_face(pos, new expr, new file, mirror)
$scene.dispose_face(pos1)

pos - refers to the current position of the face being modified.
new expr - new facial exp​ression to use.
new file - new face graphic to use, set to nil to keep current face (see face). Default is nil
mirror - 'Mirror new face?' Default is false.

Repositioning the face
CODE
$scene.move_face(pos, new pos, pause)
$scene.dispose_face(pos1)

pos - refers to the current position of the face being modified.
new pos - refers to the destination position.
pause - 'Pause interpreter while moving face?' Default is false.

Hopping face effect
CODE
$scene.hop(pos, scale, count, dir, pause)
$scene.dispose_face(pos1)

pos - refers to the current position of the face being modified.
scale - how fast and high the face hops (scale of 1-10). Default is 5.
count - how many times to make the face jump (scale of 1-5). Default is 1
dir - direction of the jump ("up", "down", "left", "right"). Default is "up"
pause - 'Pause interpreter while moving face?' Default is false.

Popping face effect - Causes the face's size to grow then shrink
CODE
$scene.pop(pos, scale, pause)
$scene.dispose_face(pos1)

pos - refers to the current position of the face being modified.
scale - how fast and wide the face pops (scale of 1-5). Default is 3.
pause - 'Pause interpreter while moving face?' Default is false.

Shaking face effect
CODE
$scene.shake(pos, scale, axis, pause)
$scene.dispose_face(pos1)

pos - refers to the current position of the face being modified.
scale - how fast the face shakes (scale of 1-10). Default is 5.
axis - plane of shake "x" or "y" (horizontal or vertical). Default is "x".
pause - 'Pause interpreter while moving face?' Default is false.



FAQ

Q: How do I set it up for 640 mode?
A: If you're already running a game screen that's setup for 640x480, then all you need is the Skit BG that's the right size.

Q: How do I include A skit button?
A: all you need to do is name the file with the words 'skit' and 'button' in that order, (eg: Skit Button, Skitbutton, Skit_button) and put it in the Graphics/System folder

Q: How do I make it animate?
A: To animate a skit button all you need to do is append '#' (without the quotes) followed by the number of frames in the file (ex. '#4' for 4 frames)

Q: Where/how do I create the skits?
A: All skits are run from common events, to create a new skit you need to create a new common event.

Q: The new move/pop/hop/shake commands aren't working right, when I have 2 only the last one runs?
A: This is because by default the interpreter doesnt pause when performing these actions, if you want all of the actions to be taken, set the 'pause' flag and separate each action into a different 'call script' command.

Q: The real Tales of skit system had animated faces and they could swivel too.
A: Well, that's not really a question, but you can expect these sometime down the line!


Disclaimer

Please do not claim as your own, if you'd like to post this script on other sites, please notify me beforehand.


Other

Bugs? Ideas? Requests? Let me know, and I'll see about fixing/implementing them!


__________________________
Got 30 minutes? Then you've enough time to play this awesome game:

- potentially promising project page
- thanks holder
My growing space of user-bars:

about me:







I made the following!





Go to the top of the page
 
+Quote Post
   

Posts in this topic
- Night5h4d3   N543 Skit System   Jun 29 2011, 02:20 PM
- - Airon Neil   I sure hope I'm not necroposting, but I have a...   Jul 18 2011, 07:34 PM
- - Night5h4d3   Sorry for the late reply, I just made the correcti...   Jul 21 2011, 04:34 AM
|- - kurisu21   I downloaded both the script and demo after you po...   Jul 21 2011, 12:56 PM
- - Night5h4d3   whoa snap, I made a stupid revision. On line 741 ...   Jul 21 2011, 01:49 PM
- - Airon Neil   Alright, thank you...it works perfectly now.   Jul 21 2011, 04:41 PM
- - MEands   This looks great. Does it work with XP? I only see...   Jul 21 2011, 06:52 PM
|- - kurisu21   Cool the revision works well. What could I do wit...   Aug 1 2011, 11:09 AM
- - Night5h4d3   Fix has been uploaded (finally, lol) Actually MEa...   Jul 21 2011, 07:05 PM
- - Night5h4d3   Sorry, due to the 'layout' of the Scene_Sk...   Sep 1 2011, 06:49 AM
- - Pinky   This script is great, but I cannot figure out wher...   Sep 2 2011, 04:13 PM
- - VVBlazeFuryVV   Er... I got a error message... I tried putting thi...   Sep 2 2011, 07:43 PM
- - Night_Runner   It may be because I tweaked a couple of things, bu...   Sep 8 2011, 11:41 PM
- - Night5h4d3   Nightrunner, you're something of a godsend XD....   Sep 9 2011, 04:52 AM
- - Night5h4d3   Version 5.0 is here! Here is the changelog...   Sep 14 2011, 10:06 AM
- - EvilEagles   This is totally awesome thank you very much for g...   Sep 16 2011, 02:56 AM
- - Night5h4d3   You put documentation into my script?! Awesome...   Sep 16 2011, 09:57 AM
- - EvilEagles   Found another irritating bug >.< this one i...   Sep 19 2011, 04:12 AM
- - Night5h4d3   I sent you a PM regarding a resolution to your pro...   Sep 19 2011, 06:23 AM
- - bazbroketail   First off I wanted to say that I absolutely love t...   Sep 29 2011, 04:25 PM
- - Night5h4d3   I'm glad you like the script bazbroketail, as ...   Sep 29 2011, 08:22 PM
- - bazbroketail   Oh thank you very much, and I apologize for not re...   Sep 29 2011, 11:59 PM


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: 20th May 2013 - 05:32 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker