A lil' bit of help for Transformation

WikeOfBE

Umm... yeah
Member
Joined
Jun 24, 2014
Messages
6
Reaction score
3
First Language
SRB/ENG
Primarily Uses
So I want transformation to be like this:

- Player uses Skill in battle/ out of battle

- That skill gives him state (in this case - Super Saiyan)

- That state will stay if player wants

- But sprite must change (in this case - to a Super Saiyan)

Is there a way to do that? To change sprite after battle as much as a player wants it (if possible with an animation)

I tried via creating alt. actor, but I dont know how conditions work
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
Default battles do not have a sprite, so you have to be using a custom battle script to get a sprite displayed in battle.


Yes, there might be solutions - but they depend on what battlescript you're using, because each of the solutions I've heard of is for a different battlescript (and not all battlescripts have a compatible other script to solve this).


Please link us to the battlescript you're using, and then we can give you an answer - without that link the answer is impossible.
 

Ashton

Veteran
Veteran
Joined
Jun 9, 2014
Messages
129
Reaction score
21
First Language
English
Primarily Uses
There is a simple solution to this. First, as you have done, you create an alternate actor. Then you call a common script that swaps the actor (I'd suggest a large fancy animation to distract the audience since in-battle this means the original actor runs off-screen and the alternate runs back in their place) and the new actor has a different battle sheet set up. You can even include dialogue and other events in the common event)

Keep in mind though you will have an issue with XP though, unless you turn on XP sharing (don't remember the specific checkbox but it's in the game settings or system DB tab) then the main/alt character will end up with a different level than each other (and can end up with the "powered up" character being so week he's useless as the game progresses)
 

YoraeRasante

Veteran
Veteran
Joined
Jun 6, 2014
Messages
1,643
Reaction score
420
First Language
Portuguese
Primarily Uses
RMMV
My sugestion is, instead of another actor, creating another class and changing the original actor's class, then changing his charset.
 

Ashton

Veteran
Veteran
Joined
Jun 9, 2014
Messages
129
Reaction score
21
First Language
English
Primarily Uses
My sugestion is, instead of another actor, creating another class and changing the original actor's class, then changing his charset.
That's going to depend on the battle system he's using, if he can choose different sprites in mid-battle based on class...

- But sprite must change (in this case - to a Super Saiyan)
It would certainly be possible in the default system to simply change the graphic and class back and forth, but the battle system is what's going to really dictate what has to be done.
 

WikeOfBE

Umm... yeah
Member
Joined
Jun 24, 2014
Messages
6
Reaction score
3
First Language
SRB/ENG
Primarily Uses
The classic scripted battle engine - YEA:

http://yanflychannel.wordpress.com/rmvxa/battle-scripts/ace-battle-engine/

To make it more clear, I want face of character (in battle/menu) to change, and when battle is over, sprite of actual moving character becomes different, until time has passed (that is, State has expired)

I know I can easily change face when it comes to dialog
 
Last edited by a moderator:

Ashton

Veteran
Veteran
Joined
Jun 9, 2014
Messages
129
Reaction score
21
First Language
English
Primarily Uses
The classic scripted battle engine - YEA:

http://yanflychannel.wordpress.com/rmvxa/battle-scripts/ace-battle-engine/

To make it more clear, I want face of character (in battle/menu) to change, and when battle is over, sprite of actual moving character becomes different, until time has passed (that is, State has expired)

I know I can easily change face when it comes to dialog
I'm using Yanfly's engine too, but I've not played around with transformation since I don't have battle sheets completed for the only character with a transformation option... but I doubt you can change battlers mid-battle without changing actors (and honestly, I don't think you can do class-based battlers, I think it's purely actor-based) likewise to change the sprite on the map-screen you'd need to change actors.
 

WikeOfBE

Umm... yeah
Member
Joined
Jun 24, 2014
Messages
6
Reaction score
3
First Language
SRB/ENG
Primarily Uses
Yeah, I just thought there is Script that would allow to select Common Events when specified State is activated, that way I could easily do it.
 

Ashton

Veteran
Veteran
Joined
Jun 9, 2014
Messages
129
Reaction score
21
First Language
English
Primarily Uses
Yeah, I just thought there is Script that would allow to select Common Events when specified State is activated, that way I could easily do it.
Common events can be triggered a number of ways, including battle events (character dropping below xHP for example), Items, and skills. The problem is that just changing a class will not change  a sprite, you'll have to change out the whole actor.
 

WikeOfBE

Umm... yeah
Member
Joined
Jun 24, 2014
Messages
6
Reaction score
3
First Language
SRB/ENG
Primarily Uses
Common events can be triggered a number of ways, including battle events (character dropping below xHP for example), Items, and skills. The problem is that just changing a class will not change  a sprite, you'll have to change out the whole actor.
So I can trigger it by using skill? Cause you know, in Events in 3rd tab there is possibility to Change Sprite and I did it, just need to trigger it by Skill/State

So I already changed graphics and everything, just tell me how do I trigger it by getting a desired Character State?

EDIT: I realized you can do it with Skills/Items, but I really need to do it with States
 
Last edited by a moderator:

Ashton

Veteran
Veteran
Joined
Jun 9, 2014
Messages
129
Reaction score
21
First Language
English
Primarily Uses
So I can trigger it by using skill? Cause you know, in Events in 3rd tab there is possibility to Change Sprite and I did it, just need to trigger it by Skill/State

So I already changed graphics and everything, just tell me how do I trigger it by getting a desired Character State?
o_O have you actually tested it in-battle? As I said AFAIK the battler is set by the actor, not the class... (but if you got it to work, then congrats, Hakuna matatta!)

Personally I'd try to avoid states (skills/items are easier to handle) but... go into the troops tab and the battle events add a loop to check for "If Actor X has State Inflicted" then call the event(s) you want.

keep in mind though that this has to be done for each group unless you use a script to call a common event in all battles (I think yanfly has one, not sure, I don't have a need for it, but I read about it in another post)
 

WikeOfBE

Umm... yeah
Member
Joined
Jun 24, 2014
Messages
6
Reaction score
3
First Language
SRB/ENG
Primarily Uses
THANK YOU ALL! I DID IT!

So, I made two common events (SuperSayianGoku / Changeback) and State "Super Saiyan"! Then I made Skills with name as same as Common Event, connected it all together, works fine !!

WORKS PERFECT IN BATTLE!
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,860
Messages
1,017,040
Members
137,569
Latest member
Shtelsky
Top