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

multiple zones #513

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from
Open

multiple zones #513

wants to merge 6 commits into from

Conversation

shipyy
Copy link
Contributor

@shipyy shipyy commented Aug 29, 2022

this is a attempt at the the #403

needs to be tested thoroughly

i tried to PR to the other branch but i got weird conflicts xD, hope making another PR for it is ok

@Bara Bara changed the base branch from master to dev September 6, 2022 20:38
@tslashd
Copy link
Member

tslashd commented Sep 15, 2022

I believe we've tested this with @shipyy and it was working fine but there was no way merge two zones together so the zonetypeid is the same as the zone the new one refers to.

image
The 2 highlighted rows are the same checkpoint zone (CP1 on left side and right side)
highlighted rows could be the wrong ones, but it definitely contains 2 zones which are separated from each other and both link to CP1

Pasting the inserts for these zones so other people can test this:

INSERT INTO `ck_zones` (`mapname`, `zoneid`, `zonetype`, `zonetypeid`, `pointa_x`, `pointa_y`, `pointa_z`, `pointb_x`, `pointb_y`, `pointb_z`, `vis`, `team`, `zonegroup`, `zonename`, `hookname`, `targetname`, `onejumplimit`, `prespeed`) VALUES ('surf_andromeda', 0, 1, 0, -8385, -449, 7391, -7743, 449, 7665, 0, 0, 0, 'Start 0', 'zone_map_start', 'player', 0, 260);
INSERT INTO `ck_zones` (`mapname`, `zoneid`, `zonetype`, `zonetypeid`, `pointa_x`, `pointa_y`, `pointa_z`, `pointb_x`, `pointb_y`, `pointb_z`, `vis`, `team`, `zonegroup`, `zonename`, `hookname`, `targetname`, `onejumplimit`, `prespeed`) VALUES ('surf_andromeda', 1, 2, 0, -13265, -833, -2081, -12321, 833, -1137, 0, 0, 0, 'Start 0', 'zone_map_end', 'player', 0, 260);
INSERT INTO `ck_zones` (`mapname`, `zoneid`, `zonetype`, `zonetypeid`, `pointa_x`, `pointa_y`, `pointa_z`, `pointb_x`, `pointb_y`, `pointb_z`, `vis`, `team`, `zonegroup`, `zonename`, `hookname`, `targetname`, `onejumplimit`, `prespeed`) VALUES ('surf_andromeda', 2, 1, 1, 6575, -4577, -5505, 7217, -3679, -5087, 0, 0, 1, 'bonus 1', 'zone_bonus1_begin', 'player', 0, 260);
INSERT INTO `ck_zones` (`mapname`, `zoneid`, `zonetype`, `zonetypeid`, `pointa_x`, `pointa_y`, `pointa_z`, `pointb_x`, `pointb_y`, `pointb_z`, `vis`, `team`, `zonegroup`, `zonename`, `hookname`, `targetname`, `onejumplimit`, `prespeed`) VALUES ('surf_andromeda', 3, 2, 1, -8129, 1551, -5697, -7489, 2449, -5279, 0, 0, 1, 'bonus 1', 'zone_bonus1_end', 'player', 0, 260);
INSERT INTO `ck_zones` (`mapname`, `zoneid`, `zonetype`, `zonetypeid`, `pointa_x`, `pointa_y`, `pointa_z`, `pointb_x`, `pointb_y`, `pointb_z`, `vis`, `team`, `zonegroup`, `zonename`, `hookname`, `targetname`, `onejumplimit`, `prespeed`) VALUES ('surf_andromeda', 4, 4, 0, -2082.81, 4904.06, 4517.94, -899.824, 6062.19, 3989.7, 0, 0, 0, 'Start 0', 'None', 'player', 1, 250);
INSERT INTO `ck_zones` (`mapname`, `zoneid`, `zonetype`, `zonetypeid`, `pointa_x`, `pointa_y`, `pointa_z`, `pointb_x`, `pointb_y`, `pointb_z`, `vis`, `team`, `zonegroup`, `zonename`, `hookname`, `targetname`, `onejumplimit`, `prespeed`) VALUES ('surf_andromeda', 5, 4, 0, -2101.43, -6093, 4633.3, -736.85, -4927.27, 4022.03, 0, 0, 0, 'Start 0', 'None', 'player', 1, 250);
INSERT INTO `ck_zones` (`mapname`, `zoneid`, `zonetype`, `zonetypeid`, `pointa_x`, `pointa_y`, `pointa_z`, `pointb_x`, `pointb_y`, `pointb_z`, `vis`, `team`, `zonegroup`, `zonename`, `hookname`, `targetname`, `onejumplimit`, `prespeed`) VALUES ('surf_andromeda', 6, 4, 1, 6556.05, 749.617, 1128.45, 6704.86, -873.519, 2188.34, 0, 0, 0, 'Start 0', 'None', 'player', 1, 250);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants