Changing the speed of 'Gather Followers'

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
I've been looking at the default script Game_Follower to see if it was obvious where the speed of gathering was defined, because I want them to be gathered at a slightly slower speed than default. However, there isn't anything that a scripting idiot like me can home in on, as line #43 just refers to real_move_speed

I have a snippet from @Trihan which adjusts real_move_speed to reduce the speed of dash,
Code:
Game_CharacterBase.class_eval do
  def real_move_speed
    @move_speed + (dash? ? 0.8 : 0)
  end
end
and I'm wondering if there might be something similar for gathering followers.

Any help would be appreciated.
Thanks.
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,592
Reaction score
6,522
First Language
Indonesian
Primarily Uses
RMVXA
AFAIK, follower move speed inherits from the player movement speed. So, if you change the player movement speed temporarily, it should also change the follower move speed temporarily.

I don't use followers so I'm not sure how accurate is that.
 
  • Like
Reactions: Kes

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,604
Reaction score
1,959
First Language
English
Primarily Uses
RMMV
Code:
def real_move_speed
    @move_speed + (dash? ? 0.8 : (self.is_a?(Game_Follower) && $game_player.followers.gathering?) ? YOUR MOD VALUE HERE : 0)
  end
 
  • Like
Reactions: Kes

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
@TheoAllen Thank you for the suggestion. I thought of doing that, but then I would have to be able to determine if the player is walking or dashing each and every time so as to be able to put the speed back to the player's preference after, which would get a bit tricky, and probably tiresome as well.

@Trihan That does it. They no longer look utterly manic. Thank you. Your help is much appreciated.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,604
Reaction score
1,959
First Language
English
Primarily Uses
RMMV
I'm always here for you, Kes. <3
 
  • Like
Reactions: Kes

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,569
Latest member
Shtelsky
Top