OpenRCT2 / OpenRCT2/OpenRCT2

Disable vehicle limits spawns an unreasonable amount of trains by default

Open
#23,637 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
16.2k
Forks
1.9k
Avg merge
1d 20h
Merged PRs (30d)
80

Description

Operating System

Windows 10

OpenRCT2 build

Any

Base game

RollerCoaster Tycoon 2

Area(s) with this issue?

This is a development issue

Describe the issue

The disable vehicle limits cheat is very useful, but for some reason it has always had the side effect that it changes the starting amount of trains to 12, no matter how many actually fit on the station or track. This is very annoying as you'll enable the cheat for one ride, and then be served with a mountain of trains on every ride after that if you don't disable it again. You can reduce it of course, but it's still a nuisance.

I don't know if this was intentional, but to me this feels like a bug and I believe the cheat shouldn't affect the behaviour of default train spawning. If the station fits 2 trains, just spawn 2 and have the ability to go past that manually.

Steps to reproduce

Enable the cheat
Build a custom coaster and see how many trains you get.

Attachments

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce this in OpenRCT2 by enabling the disable vehicle limits cheat, building a custom coaster, and checking the starting train count. Trace the cheat behavior and default train spawning logic to determine why the count becomes 12. Done means the cheat no longer changes the default number of trains, while still allowing the limit to be exceeded manually.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.