Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implements NumberOfDocks and DockingOffset# for BuildingTypes. #790

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

CCHyper
Copy link
Contributor

@CCHyper CCHyper commented Apr 30, 2022

Closes #786

This pull request implements NumberOfDocks and DockingOffset# for BuildingTypes.

NOTE1: This feature currently only applies to the following BuildingTypes;
- Structures with Helipad=yes, where DockingOffset0 adjusts the docking position for aircraft. A NumberOfDocks value greater than 1 has no additional effect at this time.
- Structures with Refinery=yes or Weeder=yes, where DockingOffset0 adjusts the docking position for the harvester. A NumberOfDocks value greater than 1 has no additional effect.

NOTE2: The default docking coord is offset from the center of the building for the following BuildingTypes;
- Refinery=yes is offset by 128 leptons on the x-axis.
- Weeder=yes is offset by 512 leptons on the x-axis, and 256 leptons on the y-axis


[BuildingType] (RULES.INI)
NumberOfDocks=<integer> - The number of docking locations this building has. Defaults to 1 for buildings with Helipad=yes, and 0 for all other buildings.

[Image] (ART.INI)
DockingOffset#=<X,Y,Z> - The coord offset from the center of the building for the respective docking location. This list must contain the same number of entries as defined by NumberOfDocks, with # being replaced by the docking position starting from zero. Each entry defaults to 0,0,0.

@CCHyper CCHyper added the new-feature New feature or request. label Apr 30, 2022
@CCHyper CCHyper requested a review from a team April 30, 2022 23:53
@CCHyper CCHyper force-pushed the feature/ra2/dockingoffset branch from 7727cb6 to abf4a66 Compare May 1, 2022 00:20
@github-actions
Copy link

github-actions bot commented May 1, 2022

This comment is automaticly generated by Nightly.link and allows non-registered users to get download the artifacts for this pull request.

These links are also updated when the pull request is pushed to.

@CCHyper CCHyper force-pushed the feature/ra2/dockingoffset branch 2 times, most recently from d1f4d86 to a554022 Compare May 2, 2022 13:06
@CCHyper CCHyper force-pushed the feature/ra2/dockingoffset branch from a554022 to 3ea99ae Compare September 22, 2022 14:24
@CCHyper CCHyper force-pushed the develop branch 2 times, most recently from 07c9446 to 379970b Compare November 9, 2022 14:53
@CCHyper CCHyper force-pushed the develop branch 3 times, most recently from 48cd2ea to b789478 Compare December 22, 2022 08:32
@CCHyper CCHyper force-pushed the feature/ra2/dockingoffset branch from 3ea99ae to 1856cb7 Compare February 14, 2023 00:09
@CCHyper CCHyper force-pushed the develop branch 3 times, most recently from d649039 to 5a6cb19 Compare February 24, 2023 11:01
@CCHyper CCHyper self-assigned this Mar 28, 2023
@CCHyper CCHyper force-pushed the feature/ra2/dockingoffset branch from 1856cb7 to 381911d Compare December 28, 2023 13:52
@Longshanks1
Copy link

Tested on Freeware TS and the TS Client. The only one currently working on Freeware TS is the Helipad; the Refinery and Waste Facility do not use the offsets for docking. In the TS Client, newly constructed units from the Helipad do follow the DockingOffset values, but when trying to land, they either land on the Helipad itself or stay hovering in the air trying to land at the DockingOffset coords. The Refinery and Waste Facility do not use their docking offsets either

@ZivDero ZivDero force-pushed the develop branch 2 times, most recently from 65abfa3 to 5be9542 Compare September 26, 2024 13:00
@CCHyper CCHyper removed their assignment Oct 7, 2024
@ZivDero ZivDero force-pushed the develop branch 3 times, most recently from 6bb9e1f to 7bec6bb Compare October 17, 2024 22:31
@ZivDero ZivDero force-pushed the develop branch 4 times, most recently from f40cd5a to ce12b49 Compare October 22, 2024 15:52
@ZivDero ZivDero force-pushed the develop branch 2 times, most recently from c3e7349 to 0a8e674 Compare November 27, 2024 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature New feature or request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[New Feature] Allow a DockingOffset to be specified for helipads
2 participants