-
Notifications
You must be signed in to change notification settings - Fork 10
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
base: develop
Are you sure you want to change the base?
Implements NumberOfDocks
and DockingOffset#
for BuildingTypes.
#790
Conversation
7727cb6
to
abf4a66
Compare
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. |
d1f4d86
to
a554022
Compare
a554022
to
3ea99ae
Compare
07c9446
to
379970b
Compare
48cd2ea
to
b789478
Compare
3ea99ae
to
1856cb7
Compare
d649039
to
5a6cb19
Compare
1856cb7
to
381911d
Compare
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 |
65abfa3
to
5be9542
Compare
6bb9e1f
to
7bec6bb
Compare
f40cd5a
to
ce12b49
Compare
c3e7349
to
0a8e674
Compare
Closes #786
This pull request implements
NumberOfDocks
andDockingOffset#
for BuildingTypes.NOTE1: This feature currently only applies to the following BuildingTypes;
- Structures with
Helipad=yes
, whereDockingOffset0
adjusts the docking position for aircraft. ANumberOfDocks
value greater than1
has no additional effect at this time.- Structures with
Refinery=yes
orWeeder=yes
, whereDockingOffset0
adjusts the docking position for the harvester. ANumberOfDocks
value greater than1
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 to1
for buildings withHelipad=yes
, and0
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 byNumberOfDocks
, with#
being replaced by the docking position starting from zero. Each entry defaults to0,0,0
.