[RGSS3 / ACE] Few Functions to Script

Started by ThalliumShine, February 08, 2014, 03:52:52 pm

Previous topic - Next topic

ThalliumShine

Inasmuch as I don't want to bother anyone, I am also desperate for answers how to do the following in scripting:

Speed
- Is there a way to change the speed of animations, attacks or any movement of one actor? For example, if a note tag or a boolean is turned to true?

Drop Rate
- How can I change my drop rate via scripting? For example, if a note tag on an actor exists or if a boolean / variable is turned to true, a new formula of drop rate is applied.

Hit Rate
- Is there a way to change the hit rate of one specific actor?


WhiteRose

These are all some great questions. For your first question, you can change the map movement speed of the player party in general by using the "Move Event" command. If you only want it to apply when a certain actor is leading the party, you could probably set up a parallel process Common Event that checks whether that actor is leading the party (you would need a script snippet to make that check, but it should be easy KK20 would know what it is,) and sets the movement rate accordingly.

As for your second two questions, those are actually both really useful features that unfortunately aren't included in the default RMXP experience, but either of them should be pretty simple to add with a bit of scripting. I wouldn't be surprised if there aren't scripts out there already that help with that kind of thing.

I hope that helps!

KK20

This is RMVXA we are talking about here, something that I don't quite support. If Animations function the same way in RMXP, you don't really have much leg room with changing the speeds (as in you only have normal speed, twice as fast, 1.5x slower, 2x slower...and so forth). You are better off just adding more frames in between the existing frames.

There should be a script for drop rates by now. Not sure about the hit rates, but I wouldn't doubt it. Have you tried searching yet?

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!

WhiteRose

Quote from: KK20 on February 08, 2014, 10:29:10 pm
This is RMVXA we are talking about here


I didn't even notice the RGSS3 tag; I was thinking of RMXP. Sorry about that, KK20.

ThalliumShine

I've seen RMXP and it seems hard to convert into Ace :(

Not that I am new to this scripting stuff (I just learned from a few tut online).

Sadly, I can't find anything that's compatible to RGSS3 as of the moment.