Help - Search - Members - Calendar
Full Version: Actors in Pain
RPG RPG Revolution Forums > Scripting > Script Submissions > RGSS2-Submissions
SojaBird
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
Click to view attachment


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.
N2Y
I havent tried it out yet, but one massive suggestion:
- RANDOM screams per actor. Let us set up different screams for one actor that play out randomly. It will sound awfully repetetitive otherwise.
SojaBird
Hey,

Thanks for the tip smile.gif
I'll be doing this for the next version wink.gif


Greatzz,
SojaBird.
The Wizard 007
How pleasantly delicious this is. Nice work pim.
kaleygatore
QUOTE
- RANDOM screams per actor. Let us set up different screams for one actor that play out randomly. It will sound awfully repetetitive otherwise.


i agree...., tongue.gif
oh n thanks pim,nice script anyway.good job happy.gif
Michael
Good Good.
I do say you should do random screams as well!
Make more interesting for the game and not boring arrhh and such.
SojaBird
Haha yea, tongue.gif I'll start doing it right now wink.gif
Should be up in a few minutes.


Greatzz,
SojaBird.
SojaBird
UPDATE

Version 1.5 has the new function to have up to 100 different sound effects, that'll play randomly.



Greatzz,
SojaBird.


keep requesting wink.gif
Xarak
Hmm... I'm a bit confused. What should each file look like? I think I get the part that you need a separate folder for each character in the Audio/SE folder, but what should the file look like? Is one of the following correct? Or am I doing it wrong?
"Ralph-0"
"Ralph - 0"
"Ralph -0"
"- 0"
"0"
"-0"
(all without quotes) I'm confused.
Anyway this looks like a nice script if I can get it to work.
Taking a quick look at the script... it should be something like the last 3 in the list above, no? I've tried all those and I haven't quite gotten it to work. Is it incompatible with Tanketai 3.3 w/ ATB 1.1 (the BS I'm using)?
jens009
This is like the mini version of Dalissa's Battle Cry from RMXP by Derrvulfman except that in the RMXP version, there are other cries that can be implemented. (ie: when using a skill, defending, using an item, retreating, attacking, dying, etc. For both enemies and actors)
Good job Pim. Maybe you should look into that script so you can get an idea of what to add on to this script of yours. (Although, I talked with Dervvulfman about translating his script, he said he's planning to do it in the future.)

In any case, good job making this.
SojaBird
@Xarak

Pls read the description on how to install the game.
I'm sure you're going to get it working.


@jens
Well I realy didn't knew there was a script like that smile.gif Nice.
Anyway, thanks for the tip.


Greatzz,
SojaBird.
DarkBolo
I don't understand how to make "map" for this screams...
SojaBird
Hey Bolo,

I'll explain the procedure smile.gif
  • 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.


That's it.
Hope you'll get it now wink.gif


Greatzz,
SojaBird.
DarkBolo
I have done it, but it won't work... I made a folder with the name of my player in the Audio/SE. I have named effects from 0-3.
SojaBird
Hey,

Are you sure you named them properly?
What type of files are you Effects?


Greatzz,
SojaBird.
DarkBolo
mp3's. Yeah My actor is named Bolo(so I made map called Bolo) it won't work, so I looked at my database and my char sprite is called $Bolo(side battler's), so I have changed it, but still no resoults.
kaleygatore
i tried the script already,it works just fine on normal battle system
it can play SE (ogg,wav,mp3) as many as i want,and yes,play out randomly biggrin.gif

but when i put the script together with the Tankentai SBS,the script play the SE by default only huh.gif
(based on game Database[F9]/system tab > actor damage SE) rolleyes.gif
no crash , and no error.

i think The TSBS has its own method to play the SE on every different actor's action
i wonder if you can make this script works with TSBS,coz the TSBS is really great battle system thumbsup.gif
oh n how bout adding some more, not only for the actors but also for the enemies?? laugh.gif
sorry if i asking to much,it will be awesome if both script works tongue.gif

oh n thanks again for the v1.5 script, thumbsup.gif
SojaBird
@Bolo
Hey,

That's realy weird...It seems that you're useing an other script, since you use a side battler (as kaley said).
I think that's what makes it not work smile.gif

I'll try to get it working.
Though, perhaps you can also tell me what scripts u're using


@Kaley
Hey,

Thanks for the tip.
I think I can find the script myself, though since I'm lazy...could you direct me to the script u're using (A)

The request you've made, "Enemies in Pain"..It's actualy pretty doable biggrin.gif
I'm not sure, but with some little adjustments, the script can serve both for actors and enemies (since they both run the hp_damage (wich is used to play the SE)).
I'll add the function as soon as I can smile.gif

Thanks




Greatzz,
SojaBird.
power200
I am also having a problem, like kaley, it won't work with tankentai. I'm using version 2.99 with ATB. Here it is http://www.rpgrevolution.com/forums/index....=Tankentai+ATB*
But instead of it just using the default sound, when a battle starts the screen just stays black.
The music continues to play, but nothing happens, just music and a black screen. sleep.gif
SojaBird
Mmm well I must say that that script is realy hard to understand.
I just can't seem to find the place where the sound is executed...

Anyway,
I'll try one more time.
After that, it's just bad luck.


Greatzz,
SojaBird.
DarkBolo
I am using tankentai side battle as fight script, you know, My heroes are animated, but enemies are from VX.
power200
ah well, thanks for trying Pim.
SojaBird
Hey,

Oke I tried one more time, though I can only get a sound be played when a enemy is hit...sorry can't get it working.
Anyway, "Enemies in Pain" will be out soon.


Greatzz,
SojaBird.
power200
QUOTE (power200 @ Jan 27 2009, 03:56 PM) *
ah well, thanks for trying Pim.

DarkBolo
I Hope you will make version, that will work with tankentai side battle.
SojaBird
@Bolo,

I realy try...Though it'll take a lot of my time, since the complexety of that script.
Anyway,


Greatzz,
SojaBird.
DarkBolo
We are waiting with finger crossed. I hopy you will be able to do it.
Mr. Bubble
Technically, you can already create "on-hit" sounds with only the sideview configuration, but it requires intermediate knowledge on how to customize that script.

Unfortunately, too many people don't take the time learn how to customize the configuration for themselves.

But if pim wants to make his script compatible, creating an ailas for "pop_damage(target, obj, action)" method and have it run sounds in there.

class Scene_Battle < Scene_Base
def pop_damage(target, obj, action)
SojaBird
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.
power200
Oh sweet!
thanks for helping him, Mr. Bubble!
and thanks for trying so hard to make the script work, pim. laugh.gif
SojaBird
smile.gif
Hope I get it working


Greatzz,
SojaBird.
carbajosa
Cool script biggrin.gif
Though its not yet compatible to TSBS..
Thanks for making this script~ Ive been searching a kind of script for ages.

I have a suggestion tho if you dont mind :3
How bout an actor screams something when he/she attacks.. not just in pain but also in attacking or doing skills~
that would be cool :3
SojaBird
Hey and thanks,

Nope, still not working with TSBS.
Your suggestions are always welcome smile.gif
Yea that could be cool, those more sounds.
It shoudn't take that much time.


Greatzz,
SojaBird.
power200
QUOTE (pim321 @ Feb 3 2009, 01:55 AM) *
Nope, still not working with TSBS.

Pity, what a pity.. mellow.gif
SojaBird
Ya know, sorry.
But the TSBS is just very poorly with supporting other scripts.

Perhaps I'll try in some time again wink.gif


Greatzz,
SojaBird.
ShinGamix
Very cool. Nice touch

This topic is almost 2 years old. Don't necropost unless you have a bug report. ~Kread
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.