Changing the speed of 'Gather Followers'

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,265
Reaction score
11,648
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,573
Reaction score
6,496
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,600
Reaction score
1,931
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,265
Reaction score
11,648
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,600
Reaction score
1,931
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 Profile Posts

Hello I buyed RPG Maker VX Ace a long ago and I want to use it again but in the meantime I changed my pc but I lost the paper with my product key on so I can't use RPG maker again... someone can help me please ? or there is no hopes ?:'( ( I have a bad english I'm sorry )
I was away this days here in the forum but it was for a good cause!
The trailer of the demo of Luke Inn is on youtube and I am so happy!
I need to see the bugs of the game but I am happy that I have new content to show!

The last part of the modern interior will be ready soon. This will be a B-tile. With interior items for the kitchen, bathroom, toilet and storage room.
This frantic shooting ARPG plugin for MZ looks really great. Here is the link to a post from the official Japanese RPG Maker forum.
We start in 5 minutes!

Forum statistics

Threads
102,941
Messages
996,119
Members
134,393
Latest member
CheemsBurbger
Top