Jump to content


Photo

Shapeshift

effect

  • Please log in to reply
36 replies to this topic

#1 Tsukihime

Tsukihime

    Advanced Member

  • Ace Member
  • 6,291 posts
  • LocationToronto
  • RM Skill - Coder

Awards Bar:

Users Awards

Posted 25 October 2012 - 07:59 PM

Effect: Shapeshift
-Tsukihime

This script allows you to transform a battler into another battler while the effect is active.
An actor can change into another actor, an enemy can change into another enemy.

The battler will gain the skills and commands of the transformed battler while in the new form.
Level does not change. Base stats do not change either.

Use features on your transform state(s) to provide bonuses.

Download

Script: http://db.tt/w6rMpl8J
Required: Effect Manager

Usage

Tag your state with

<eff: shape_shift id>

Where id is the battler ID you want to switch to, depending on whether the target is an actor or enemy.

Edited by Tsukihime, 26 October 2012 - 12:49 PM.

My Scripts. Go here for Bugs and Requests.

himeworks011.png

Like on Facebook: HimeWorks
Follow on Twitter: @HimeWorks

#2 Avanura Seta

Avanura Seta

    Animus User

  • Ace Member
  • 140 posts
  • LocationInaba
  • RM Skill - Designer

Posted 26 October 2012 - 01:32 AM

Great script! This may be of use to me sometime in the future. Keep up the great work. :)

Edited by Avanura Seta, 26 October 2012 - 01:33 AM.

My current project:

Posted Image

#3 dbchest2

dbchest2

    dbchest

  • Ace Member
  • 137 posts
  • LocationUnited States
  • RM Skill - Jack of All Trades

Posted 26 October 2012 - 01:53 AM

can be combined to create awesome limit break skills.
reminiscent of vincent from FF7.

Edited by dbchest, 26 October 2012 - 01:53 AM.


#4 lecode

lecode

    Advanced Member

  • Ace Member
  • 112 posts
  • RM Skill - Coder

Posted 26 October 2012 - 12:35 PM

Nice ;)
Thank you !

*Taking a break*. Since December 2013 


#5 Sana

Sana

    Knight of Hope

  • Ace Member
  • 118 posts
  • LocationVanadux
  • RM Skill - Designer

Posted 27 October 2012 - 09:08 PM

So, I tried using this..I believe I set it up correctly, but it doesn't change the battler graphic on my actor. It gives me the skills for the one I want him to change into, just that the graphic doesn't change. :o
Spoiler

#6 Tsukihime

Tsukihime

    Advanced Member

  • Ace Member
  • 6,291 posts
  • LocationToronto
  • RM Skill - Coder

Awards Bar:

Users Awards

Posted 27 October 2012 - 09:27 PM

Actors don't have battler graphic by default.
You will need to set the new graphics in the actor transform method.

Edited by Tsukihime, 27 October 2012 - 09:28 PM.

My Scripts. Go here for Bugs and Requests.

himeworks011.png

Like on Facebook: HimeWorks
Follow on Twitter: @HimeWorks

#7 whitedahlia

whitedahlia

    Advanced Member

  • Ace Member
  • 142 posts
  • RM Skill - Jack of All Trades

Posted 28 October 2012 - 12:44 PM

does this work with victors animated battlers?

#8 Tsukihime

Tsukihime

    Advanced Member

  • Ace Member
  • 6,291 posts
  • LocationToronto
  • RM Skill - Coder

Awards Bar:

Users Awards

Posted 28 October 2012 - 01:01 PM

I don't know, never tested it there. I don't see why it shouldn't though.
My Scripts. Go here for Bugs and Requests.

himeworks011.png

Like on Facebook: HimeWorks
Follow on Twitter: @HimeWorks

#9 Max W.

Max W.

    The one who chooses netheir Light nor Dark...

  • Ace Member
  • 281 posts
  • RM Skill - Artist

Posted 28 October 2012 - 07:59 PM

This script is not compatible fwith vics animated battles this error will occur
http://imageshack.us...ayjkpcgeui.mp4/
sorry my computer not leting my take a screen shot so I had to make a 2 second video just pasue it after it starts to see the error.
is there any other way to take screen shot without using the prnt screen button?

With the online death off my dear friend Mooshra I stand as the Jack Of all trades that he dreamed to be!

Spoiler

#10 Tsukihime

Tsukihime

    Advanced Member

  • Ace Member
  • 6,291 posts
  • LocationToronto
  • RM Skill - Coder

Awards Bar:

Users Awards

Posted 28 October 2012 - 08:29 PM

Are you specifying a valid actor ID and the actor exists?
My Scripts. Go here for Bugs and Requests.

himeworks011.png

Like on Facebook: HimeWorks
Follow on Twitter: @HimeWorks

#11 Max W.

Max W.

    The one who chooses netheir Light nor Dark...

  • Ace Member
  • 281 posts
  • RM Skill - Artist

Posted 28 October 2012 - 10:10 PM

yes I am I believe I have two characters set fpr vics animated battlers I have one that transfprms into the other I made a demo state for this trasnfomation by placing
<eff: shape_shift 2>
since there are 2 actors there in both id one and two I don;t see why it wouldn't work I equiped my skill with the state so am I doing this wrong?

With the online death off my dear friend Mooshra I stand as the Jack Of all trades that he dreamed to be!

Spoiler

#12 Tsukihime

Tsukihime

    Advanced Member

  • Ace Member
  • 6,291 posts
  • LocationToronto
  • RM Skill - Coder

Awards Bar:

Users Awards

Posted 28 October 2012 - 10:28 PM

That would be it.

Not sure I didn't customize his battle script so maybe there is something more to it but I just tried the basics (without any customization) and it worked fine. Except enemies there was some sort of animation ID error but I don't think that is related.

Edited by Tsukihime, 28 October 2012 - 10:28 PM.

My Scripts. Go here for Bugs and Requests.

himeworks011.png

Like on Facebook: HimeWorks
Follow on Twitter: @HimeWorks

#13 Pikalyze

Pikalyze

    Writing Fanatic

  • Ace Member
  • 136 posts
  • LocationIn a Apple Tree.
  • RM Skill - Writer

Posted 03 November 2012 - 12:52 PM

My new favorite script :3.

Nothing really?


#14 CodenameD

CodenameD

    Creative Crafter

  • Ace Member
  • 9 posts
  • RM Skill - Jack of All Trades

Posted 09 March 2013 - 01:41 PM

Your shape shift script is not working as expected.

 

I've added the following code to the Note on the State I want.

 

<eff: shape_shift 11>
<eff: change_actor_graphic 11 true> 

 11 refers to an actor with a different class with different skills (including the one to remove the state in question).

 

When the character goes into the state, it fails to change class ( I think) and obtain the class's skill (including the one to shape shift back).

 

Other scripts and plugins I've used are -

 

  • (YES) Battle Symphony for side-view battle
  • (Tsukihime) Effect Manager for obvious reasons
  • (Tsukihime / estriole) Change Graphic to change sprite of actors when shape shifting

 

I've attached a demo for you to inspect and tell me if I'm doing it wrong.

Attached Files


Edited by CodenameD, 09 March 2013 - 01:47 PM.


#15 Tsukihime

Tsukihime

    Advanced Member

  • Ace Member
  • 6,291 posts
  • LocationToronto
  • RM Skill - Coder

Awards Bar:

Users Awards

Posted 09 March 2013 - 02:54 PM

I've updated the shapeshift script to copy over character name and index.
It correctly changes class now, and will initialize your skills so that you will get all the skills that you should know.

You don't need the change graphic script anymore.
My Scripts. Go here for Bugs and Requests.

himeworks011.png

Like on Facebook: HimeWorks
Follow on Twitter: @HimeWorks

#16 CodenameD

CodenameD

    Creative Crafter

  • Ace Member
  • 9 posts
  • RM Skill - Jack of All Trades

Posted 09 March 2013 - 10:51 PM

Your updated script is working better now. And the fact that it is now integrated with the change graphic feature is a huge plus. But as it seems, there is a tiny bug.

 

You see, when an actor changes state and reverts back, the actor also unequips any weapon he/she were previously equipped with. This also causes any skills that require an weapon to be disabled upon reverting back.

 

In the attached demo, the default actor is equipped with an axe. After he transforms back, the axe is unequipped for some reason and the skills that depend on the axe are also disabled.

 

I hope you look into it.

 

The attachment contains a demo using the most recent version of your shape shift script as of yet. The modified change graphic script is now removed.

Attached Files


Edited by CodenameD, 09 March 2013 - 10:58 PM.


#17 Tsukihime

Tsukihime

    Advanced Member

  • Ace Member
  • 6,291 posts
  • LocationToronto
  • RM Skill - Coder

Awards Bar:

Users Awards

Posted 09 March 2013 - 11:57 PM

Yes, that is expected. When a girl transforms into a huge dragon it would be normal for her clothes to be ripped apart and when she returns to normal her clothes would be in pieces.

But I have updated the script so that it will remember what you were wearing and then put it back on after the transformation sequence.

There is an issue where if your transformed actor had less HP, when you turn back, your HP is not restored.
I am not really sure if this is an issue or not though. I mean I could always set this as an option, but it's probably easier for developers to figure out how to remember the HP/MP themselves.
My Scripts. Go here for Bugs and Requests.

himeworks011.png

Like on Facebook: HimeWorks
Follow on Twitter: @HimeWorks

#18 Dark Horseman

Dark Horseman

    NPC

  • Ace Member
  • 323 posts
  • RM Skill - Artist

Posted 10 March 2013 - 01:14 AM

When a girl transforms into a huge dragon it would be normal for her clothes to be ripped apart and when she returns to normal her clothes would be in pieces.

 

Oh my.

 

Great script - opens up a whole lot of possibilities. Thumbs up for you sir.



#19 CodenameD

CodenameD

    Creative Crafter

  • Ace Member
  • 9 posts
  • RM Skill - Jack of All Trades

Posted 10 March 2013 - 01:31 AM

The script works absolutely perfect now. Thank you for your fast updates.

 

And yes while it is realistic that the shape-shifter be losing their gear after shape shifting, my concern was weapon dependencies of skills they use. Because after you revert, many of your skills can be pretty useless. Plus you had to reequip everything you unequiped afterwards. All that made shape shifting a bit penalizing for the player.

 

You can also modify the script to make the gear loss optional via a configuration for those seeking to create a more realistic experience.

 

About the regaining HP issue after reverting, you can leave it as it is, since I have no problem with it. Or you can make it optional too. I've chosen to leave it as it is due to possible exploits if the HP is restored:

 

Say an actor has 1000 HP with 400 HP remaining. They shape-shift into something with say- 300 HP and then revert back. Unless further checks are in place, the script will assume the actor to be in full HP and restore their HP- all thousand of it!

 

Besides its quite understandable if you feel weaker after returning to your "Weak" human form.


Edited by CodenameD, 10 March 2013 - 01:34 AM.


#20 Dark Horseman

Dark Horseman

    NPC

  • Ace Member
  • 323 posts
  • RM Skill - Artist

Posted 20 March 2013 - 02:51 PM

I wanted to add a "Berserker" transformation on use of an ability that would drain the TP over time. Has anyone found a method or script to revert the shapeshift once TP reaches 0%, i.e. lose state upon TP=0?


Edited by Dark Horseman, 20 March 2013 - 03:11 PM.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users