Coasters: a few shipped designs still lap too fast or too slow

Open
#342 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp

Research direction

Start by comparing the launch behavior for one-car trains with multi-car and reverse coaster trains, then inspect how station, chain, and brake pushes affect coaster speed and how Ravine’s sleds climb after block brakes. The issue does not name source files or tests; locate the relevant movement and track-push code, then run designs_smoke --strict. Done means the listed designs’ laps are within about 10% of the originals and the strict smoke check passes.

Written by the indexing model from the issue text.

Description

bug

What the player sees

After #333's fix, every shipped design finishes its lap, but a few still run at the wrong pace compared with the original game.

Design rct3++ lap (s) Original lap (s) What happens
Blackhole 18.8 37.2 Launched far too fast overall, though its top speed falls short (18.9 m/s against 25.1)
Ravine 78.2 57.3 Much slower
Zero G 73.2 64.6 Slower
Zipper 62.2 78.8 Faster
Titan 78.0 94.9 Faster
Forgotten Tomb 88.0 108.3 Faster

Leads

  • One-car launched trains fall short of their launch speed. Multi-car trains reach it, and so does the one-car reverse coaster's train. The one-car trains of the drifting coaster, the ball coaster and the extended-train coaster don't:

    Design Launch speed (m/s) Reached (m/s)
    Blackhole 25.1 18.9
    Drifting Dragster 22.5 16.9
    Doubleback 27.8 22.4
    Melting Pot 26.6 23.5
    Tangle 24.5 21.8

    Something in how these cars move loses the launch.

  • Track piece pushes now apply to every coaster, not only water rides. Station, chain and brake pushes may be why Zipper and Titan run fast; check them against their laps.

  • Ravine's sleds are slowed more than in the original on the climbs after its block brakes.

Done when

  • These designs' laps are within about 10% of the original's.
  • designs_smoke --strict still passes every design.
Dominant language
C++
Stars
4
Forks
1
Avg merge
2h 22m
Merged PRs (30d)
156

Getting set up

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.

More from tomast1337/RCT3PlusPlus

All issues in tomast1337/RCT3PlusPlus

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.