Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Multitool fix#3433

Merged
Tensuko merged 27 commits intomainfrom
3379-bug_sp-multiple-tools-broken
Sep 19, 2024
Merged

Multitool fix#3433
Tensuko merged 27 commits intomainfrom
3379-bug_sp-multiple-tools-broken

Conversation

@pvaiko
Copy link
Contributor

@pvaiko pvaiko commented Sep 15, 2024

  • Not backwards compatible, meaning you'll have to regenerate multitool courses
  • Symmetric lane change moved to the generator settings
  • Shows the actual course of the vehicle, depending on the position selected in the HUD
  • Multiplayer may not yet work.

pvaiko and others added 14 commits September 15, 2024 07:03
Generate single-vehicle headlands and multi-width rows.
Generate single-vehicle headlands and multi-width rows.
Works without islands now.
No savegame, no multiplayer
- Redo symetric helpmenu into switching lanes with new example
- Explain the new multitool course under multitool and convoy

Co-authored-by: Tensuko <Tensuko@users.noreply.github.com>
Re-added after accidentally deleted.
@pvaiko pvaiko linked an issue Sep 15, 2024 that may be closed by this pull request
@pvaiko pvaiko self-assigned this Sep 16, 2024
pvaiko and others added 6 commits September 17, 2024 06:59
GitHub Copilot AI often wrong, never in doubt.
- Fixed hud setting not responding correctly to the course generation
- Added onChange callback to the laneoffset setting
if vehicle then
local course = vehicle:getFieldWorkCourse()
if course and course:getMultiTools() > 1 then
vehicle:getFieldWorkCourse():setPosition(vehicle:getCpLaneOffsetSetting():getValue())
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why go to the vehicle:getCpLaneOffsetSetting(), laneOffset is a member of this class.

@Tensuko Tensuko merged commit 8e50413 into main Sep 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG_SP] Multiple tools broken

3 participants