Reon-Eclispe
Member
Hi, I've been in need of a dash script and have found like 5 different ones made by different people, but all of them are tied to other scripts, change sprites, have no limit, or lack the visual stamina bar feature I need (and some other stuff). it's hard to explain directly, I'll just break it down. The best example is the diablo 2 stamina system except this one doesn't toggle and you can't use potions.
~Detailed Description~
â–º Hold a button to dash (Left Shift would be nice), this would simply increase movement speed to 4*
â–º It will utilize a dash level system in which the max stamina points increase with each level, and some other things
- at dash level 1 you have 100 stamina points*
â–º Dash Leveling up can be done by calling a method (via an event or another script)
â–º Have not decided on a straight forward amount to increment the stamina points and replenish rates per level, testing will be needed, but for now a level up will do the following: *
- stamina_points = stamina_points * 1.25
- stand_replenish_rate = stand_rep_rate * 1.25
â–º your stamina will always deplete at a rate of 20 points/s regardless of level*
â–º If you don't move your stamina bar replenishes at a rate with respect to your dash level
- at dash level 1 it replenishes at a rate of 5 points a second (5 point/s) *
- NOTE: Of course, when dashing make sure it doesn't replenish, but if the player is holding the dash button while standing still it will replenish normally
â–º If you walk your stamina bar replenishes 1/4 as fast as standing still *
- walk_replenish_rate = stand_replenish_rate / 4
- so for level 1 it would be 5/4 (1 point/s)
â–º Stamina bar will be pretty much like any other stat bar in the game (but doesn't show any numbers), it will show up on the top left corner about 15 pixels from the top and left of the screen
- it could be moved/hidden by modifying variables through a script call in an event (for cut scenes, world map, crippled, etc...)
- colors could be similar to the color I have in the example.
- the bar should be drawn the same way an HP/MP bar is drawn (or nicer then that if you feel creative)
â–º If the player hits 0 stamina then he gets penalized:
- unable to dash for 20 seconds; however replenishes stamina normally.
- moves slower for 20 seconds (speed 2)
- stamina bar color changes to red for 20 seconds
Note: I guess it's because were on the temporary host or whatever, but the '-' are sub-points and are supposed to be indented a little to show that... Just a heads-up.
* These can be hard coded but have them in variables so I can change them easily if necessary.
Note 2: All variables should be integers, if using doubles in the formulas then we can type cast the integer and then let the stuff after the decimal get truncated.
~Example picture~
Yea it sucks, anyways we can draw the bar using RGSS right?
~Other Scripts~
â— SDK 1.5
â— AMS R4 [Update #2]
◠AutoLife Skill by シムナフ
â— Limit Break -SDK- v1 by SephirothSpawn
â— Particle Engine -SDK- v2 by Near Fantastica
◠Ring Menu Release #1 (Enhanced By Dubealex) by 和希
â— View/Sound Range v2 by Near Fantastica
â— Weapon Unleashed
â— Path Finding v1 by Near Fantastica
â— Distance Checking by DrakoShade
â— Quest Log by coolmariner98 and Jaberwocky
â— SBS v2.1xp (Atoa) by Enu
I am aware there are newer releases of a lot of these scripts but I have tried updating most of them and it has lead to problems or me having to modify over 500 events because the the way to use the script was changed. So far I have not run into any issues with them and probably will not since I have used them extensively in my project.
Thanks!