RM Skill: Undisclosed
I just recently found out that holding shift allows players to run. This causes a problem for me, I was originally thinking make something like Sprint shoes from FF3 however the dash seems more effective.
My main problem is im going to have enemy touch battles (lack of a better phase??? Whats it really called?) instead of random battles, so that when an enemy touches you combat starts.
Having an unlimited dash allows the player to fly past them with such ease. Is there a way I can make a stamina bar so that if you want to avoid combat you have the option to sprint a few seconds to dodge the enemy. In addition while in towns and such the stamina bar is modified so you can freely roam.
I know that you can disable the dash depending on the maps, but I think it would be cool to have some stamina to help avoid enemies.
Also is there any way I can modify the speed of dash? Im thinking I want to add some items or circumstances that allow you to have more/less stamina and slower/faster dash.
This post has been edited by Icenick99: Apr 1 2012, 07:43 PM
RM Skill: Intermediate
Okay, so I looked into your problem, scrolled all through the damn scripts, no shit every one of them, and read them all. As of know, dashing doesn't have a graphic that it uses at all, it's simply a button that increases player move speed.
Basically what I am saying is as of now, there is no "Quick Fix" to change the dashing animation in the Maker. However, the script that needs to be written should in whole be rather simple. I will look into the matter further, but my advice to you as of now.
Google some basic scripting tutorials, and start working on making a simple script that does the following, in the following order. Once you look into how to script this will all make allot of sense..
>Check if player is dashing or not (Constant check) >Load character sprite / replace player sprite (IE, replace default with dashing sprite.) >Play sprite while dashing is occurring.
That should do it, from what I am reading here in my RGSS2 Ruby tutorial, I won't make it for you, because I can promise you that when you make it yourself, you will feel quite accomplished.
RM Skill: Undisclosed
I have looked for a script and haven't been able to find one.
I think you misunderstood me Mistertoonz, I'm not interested in changing the animation just the speed and adding a condition. I want to add a stamina bar that ideally will appear when you hold shift and dash, after the bar is depleated you cannot sprint until it recovers. The game has dash, however it either works or doesn't, I want it to work with a condition and to save me from a future post here, ideally have the option to increase the speed of dash... Example an item will allow the player to dash even faster then normal.
I just want limited dashing to evade enemies... I haven't played Zelda skyward sword, but apparently it has a stamina bar that when you run you depleate this bar and must wait till it recovers... Or another example is skyrim.
Thanks for the quick replies, I have no idea where to start building a script, I'll try to look around for tutorials... I know nothing however, do you have any suggestions where to begin learning?
This post has been edited by Icenick99: Apr 2 2012, 08:38 AM
Group: Global Mod
RM Skill: Undisclosed
Rev Points: 15
I'm going to be honest with you, stamina bars suck. I hate them. In any case, I thought the shoe idea was much better. Say the character would need to equip them to use them, but that takes up an accessory slot. So if they want to use another accessory (such as a ring that helps with fire damage, or something of the sort), they would need to decide which to sacrifice, the shoes or the ring.
Second, as long as the character walks at a decent speed (normal to slightly above normal), and not like he's trying to keep pace with a turtle, I don't have a problem with eliminating dash.
RM Skill: Undisclosed
I like the sprint shoes idea too, the accessories wouldn't really be a problem I found scripts that allow you to equip more accessories... I do agree that it would not go great when you want to use those epic accessories, however I'm not really that worried I wanted to make accessories more of a way to customize characters rather then put best items here. Or another way I can make them useful is having another effect +agility or even perma-haste.
I find the default movement speed to slow, however I don't want the players out running every monster, in addition I want to keep some monsters movement at a slower pace, having a slime move at faster or fastest looks really dumb...
I didn't even know that dash command was there until a few days ago, I could just remove it but I think I would rather modify it to suit my game better..
Edit: I was even thinking that sprint shoes could allow players to dash, however I still don't want an unlimited dash or at least be able to lower the speed... That's why I want to have complete control and modify the dash feature.
This post has been edited by Icenick99: Apr 2 2012, 10:25 AM
def dash? return false if $game_variables == 0 return false if @move_route_forcing return false if $game_map.disable_dash? return false if vehicle return Input.press?(:A) end
And that would stop dashing when variable 10 (the one I have set up for stamina) reaches 0. Then you just need to have an event that increases your stamina variable by 1 every few frames.
Building off of this, I could try to event this for you, It seems simple,
use a parallel process called Stamina_System. with control swith [STAMINA_SYSTEM_SWITCH] make a loop. LOOP add a CONDITIONAL if button pressed [SHIFT] or whatever the button is. Wait 15 frames (I want 4 stamina per second) control variable [010 STAMINA] -=1 else (Button not pressed, recover stamina) if variable STAMINA < MAX_STAMINA (We don't want infinite stamina) Wait 60 frames (We are going to recover 1 stamina per second) control variable [010 STAMINA] +=1 else We have max stamina so nothing here end branch end branch. repeat above Now if you combine it with what Night_Runner said.. you should have a system that controls stamina now, lets add in a PUNISHMENT if the player runs out of stamina, lets prevent stamina from recovering for..5 seconds
Lets take our previous common event and add in a conditional we want this at the top
if variable [010 STAMINA] == 0 wait 300 frames end branch //This branch will prevent the remaining conditionals to activate, preventing Stamina recovery for 5 seconds // 60Frames / Seconds 60* 5 = 300
if button pressed [SHIFT] or whatever the button is. Wait 15 frames (I want 4 stamina per second) control variable [010 STAMINA] -=1 else (Button not pressed, recover stamina) if variable STAMINA < MAX_STAMINA (We don't want infinite stamina) Wait 60 frames (We are going to recover 1 stamina per second) control variable [010 STAMINA] +=1 else We have max stamina so nothing here end branch end branch.
I'm in class right now so I'll test this when I get back. I'll also clean this up and give you a demo.. I'm still relatively new to eventing. (Though I did make my own Date/Time/Night/Day system with days of week and stuff)
This post has been edited by Pharonix: Apr 23 2012, 06:15 AM
CURRENT WORKS DEMON BLADE - RPGVXA SHINIGAMI - ~12 Pages - 3 chapters complete, 1 in progress. --------------------------------- OTHER WORKS INCANTA-corrupted. INCANTA REDUX - RPGVX - On Hold --------------------------------- LITERARY WORKS
Longer Works ANGEL OF DEATH - Short Story ~ 4 Pages. SHINIGAMI - ~12 Pages - 3 chapters complete, 1 in progress. DEMON BLADE - Book/Novel?- 34 pages - On Hold. FERAL - Short Story, Length: 6 pages], 2nd person Narrative. -R3 Writing Competition #2 - First-Place DARKSPAWN - Book - 3 Pages On Hold RELGEA CHRONICLE - Book - 118 pages DRAKENGHOUL - book - 36 handwritten pages
Poems I KNOW - Poem - 30 Lines
Song Lyrics End of Days - Song- 44 Lines Kids Killing Kids - Song - 94 Lines
-If you want this sig in another language, move to a country that speaks it.-
-Lv 13 Thread Killer
My R3 Writing Corner
X-M-O Story Quoting.
QUOTE (X-M-O @ Jun 19 2012, 02:45 AM)
so what's going on in this thread?
Redd's back and the first thing he does is...
pick my mom up in 15 ...*sigh*
You know it's legit!
Then again, I wrecked the last one...........
Oh ok you can have a pink frosted sprinkled doughnut