Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

How to Reduce Maxspeed for critter?

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

How to Reduce Maxspeed for critter?

Post by DrChef »

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?

Post by Hirato »

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?

Post by DrChef »

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