Z3 Style Swimming
Overview
Creator:
Timelord
Added: 04 May 2014
Tags:
Global
Downloads: 56
|
View Script
Download Example (862.23 KB) |
Information
This is a global function, and a boolean, used together, to allow the player to 'paddle', by pressing the B button, when swimming, speeding up movement, as in The Legend of Zelda: Triforce of the Gods (Link to the Past)'.
Description Setup Reviews Comments
Timelord
Posted 22 May 2014 - 12:24 PM
No worries there. I have a policy of placing any completed script package in the database, with a.qst example.
(I'm more of a good thing that I read every thread in the scripting forums; as I doubt that many people even saw your request.)
If you want to adjust the speed of paddling, these valuyes control it:
Link->Y -= 2;
Link->Y += 2;
Link->X -= 2;
Link->X += 2;
I don't recall if I commented that code, but I chose a value that seemed best. The number is the number of tiles that Link will move, not the number of pixels; and I don;t know if float values (e.g. 1.5) will work, as I don;t remember if ZC will accept float values for Link-Position actions, but you can try them, if you wish.
(I'm more of a good thing that I read every thread in the scripting forums; as I doubt that many people even saw your request.)
If you want to adjust the speed of paddling, these valuyes control it:
Link->Y -= 2;
Link->Y += 2;
Link->X -= 2;
Link->X += 2;
I don't recall if I commented that code, but I chose a value that seemed best. The number is the number of tiles that Link will move, not the number of pixels; and I don;t know if float values (e.g. 1.5) will work, as I don;t remember if ZC will accept float values for Link-Position actions, but you can try them, if you wish.



