How to Reduce Maxspeed for critter?

Chat and ask questions about the RPG Maker Mode here.
User avatar
DrChef
Member
Member
Posts: 60
Joined: February 19th, 2010, 5:30 pm
Name: Luis

How to Reduce Maxspeed for critter?

Postby DrChef » January 30th, 2013, 6:20 pm

Hello, I'm trying to create a monster that shuffles around very slowly.
I know r_char_base_maxspeed can give critters a speed boost, but not reduce their speed to the amount I want. Since this value can't be negative, how would I reduce a critter's speed?
:D

Hirato
Developer
Developer
Posts: 689
Joined: May 30th, 2009, 1:23 pm
IRC Username: hirato

Re: How to Reduce Maxspeed for critter?

Postby Hirato » January 30th, 2013, 8:31 pm

Code: Select all

maxspeed = (40 + bonusmovespeed + deltamovespeed + getattr(STAT_AGILITY) / 4.f) * mul;


So basically, decrease agility...
Or overload them with useless items (try the F_NATURAL flag to prevent them from being picked up).
Or apply a permanent status effect that decreases their speed, easiest to do that via armour.
This is not a url, clicking it is pointless

User avatar
DrChef
Member
Member
Posts: 60
Joined: February 19th, 2010, 5:30 pm
Name: Luis

Re: How to Reduce Maxspeed for critter?

Postby DrChef » January 30th, 2013, 9:18 pm

Great! I just created a "weight" item to slow it down. Thanks.
:D


Return to “RPG Maker Mode”

Who is online

Users browsing this forum: No registered users and 1 guest