Jump to content

Photo
* * * * * 2 votes

Deku Leaf

Item Global FFC

  • Please log in to reply
1 reply to this topic

#1 LordVolcanon

LordVolcanon

    My Goddess

  • Members
  • Real Name:Zecora
  • Gender:Female
  • Location:Everfree Forest
  • Past Nicks:blackbishop89

Posted 28 March 2012 - 09:14 PM

Deku Leaf


Description

This highly customizable collection of scripts allows you to do two things. One you can create gust of wind with it that when you use it on the ground, and these gust can be made to spin link and enemies into the air. You can also use it as a parachute when used in the air.

Screenshots and Demo

Example Quest

Code

Script


Setup

First set your constants. If you don't understand what a constant does. Post here and I'll explain it to you. Second you need to create two items the selectable deku leaf item and a second unselectable passive equipment item "Deku Leaf LTM" that changes his sprite to the gliding sprite. Oh and you must have Expanded Link Tile Modifiers or the graphics will be glitchy when facing up. Now for the arguments of these two items, they are split between two items for easy access. Now to make it spin npcs the npc's attribute 12 must not be 0. If it's 0 it won't be spinnable. So go through all your enemies and set the ones you want to be spinnable to 1. And remember that not all enemy types can be spinnable moldorms for example.

Deku Leaf
  • D0 = the ffc script slot with the GustofWind script.
  • D1 = the initial step speed of the whirlwind.
  • D2 = the sprite of the whirlwind
  • D3 = the sound played when a whirlwind is fired.
  • D4 = the lifespan of the whirlwind.
Deku Leaf LTM
  • D0 = the first of 4 tiles ordered up, down, left, right used to draw the leaf above Link. Divide this number by 10. So tile 1 would be .1.
  • D1 = the cset to use for the leaf tile.
Resources

You will need both std.zh and ffcscript.zh for this to compile and function.

#2 sps999

sps999

    Newbie

  • Members

Posted 22 July 2012 - 12:35 AM

I managed to get the tornado far enough into a solid wall, yet close enough that Link could still get inside it, to pass through the wall. I was also able to get Link stuck completely in a solid block.

Doing these two things weren't easy and took a lot of tries, but if I were to implement this into my game, I would want to make sure these potential sequence-breaking collision issues were fixed.

Very cool item though.

Edit:
Just to give more information, I passed through the wall with Link facing Right.

Edited by sps999, 22 July 2012 - 12:36 AM.




Also tagged with one or more of these keywords: Item, Global, FFC

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users