Jump to content

Console - Friction Changing?


Recommended Posts

Sorry if this post seems a little annoying, but i have been trying to find documentation of the ability to change friction values. it was mentioned in the 0.0.5 change log, but i haven't been able to find any reference on how to use it anywhere

https://i.gyazo.com/4c8ff0230380ce6f13ec3f437880f16a.png

what do i have to put to be able to actually change friction? i am on the dev build so it should be on my version of the game

Link to comment

@COASTERGUY246The command should be ' rides set friction ' which you could find where it originated from https://github.com/OpenRCT2/OpenRCT2/pull/3820

But I think a new update broke that command, the update in question is https://github.com/OpenRCT2/OpenRCT2/pull/4176

Will test this and make a issue on GitHub if that's the case

 

Edit; Even tho I reverted back to a older version, I couldn't seem to solve it.. doesn't seem like it's broken

But it looks like the command is something with rides set friction

Edited by Nubbie
  • Like 1
Link to comment

I implemented that command. I didn't document it because I'm not sure where documentation for console commands is supposed to go (I think the help command could do with extending to include descriptions of commands instead of just a list)

The command is "rides set friction <ride index> <friction value>". The appropriate ride index for your ride can be determined by typing "rides list" at the console. This command will loop over every ride vehicle and set the friction to the supplied value; this means it can only be applied once the ride is testing and doing anything that causes the trains to respawn (e.g changing train length) will reset the friction back to default. Lower values mean higher friction, the maximum is 65535, and very low values can sometimes cause bugs, especially in vanilla. Saving before using this command is advisable.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...