Gravity in sideview areas
EDIT: Obsolete! Sorry, but this script is of no use to you now.
Mario and Metroid quest makers rejoice! Sideview gameplay is now more feasable than ever!
With this script, Link (and currently only Link) will fall toward the bottom of the screen. If there is an unwalkable combo in the way, Link will come to rest on it. Link can jump toward the top of the screen to advance to higher platforms.
ZScript code. Attach this to a screen's FFC to enable gravity in that room.
Sample quest. B button to jump.
Change the jumping/falling physics by altering the three arguments (and by artificially increasing Link's walking speed.)
Re: Gravity in sideview areas
The quest wont open, it sais 'Zelda-W has encountered a problem and needs to close' whenever i try to open it.
and if i try to load the scriopt in Zquest it sais 'unable to phrase instruction 1 from script the error returned was invaled instruction the command was (gravity) (,in sidescrolling)
O_o what is this supposed to mean?
Re: Gravity in sideview areas
Requires a file called STD.zh which comes with beta 14.
Re: Gravity in sideview areas
I just got beta14 and it still sais the same exact thing.
Re: Gravity in sideview areas
... wow... this is purely awesome.
I just tried it, and although you might be able to pull off one or two bugs, they're too minor to matter in anyways really. Now you really could make the Adventure of Link quest!
Know what was freaking cool though? I jumped and did a downstab (Errr, downslash rather) on the wizzrobe. That was freaking awesome!
Best script ever made up to date. Hmm... I wonder if you could pull off random encounters using scripting? That'd be enough for a FF/Zelda style quest!
Re: Gravity in sideview areas
Please tell me how you got it to work! It doesnt work for me, even with beta14. How did you get it to work?
Re: Gravity in sideview areas
How do you change the button to press to jump? I want it so you press up to jump.
Re: Gravity in sideview areas
Quote:
Originally Posted by
zeldafan500
Please tell me how you got it to work! It doesnt work for me, even with beta14. How did you get it to work?
Here's how to load the script up in ZQuest:
* You don't use "Import FFC script". You use "Compile ZScript".
* If you're using OS X ZC, you need to store std.zh in the package itself.Right-click ZQuest, choose "Show Package Contents", and then copy-paste the std.zh file into the window (dragging won't work.)
Re: Gravity in sideview areas
(im using windows) Ok i did that now how do i actually make it work? It still plays like it does without the script.
Re: Gravity in sideview areas
Ahhh...
...not to insult your intelligence or anything, but each room of your quest must have an FFC with that script assigned to it.
(Either that, or make an FFC in the starting room with that script and the Carry Over bit.)
EDIT: Oh, yeah, you need to set the initial arguments for the FFCs. I used 0.3 for d0, 3 for d1 and 5 for d2.