Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> Actors in Pain, A hero hit? Let him scream it out!
SojaBird
post Jan 23 2009, 10:32 AM
Post #1


Level 51
Group Icon

Group: Revolutionary
Posts: 1,573
Type: Scripter
RM Skill: Advanced




Actors in Pain

Version 1.5
Author SojaBird
Release Date
v1.0 > 23-01-'09
v1.5 > 25-01-'09


Introduction
Got this from a request some time ago.
What it does? When a actor is hurt in battle, it can scream it out it's own way (by playing a SE).


Features
v1.0
  • Every actor can has it's own scream. Though if there's none (or it's named wrong), it'll play the systemdefault.
v1.5
  • Random screams, up to 100 files (mp3, ogg, wav)


To come features
- More if sugested...


Script
Attached File  Actors_in_Pain.txt ( 3.83K ) Number of downloads: 690



Compatibility
VX.


DEMO
Comming soon!


Installation
Put the script above main.

For each actor, make a map in '../MyGame/Audio/SE'
In each map you can add sound effects up to 100 different.
The names of the files must be numbered, starting with zero.

Example for the actor named "Frank"
'../MyGame/Audio/SE/Frank' contains:
- 0.ogg
- 1.mp3
- 2.wav
- 3.ogg
- 4.ogg
- 5.wav

When actor Frank it's HP is damaged, it'll scream one of the 6 above files.

Credit me pls.


FAQ
<div style="margin:20px; margin-top:5px"><div style="margin-bottom:2px">[Show/Hide] How to install my ScreamEffect files?</div><div style="margin: 0px; padding: 6px; border: 1px inset;"><div style="display: none;">
  • Open the folder of your game (one way to get there is: start VX > start GameProject > Menu: Game > "Open Game Folder").
  • Once you get there, open the 'Audio' folder.
  • Inside there, you'll find 4 maps (bgm/bms/me/se). Open the map 'SE'.
  • Now we're going to create those new folders (maps). Right click in the map and select from the dropdown-menu: "new > Folder".
  • Now name the folder to the actorsname. So for exaple, if your actors name is 'Frank', the map must be named exactly the same ('Frank').
  • Get inside that map and past all your screams/soundEffects in there and number them correct. (If there's one number missing in a row, the script CAN give errors (if that one is picked out to be played)). Make sure you'll start with 0.
</div></div></div>


Terms and Conditions
Credit me with site, and the script is free for use in NONCOMERCIAL projects.
If anyone want some changes, please pm me or post it here, I'll track the topic.


__________________________
Art from the highest shelf?

Scriptology, scripting podcast



HUD's Request Lobby (multiple hud-scripts)


------------------------------------------------------------------

Random Stuff
OMG, it's Hab!!


This is a crazy drawing application! (by me)

How did I learned to script
QUOTE
Hey pim! I'm the Law G14!

For the past couple of months I've been learning RGSS and I've got the basic stuff down such windows, variables, conditional statements, ect. But, I can't see myself making big scripts such as a jumping system or a side view battle system. I was wondering how you learned to script because I really want to know how to script really well.

Thanks in advance.


Hey there,

Well I don't make battle neither though I can still teach you some things :)...
The way I've learned to script is by reading other scripts for the most part.
I've allways been interested in other peoples work but this time I though I had to try to make something myself...and it worked!!
The most importand thing when you go scripting is (at least in my case) that you want to make something to help an other wich can't script.
You also need to feel the competition that's around in the scripting-community.
Cause, I have to say, if you get pushed to get a sertain request done before an other scripter does, you feel POWERFULL!! :P
So that's an other thing...
You also don't need to be afraid to learn from others or helpfiles.
When I write my scripts, I actualy always have the helpfiles open to look things up I don't know or remember.
Then, you must be calm, cause you need to try the script a lot of times.
When I write a script, I test it after almost every changes.
First I set up the major structure.
Like when I make a window-script or part of a script I start with something like this:
CODE
class Window_Name < Window_Base
def initialize(x,y,width,height)
super(x,y,width,height)
refresh
end

def refresh
self.contents.clear
draw_contents
end

def draw_contents
draw_something(with, some, parameters)
end

def update
refresh if @something != @what_it_should_be
end
end
So that's also very important.
Then, the biggest thing I learned scripting from is TRIAL AND ERROR.
That's the most irritating way to learn something, cause it's more ERROR than TRIAL, but it does the trick realy good.

So that's it how I did it.
Now it's up to you.
Do some requests (if I didn't do it allready :P) and learn from them.

Hope that helped you out a little.
If not, keep your eye on the Scriptology-topic (see my sig) where I'll be updating for my scripting(video)tutorials.
Perhaps they're going to be usefull for you one day ;)


Greatzz,
SojaBird.
Go to the top of the page
 
+Quote Post
   
 
Start new topic
Replies
SojaBird
post Jan 30 2009, 12:53 AM
Post #2


Level 51
Group Icon

Group: Revolutionary
Posts: 1,573
Type: Scripter
RM Skill: Advanced




Oke, thanks for the tip biggrin.gif
Nice to have your support on this one wink.gif
I'll try to make it work.


Greatzz,
SojaBird.


__________________________
Art from the highest shelf?

Scriptology, scripting podcast



HUD's Request Lobby (multiple hud-scripts)


------------------------------------------------------------------

Random Stuff
OMG, it's Hab!!


This is a crazy drawing application! (by me)

How did I learned to script
QUOTE
Hey pim! I'm the Law G14!

For the past couple of months I've been learning RGSS and I've got the basic stuff down such windows, variables, conditional statements, ect. But, I can't see myself making big scripts such as a jumping system or a side view battle system. I was wondering how you learned to script because I really want to know how to script really well.

Thanks in advance.


Hey there,

Well I don't make battle neither though I can still teach you some things :)...
The way I've learned to script is by reading other scripts for the most part.
I've allways been interested in other peoples work but this time I though I had to try to make something myself...and it worked!!
The most importand thing when you go scripting is (at least in my case) that you want to make something to help an other wich can't script.
You also need to feel the competition that's around in the scripting-community.
Cause, I have to say, if you get pushed to get a sertain request done before an other scripter does, you feel POWERFULL!! :P
So that's an other thing...
You also don't need to be afraid to learn from others or helpfiles.
When I write my scripts, I actualy always have the helpfiles open to look things up I don't know or remember.
Then, you must be calm, cause you need to try the script a lot of times.
When I write a script, I test it after almost every changes.
First I set up the major structure.
Like when I make a window-script or part of a script I start with something like this:
CODE
class Window_Name < Window_Base
def initialize(x,y,width,height)
super(x,y,width,height)
refresh
end

def refresh
self.contents.clear
draw_contents
end

def draw_contents
draw_something(with, some, parameters)
end

def update
refresh if @something != @what_it_should_be
end
end
So that's also very important.
Then, the biggest thing I learned scripting from is TRIAL AND ERROR.
That's the most irritating way to learn something, cause it's more ERROR than TRIAL, but it does the trick realy good.

So that's it how I did it.
Now it's up to you.
Do some requests (if I didn't do it allready :P) and learn from them.

Hope that helped you out a little.
If not, keep your eye on the Scriptology-topic (see my sig) where I'll be updating for my scripting(video)tutorials.
Perhaps they're going to be usefull for you one day ;)


Greatzz,
SojaBird.
Go to the top of the page
 
+Quote Post
   

Posts in this topic
- pim321   Actors in Pain   Jan 23 2009, 10:32 AM
- - N2Y   I havent tried it out yet, but one massive suggest...   Jan 23 2009, 11:52 AM
- - pim321   Hey, Thanks for the tip I'll be doing this f...   Jan 23 2009, 12:43 PM
- - The Wizard 007   How pleasantly delicious this is. Nice work pim.   Jan 23 2009, 03:10 PM
- - kaleygatore   QUOTE - RANDOM screams per actor. Let us set up di...   Jan 24 2009, 07:53 AM
- - UltiHaker   Good Good. I do say you should do random screams a...   Jan 24 2009, 03:03 PM
- - pim321   Haha yea, I'll start doing it right now Shou...   Jan 25 2009, 02:23 AM
- - pim321   UPDATE Version 1.5 has the new function to have u...   Jan 25 2009, 03:47 AM
- - Xarak   Hmm... I'm a bit confused. What should each fi...   Jan 25 2009, 08:13 PM
- - jens009   This is like the mini version of Dalissa's Bat...   Jan 25 2009, 10:03 PM
- - pim321   @Xarak Pls read the description on how to install...   Jan 26 2009, 12:24 AM
- - DarkBolo   I don't understand how to make "map...   Jan 26 2009, 04:55 AM
- - pim321   Hey Bolo, I'll explain the procedure Open th...   Jan 26 2009, 06:22 AM
- - DarkBolo   I have done it, but it won't work... I made a ...   Jan 26 2009, 08:11 AM
- - pim321   Hey, Are you sure you named them properly? What t...   Jan 26 2009, 08:38 AM
- - DarkBolo   mp3's. Yeah My actor is named Bolo(so I made m...   Jan 26 2009, 09:23 AM
- - kaleygatore   i tried the script already,it works just fine on n...   Jan 26 2009, 12:26 PM
- - pim321   @Bolo Hey, That's realy weird...It seems that...   Jan 26 2009, 03:01 PM
- - power200   I am also having a problem, like kaley, it won...   Jan 26 2009, 04:46 PM
- - pim321   Mmm well I must say that that script is realy hard...   Jan 27 2009, 01:48 AM
- - DarkBolo   I am using tankentai side battle as fight script, ...   Jan 27 2009, 07:53 AM
- - power200   ah well, thanks for trying Pim.   Jan 27 2009, 03:56 PM
|- - power200   QUOTE (power200 @ Jan 27 2009, 03:56 PM) ...   Jan 28 2009, 03:49 PM
- - pim321   Hey, Oke I tried one more time, though I can only...   Jan 28 2009, 01:18 AM
- - DarkBolo   I Hope you will make version, that will work with ...   Jan 28 2009, 11:46 PM
- - pim321   @Bolo, I realy try...Though it'll take a lot ...   Jan 29 2009, 02:46 AM
- - DarkBolo   We are waiting with finger crossed. I hopy you wil...   Jan 29 2009, 02:56 AM
- - Mr. Bubble   Technically, you can already create "on-hit...   Jan 29 2009, 12:44 PM
- - power200   Oh sweet! thanks for helping him, Mr. Bubble...   Jan 30 2009, 07:41 AM
- - pim321   Hope I get it working Greatzz, SojaBird.   Feb 1 2009, 02:49 PM
- - carbajosa   Cool script Though its not yet compatible to TSBS...   Feb 2 2009, 08:44 PM
- - pim321   Hey and thanks, Nope, still not working with TSBS...   Feb 3 2009, 01:55 AM
|- - power200   QUOTE (pim321 @ Feb 3 2009, 01:55 AM) Nop...   Feb 14 2009, 09:49 PM
- - pim321   Ya know, sorry. But the TSBS is just very poorly w...   Feb 15 2009, 04:42 AM
- - ShinGamix   Very cool. Nice touch This topic is almost 2 year...   Dec 29 2010, 01:06 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: 18th June 2013 - 04:27 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker