Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
rgangsta

[RESOLVED][Script] Help with Vampyr Transforming

Question

As some of you may know, I use a SBABS system called Vampyr SBABS 1.2. I also found this really neat script that enables the character to transform into 4 different unique forms. So I was playing my game and I wondered "What if the player is transformed and performs a wallrun?" because the wallrun event changes the character's sprite and since the Transformation changes the player's sprite too, there comes a problem.

What I want to do is make the wallrun event detect whether the player is transformed or not. Agckuu_Coceg helped by suggesting that I use the switch which allows the player to transform, but that didn't help.

In the editor of the demo, open the zombie event to see the condition branch. The rest of the events are to demonstrate the transforming and wallrunnng. :P

 

-Link Deleted-

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

(Cool Battle System)

One method I like to use is to make the player invisible, so this way I won't have to deal with a few crazy event/script stuff if the player has a different sprite. To make the player invisible, you change their Opacity to zero, then back to 255 when you're done with moving through the wall. But if you don't want to do that, then I'll see what I can do.

Share this post


Link to post
Share on other sites
  • 0

Thanks for the idea, but I don't want to do that. I want to give his normal form and transformation for running sprites. Thanks for the system compliment. It's Vlad's script.

Share this post


Link to post
Share on other sites
  • 0

(Thinks of Vlad from Danny Phantom :P) I'll give credit to Vlad for when I use these very interesting scripts.

 

Well if you don't want to use the Opacity idea, then it's off to plan B, Variable (or a Switch, whichever you perfer).

 

You setup a Conditional Branch for "When 'F' button is pressed (Which means the player transformed/untransformed), Variable Transformed becomes a 1 (1 for Transformed, and 0 for un-transforming). So this way, when you perform a wallrun, it'll first check to see if the Transformed Variable is a 1 or a zero, 1 will use the Transformed Running Sprites, and you basically get the idea.

 

Hope this idea helps :)

Share this post


Link to post
Share on other sites
  • 0

It does a lot! I can't believe I didn't think of that. Thanks so much! :P I'm gonna try it tomorrow. :biggrin_002:

Share this post


Link to post
Share on other sites
  • 0

Thanks a whole bunch Nisage. I edited the script just now and put these in lines 110 to 133:

        $game_variables[1] -=1
     else
       $game_variables[1] +=1
       transform_into_wolf

 

Now whenever the player transforms, 1 is added to variable 1 and when the player is untransformed, variable 1 turns to 0. Now I can make wallrunning sprites for both of them. I'm so happy I can cry. emoticon_cry.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...