[XP] [Blizz-ABS] HP and MP Regeneration + More

Started by AJNR95, February 09, 2012, 08:25:35 pm

Previous topic - Next topic

KK20

What error? The "do not regen" error? I could even post a video of my method. It all works for me.

What do you mean by "it shouldn't contrain any running events"?

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

AJNR95

Quote from: KK20 on February 17, 2012, 06:46:55 pm
What do you mean by "it shouldn't contrain any running events"?


I said that the link of neither Demo within the topic post does not contain anything related to the Running system we are discussing.

Quote from: KK20 on February 17, 2012, 06:46:55 pm
What error? The "do not regen" error? I could even post a video of my method. It all works for me.


It's most likely my setup of the project. I've replaced my Blizz Part 2 with a default if I made any changes to any other lines.
There is no regen error.

Quote from: AJNR95 on February 17, 2012, 07:40:17 am
NoMethodError occurred while running script.
undefined method '[]' for nil:NilClass


I've tried to copy the event you posted in the link. When I shut it off, the game runs. But when I enable it, it pops up after "New Game" or "Continue" is selected on the Main Menu.
Spoiler: ShowHide


by Blizz: Spoilered, because image is 2.6 MB.
by AJNR95: Unspoilered, because fuck you - ¡Viva la Revolución!
by Blizz: Spoilered again, and Banned.

KK20

February 17, 2012, 07:10:36 pm #22 Last Edit: February 17, 2012, 07:25:06 pm by KK20
You went and editted your Blizz ABS Part 2 to exactly the way I wrote it, yes? And did you make sure you wrote $game_variables not $game_variable? I do that from time to time.

Also, changed the eventing a bit:
Spoiler: ShowHide

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

Taiine

February 17, 2012, 09:02:35 pm #23 Last Edit: February 17, 2012, 09:09:02 pm by Taiine
Yes that is the event system I used, what I spoke of there is not 'the exact event set up' but just the idea for it laid out better. I could have started it 'if not sprinting regen' for all sakes, it was just to give the idea of what I was getting at, NOT 'this is the exact set up I did for the event'.

So to put it BETTER
Check player SP
Is run key being pressed?
If yes drain SP, speed player up
If no regen SP, player walks
If SP is at zero, stop player from running, regen sp


But whatever. as said I gave up on this idea as I could not find any fix or work around for why SP would just flat out stop regening once it reached whatever value you set to 'stop player running'. I hoped one of these regens could maybe be edited for it.

Just accept that players may likly just always run to get to places faster :P

KK20

But I have the fix. Why can't you just try it? Here, I even have a download link: http://dl.dropbox.com/u/58874459/BLIZZ%20ABS.rar

...I am persistent when it comes to proving a point.

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

Taiine

February 17, 2012, 10:18:59 pm #25 Last Edit: February 17, 2012, 10:35:27 pm by Taiine
Issues with yours:
Can remove the speed controls for player, BABS already handles that

SP will drain even if player is standing still, there is no check to make sure the player is MOVING while the run key is pressed.
Player can still run when SP reaches zero.
SP does regen even after it hits zero, but it don't matter as there isn't any check to disable run when it hits zero.
SO regens very fast, even if running was disabled, you could tap the key or hold it down to a jiddery but still faster speed.

Heres what I have pretty much.

Spoiler: ShowHide


Yellow part is the issue. It's what tells it if SP is at or below whatever value, disable run, so you can not run at all, else, turn running back on.

The rest of it checks if the direction key and if you are running are on. is so drain sp, if not slowly regen. This way SP wont just drain even if you're standing still have have the run key held.

the issue is with the disable check, the part marked in yellow. WITH IT if you run and stop WITH OUT fully draining sp, it will regen just fine. IF you drain it fully, to what ever value you have it set, SP will not regen at all.

Yet with out it, so can drain to zero, and fully regen, but the play can run all the time, because there is nothing to tell them not to.

I made a topic about this way back in 10. x.x

edit: yep heres the OLLDDDDD topic. http://forum.chaos-project.com/index.php/topic,7766.0.html
I gave up on it, as nothing was really helping and people were not grasping what my issue was and trying to offer fix's for things I wasn't having issues with.

if you wish to resume, do it there I guess, so we arn't taking over this fellas topic :P  didn't mean to.

AJNR95

Sorry for the extreme gap of time. But about 2 weeks ago, KK20's run script runs perfectly.

After this post, I'm uploading a compressed un-encrypted file of the progress in my little game.
New features: "Energy" Bar (similar to Metal Gear Solid's Psyche), Recharge View-able Skills, and
losing Energy when running.

Notable features: The "Energy" Bar replaces the SP of the game. It recharges when out of battle
or not taking any damage, it decreases when you are in battle or take damage, much like your
HP but recharges much faster. The Strength, Dexterity, Agility and Intelligence are NOT displayed
in the game, Health and Energy values are NOT displayed in the game.

Notes on File: All 3 Compressed Folders are large only because of the mp3s within it, I'm sorry
for that inconvenience. New features will be elaborated on the topic post.
Spoiler: ShowHide


by Blizz: Spoilered, because image is 2.6 MB.
by AJNR95: Unspoilered, because fuck you - ¡Viva la Revolución!
by Blizz: Spoilered again, and Banned.

edmondedi

All links are broken :(
Can somebody send me the script or the demo? :/

KK20

Don't think anyone here has a copy. Is there some feature from this that you wanted?

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!